Fail to assign sequences in ecotag (AttributeError: 'bytes' object has no attribute 'name')
Dear OBITools developers,
I am working on a metabarcoding project using OBITools 3. I have aligned the paired reads, assigned the reads to tags, and denoised the data. I have also prepared the reference database (embl143).
However, I meet the following error when running ecotag
shuang@ollie1:/work/ollie/shuang/metabarcoding/bill.obidms/VIEWS$ ls bill_aligned_reads.obiview bill_identified_sequences.obiview bill_cleaned_metadata_sequences.obiview bill_reads1.obiview bill_cleaned_sequences.obiview bill_reads2.obiview bill_dereplicated_sequences.obiview bill_tagfile.obiview bill_good_sequences.obiview bill_unidentified_seqs.obiview shuang@ollie1:/work/ollie/shuang/metabarcoding/bill.obidms/VIEWS$ srun obi clean_dms /work/ollie/shuang/metabarcoding/db/gh_embl143.obidms srun: job 10322485 queued and waiting for resources srun: job 10322485 has been allocated resources 2021-03-16 10:58:13,093 [clean_dms : INFO ] obi clean_dms 2021-03-16 10:58:13,144 [clean_dms : INFO ] Done. shuang@ollie1:/work/ollie/shuang/metabarcoding/bill.obidms/VIEWS$ srun obi ecotag -m 0.97 --taxonomy /work/ollie/shuang/metabarcoding/db/gh_embl143.obidms/TAXONOMY/ncbi_tax_12_20 -R /work/ollie/shuang/metabarcoding/db/gh_embl143.obidms/VIEWS/gh_embl143_db_97.obiview bill_cleaned_sequences.obiview bill_embl143_assigned_sequences srun: job 10322486 queued and waiting for resources srun: job 10322486 has been allocated resources 2021-03-16 10:58:42,432 [ecotag : INFO ] obi ecotag Traceback (most recent call last): File "/global/AWIsoft/bio//OBItools/3.0.0/bin/obi", line 62, in <module> config[root_config_name]['module'].run(config) File "python/obitools3/commands/ecotag.pyx", line 67, in obitools3.commands.ecotag.run AttributeError: 'bytes' object has no attribute 'name' srun: error: prod-0257: task 0: Exited with exit code 1 srun: Terminating job step 10322486.0
Could you help me with that? Thanks in advance.