Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OBITools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • 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
  • OBITools
  • Issues
  • #41

Closed
Open
Opened Feb 19, 2019 by Tania Valdivia-Carrillo@taniavaldiviac

Error when running Ecotag

I am getting an error when I try to run ecotag, the error goes like:

MacBook: taniavc$ ecotag -t ~/data/TAXA/nodes -R ~/data/DABA/Teleostei_mito.fasta S1_seeds_nonsingleton.fasta > S1.ecotag.fasta
Reading taxonomy dump file...
List all taxonomy rank...
Indexing taxonomy...
Indexing parent and rank...
Adding scientific name...
Adding taxid alias...
Adding deleted taxid...
Reading reference DB ...  : 304600
Traceback (most recent call last):
  File "/Users/taniavc/miniconda3/bin/ecotag", line 346, in <module>
    taxonlink[seqid]=int(seq['taxid'])
  File "src/obitools/_obitools.pyx", line 263, in obitools._obitools.BioSequence.__getitem__
  File "src/obitools/_obitools.pyx", line 217, in obitools._obitools.BioSequence.getKey
KeyError: 'taxid'

Info: Inside ~/data/TAXA/nodes I have: citations.dmp, division.dmp, merged.dmp, nodes.dmp, delnodes.dmp, gencode.dmp, names.dmp. I constructed my DB from Genbank, and its a Fasta file. My S1_seeds_nonsingleton.fasta is the result of the previous Obitools steps.

Any ideas for what I am doing wrong? Thanks!

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: obitools/obitools#41