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
  • #32

Closed
Open
Opened Apr 20, 2017 by Philippe Bordron@pbordron

obisilva fails with --ssu option

Obisilva fails when trying to download silva data with the --ssu option (with --ref or --parc option).

(OBITools-1.2.10) obisilva --ssu --ref
Traceback (most recent call last):
  File "/usr/local/genome2/OBITools-1.2.10/export/bin/obisilva", line 319, in <module>
    sequrl,taxurl,options.ecopcroutput = silvaURLS(options)
  File "/usr/local/genome2/OBITools-1.2.10/export/bin/obisilva", line 190, in silvaURLS
    taxurl = taxonomy[taxfile]
KeyError: 'tax_slv_ssu_nr_128.txt.gz'

It seems that no file tax_slv_ssu_nr_128.txt, tax_slv_ssu_nr_128.txt.gz or tax_slv_ssu_nr_128.gz exist in http://ftp.arb-silva.de/release_128/Exports/taxonomy/

Obisilva works with the --lsu option.

Edit:

As Obisilva try to get a tax_slv_ssu_nr_128.txt file whitout --nr option, the problem seems to lie there. Editing Obisilva with the attached patch seems to solve the issue.

obisilva.py.patch

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