Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #373

Open
sandipandrils opened this issue May 22, 2023 · 1 comment
Open

IndexError: list index out of range #373

sandipandrils opened this issue May 22, 2023 · 1 comment

Comments

@sandipandrils
Copy link

I am trying to work on a genome to analyze with checkm with the following commands

checkm lineage_wf -x fa Galaxy80-[GCA_009932715.2_ASM993271v2_genomic.fna].fasta ../CheckM-output/

Got the following error:[2023-05-22 17:57:32] INFO: CheckM v1.2.2
[2023-05-22 17:57:32] INFO: checkm lineage_wf -x fa Galaxy80-[GCA_009932715.2_ASM993271v2_genomic.fna].fasta ../CheckM-output/
[2023-05-22 17:57:32] INFO: CheckM data: /home/sandipan/Work/Anindita/Checkm/
[2023-05-22 17:57:32] INFO: [CheckM - tree] Placing bins in reference genome tree.

Unexpected error: <class 'IndexError'>
Traceback (most recent call last):
File "/home/sandipan/anaconda3/envs/checkm/bin/checkm", line 856, in
checkmParser.parseOptions(args)
File "/home/sandipan/anaconda3/envs/checkm/lib/python3.9/site-packages/checkm/main.py", line 979, in parseOptions
self.tree(options)
File "/home/sandipan/anaconda3/envs/checkm/lib/python3.9/site-packages/checkm/main.py", line 141, in tree
binFiles = self.binFiles(
File "/home/sandipan/anaconda3/envs/checkm/lib/python3.9/site-packages/checkm/main.py", line 106, in binFiles
binFile = files[1]
IndexError: list index out of range

Anyone can help. I am new to this. The test worked fine.

@nelsonruth11
Copy link

You have to specify a directory of genomes instead of a single file. See #346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants