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

index out of range error #59

Open
kleigeb opened this issue Mar 20, 2018 · 5 comments
Open

index out of range error #59

kleigeb opened this issue Mar 20, 2018 · 5 comments

Comments

@kleigeb
Copy link

kleigeb commented Mar 20, 2018

Getting the following error when trying to run SISRS with the test data provided:

748768 total variable sites (alignment.nex)
Traceback (most recent call last):
  File "/software/SISRS-1.6.2/libexec/sisrs/get_alignment_Memory.py", line 243, in <module>
    numbi=alignment.numsnps()
  File "/software/SISRS-1.6.2/libexec/sisrs/get_alignment_Memory.py", line 40, in numsnps
    if c[1][1]==1:
IndexError: list index out of range
get_alignment.py failed

I ran the following command from the test data directory to produce the command:

$ /software/SISRS-1.6.2/bin/sisrs sites -g 1745690 -p 24

Let me know if there's any more info I can provide to help find a resolution. Thanks.

@BobLiterman
Copy link
Collaborator

To clarify so that I can try to replicate, you're using the test data from here?

https://github.com/rachelss/SISRS_test_data

@kleigeb
Copy link
Author

kleigeb commented Mar 20, 2018 via email

@BobLiterman
Copy link
Collaborator

Alright, dove into the code and found what could have been the offending line. I was able to replicate your error, and then remove it. Clone the new code from GitHub and give it a shot?

Thanks for the heads up!

@kleigeb
Copy link
Author

kleigeb commented Mar 20, 2018 via email

@kleigeb
Copy link
Author

kleigeb commented Mar 21, 2018 via email

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