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

Startcol error #97

Open
GillNdhlovu opened this issue Feb 2, 2022 · 1 comment
Open

Startcol error #97

GillNdhlovu opened this issue Feb 2, 2022 · 1 comment

Comments

@GillNdhlovu
Copy link

==== Scoary started ====
Command: /Users/nondumisondhlovu/opt/anaconda3/bin/scoary -g gene_presence_absence.csv -t case.csv -s 15
Reading gene presence absence file
CRITICAL:
Traceback (most recent call last):
File "/Users/nondumisondhlovu/opt/anaconda3/lib/python3.8/site-packages/scoary/methods.py", line 359, in Csv_to_dic_Roary
header[startcol]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/nondumisondhlovu/opt/anaconda3/lib/python3.8/site-packages/scoary/methods.py", line 208, in main
Csv_to_dic_Roary(genes,
File "/Users/nondumisondhlovu/opt/anaconda3/lib/python3.8/site-packages/scoary/methods.py", line 361, in Csv_to_dic_Roary
sys.exit("The startcol (-s) you have specified does not seem to "
SystemExit: The startcol (-s) you have specified does not seem to correspond to any column in your gene presence/absence file.
The startcol (-s) you have specified does not seem to correspond to any column in your gene presence/absence file.

@AdmiralenOla
Copy link
Owner

Hi @GillNdhlovu . Sorry that I am only replying to this now.

My guess is you are not using a gene presence/absence file from Roary? You then have to manually set the number of the column (startcol) where the actual gene presence/absence data starts. In Roary this column number is 15, but it that number will be something else if you are not using Roary. If you are not able to tell yourself, perhaps you can post the first few rows of your file here so that I might be able to help you.

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