When trying to test out the assembly_mags subworkflow with the SRA zymo samples (ones used in the bakeoff paper) the program errored out with the following.
Command exit status:
1
Command output:
Bakta v1.11.4
Options and arguments:
input: /dodo/am503/Somatem/work/dd/cad486bd411765b7832f9ec7096a09/mock20_hiq100k/output_bins/SemiBin_0.fa.gz
db: /home/dbs/bakta_db/db, version 6.0, full
.... more stuff ...
File "/dodo/am503/micromamba/other-envs/env-a8006fb594b943adc55c130fa07e500c/lib/python3.11/site-packages/bakta/features/orf.py", line 25, in detect_spurious
orf = orf_by_aa_digest[hit.name.decode()]
^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
Work dir:
/dodo/am503/Somatem/work/e7/47ac02624e085bb29a8dedc38f6f7e
full info at: assembly_mags_bakta_error_nextflow.log
- This occurred after I had made changes to singlem version in the environment.yml and changed the path to the singlem db in the nextflow.config.
- The run kept crashing at that step due to dbs (but lets figure that out later). since I used a manually downloaded DB instead.
- Here is the singlem pipe environment.yml that led it to work for me (in
agm_assem branch too) ; using this new_agm_singlem_environment.yml on path modules/local/singlem/pipe/environment.yml
name: singlem_pipe
channels:
- conda-forge
- bioconda
- defaults
channel_priority: strict # why strict?
dependencies:
- singlem=0.20.3
## found in the branch>might be a newer version of testing?
dependencies:
# - singlem=0.20.3 # old version: needed to downgrade to work?
- python=3.12
- singlem=0.19.0
- tqdm=4.66.5
I attempted the fix here oschwengers/bakta#424 but to no avail.
All testing was performed on branch agm_assem publishing for debugging right after this is posted.
When trying to test out the assembly_mags subworkflow with the SRA zymo samples (ones used in the bakeoff paper) the program errored out with the following.
full info at: assembly_mags_bakta_error_nextflow.log
agm_assembranch too) ; using this new_agm_singlem_environment.yml on pathmodules/local/singlem/pipe/environment.ymlI attempted the fix here oschwengers/bakta#424 but to no avail.
All testing was performed on branch
agm_assempublishing for debugging right after this is posted.