Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OBITools3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • OBITools
  • OBITools3
  • Issues
  • #98

Closed
Open
Opened Mar 16, 2021 by Sichao Huang@steffie11

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: obitools/obitools3#98