You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed https://github.com/bluenote-1577/sylph/wiki/Incorporating-taxonomic-information-into-sylph-with-sylph%E2%80%90tax to profile against GTDB220 and my own MAGs. However, I got this error when running sylph-tax:
Reading metadata: ['GTDB_r220', '../n620_taxonomy.tsv'] ...
Traceback (most recent call last):
File "Software/miniconda3/envs/sylph-0.6.1/bin/sylph-tax", line 120, in
main()
~~~~^^
File "Software/miniconda3/envs/sylph-0.6.1/bin/sylph-tax", line 117, in main
args.func(args, config)
~~~~~~~~~^^^^^^^^^^^^^^
File "Software/miniconda3/envs/sylph-0.6.1/bin/sylph-tax", line 21, in taxonomy_command
sylph_to_taxprof.main(args, config)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "Software/miniconda3/envs/sylph-0.6.1/lib/python3.13/site-packages/sylph_tax/sylph_to_taxprof.py", line 54, in main
taxonomy = spl[1].rstrip() + ';t__' + accession
~~~^^^
IndexError: list index out of range
I'm wondering if you have any idea what might be causing this error. I double checked that my taxonomy file does not include "t__STRAIN". However, many of my MAGs were novel at genus or species level (with g__;s__ for gtdb classification). I'm not sure if this might be the reason and if so should I modify the taxonomy file to manually assign ids to the unassigned genus/species rank?
The text was updated successfully, but these errors were encountered:
I followed https://github.com/bluenote-1577/sylph/wiki/Incorporating-taxonomic-information-into-sylph-with-sylph%E2%80%90tax to profile against GTDB220 and my own MAGs. However, I got this error when running sylph-tax:
Reading metadata: ['GTDB_r220', '../n620_taxonomy.tsv'] ...
Traceback (most recent call last):
File "Software/miniconda3/envs/sylph-0.6.1/bin/sylph-tax", line 120, in
main()
~~~~^^
File "Software/miniconda3/envs/sylph-0.6.1/bin/sylph-tax", line 117, in main
args.func(args, config)
~~~~~~~~~^^^^^^^^^^^^^^
File "Software/miniconda3/envs/sylph-0.6.1/bin/sylph-tax", line 21, in taxonomy_command
sylph_to_taxprof.main(args, config)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "Software/miniconda3/envs/sylph-0.6.1/lib/python3.13/site-packages/sylph_tax/sylph_to_taxprof.py", line 54, in main
taxonomy = spl[1].rstrip() + ';t__' + accession
~~~^^^
IndexError: list index out of range
I'm wondering if you have any idea what might be causing this error. I double checked that my taxonomy file does not include "t__STRAIN". However, many of my MAGs were novel at genus or species level (with g__;s__ for gtdb classification). I'm not sure if this might be the reason and if so should I modify the taxonomy file to manually assign ids to the unassigned genus/species rank?
The text was updated successfully, but these errors were encountered: