khyox / recentrifuge

Recentrifuge: robust comparative analysis and contamination removal for metagenomics
http://www.recentrifuge.org
Other
86 stars 7 forks source link

recentrifuge.rank.UnsupportedTaxLevelError: Unknown tax level section #15

Closed oatesa closed 5 years ago

oatesa commented 5 years ago

Bug report

Bug summary

error running rcf similar to prev subcohort f'Unknown tax level {_rank}') recentrifuge.rank.UnsupportedTaxLevelError: Unknown tax level section

Only works using old nodes&names

Running Recentrifuge

Command line

/home/recentrifuge/recentrifuge-master/rcf -f /home/600219/Classification/barcode01_classification.out -e FULL



#### Data

centrifuge classification.out file

### Actual outcome

<!--The output produced by the above code, which may be a screenshot, console output, etc.-->

File "/home/recentrifuge/recentrifuge-master/recentrifuge/taxonomy.py", line 40, in __init__
    self.read_nodes(nodes_file)
  File "/home/recentrifuge/recentrifuge-master/recentrifuge/taxonomy.py", line 82, in read_nodes
    f'Unknown tax level {_rank}')
recentrifuge.rank.UnsupportedTaxLevelError: Unknown tax level section

### Expected outcome

<!--If this used to work in an earlier version of Recentrifuge, please note the version it used to work on-->

### Versions 
<!--Please specify your platform and versions of the relevant libraries you are using:-->
  * Operating system:
  * Python version:
  * Recentrifuge version: 
  * Release of Centrifuge, LMAT, CLARK, Kraken, etc. (version used to generate the input data):
  * Pandas version (if applicable):
  * Other libraries (if applicable): 
khyox commented 5 years ago

Hi @oatesa, Thank you for your bug report. That problem should be corrected since version v0.28.8 (April 11); the most current version is v0.28.10. Which version of recentrifuge are you using? Thanks.

oatesa commented 5 years ago

Many thanks for getting back to me, we must have missed the update apologises for taking up you time. All working fine now, thank you for the swift response

Bw

Angela

From: Jose Manuel Martí notifications@github.com Sent: 15 June 2019 00:56 To: khyox/recentrifuge recentrifuge@noreply.github.com Cc: Angela Oates A.Oates@hull.ac.uk; Mention mention@noreply.github.com Subject: Re: [khyox/recentrifuge] recentrifuge.rank.UnsupportedTaxLevelError: Unknown tax level section (#15)

Hi @oatesahttps://github.com/oatesa, Thank you for your bug report. That problem should be corrected since version v0.28.8 (April 11); the most current version is v0.28.10. Which version of recentrifuge are you using? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/khyox/recentrifuge/issues/15?email_source=notifications&email_token=ALJQVP2OM67AKIIKXPWRO53P2QV2BA5CNFSM4HXZWRR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYLIFQ#issuecomment-502314006, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJQVPZG2IHQDZS3O3MIABLP2QV2BANCNFSM4HXZWRRQ.

khyox commented 5 years ago

Thank you for your feedback. I am closing the issue.