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

DiMHepy.py: IndexError: list index out of range #1

Open
hackerzone85 opened this issue Sep 19, 2021 · 0 comments
Open

DiMHepy.py: IndexError: list index out of range #1

hackerzone85 opened this issue Sep 19, 2021 · 0 comments

Comments

@hackerzone85
Copy link

Dear Dr Triboli Luca,
While running DimHepy, from pyani conda env, i am facing the following problem

(pyani) dir $ python /home/hacker/DiMHepy/DiMHepy.py -i dimhepy_input -o dimhepy_pyani_image -oss dimhepy_pyani_image/test.png -s -d -ignDiag
pyani is working, please wait
pyani has finished, now SoftStar is working
Traceback (most recent call last):
  File "/home/hacker/DiMHepy/DiMHepy.py", line 84, in <module>
    percentageIdentityMatrix, nameList = MatrixFromFile(percentageIdentityFileName)
  File "/home/hacker/DiMHepy/DiMHepy.py", line 33, in MatrixFromFile
    nameList[-1] = nameList[-1][:-1]
IndexError: list index out of range

The input directory contains tab files generated from pyani result

(pyani) dir$ ls -lh dimhepy_input/
total 260K
-rwxrwxrwx 1 hacker hacker 63K Sep  5 04:51 ANIb_alignment_coverage.tab
-rwxrwxrwx 1 hacker hacker 34K Sep  5 04:51 ANIb_alignment_lengths.tab
-rwxrwxrwx 1 hacker hacker 63K Sep  5 04:51 ANIb_hadamard.tab
-rwxrwxrwx 1 hacker hacker 61K Sep  5 04:51 ANIb_percentage_identity.tab
-rwxrwxrwx 1 hacker hacker 30K Sep  5 04:51 ANIb_similarity_errors.tab
(pyani) dir$ ls -lh dimhepy_pyani_image/
total 0
-rwxrwxrwx 1 hacker hacker   3 Sep 19 21:50 ANIm_alignment_coverage.tab
-rwxrwxrwx 1 hacker hacker   3 Sep 19 21:50 ANIm_alignment_lengths.tab
-rwxrwxrwx 1 hacker hacker   3 Sep 19 21:50 ANIm_hadamard.tab
-rwxrwxrwx 1 hacker hacker   3 Sep 19 21:50 ANIm_percentage_identity.tab
-rwxrwxrwx 1 hacker hacker   3 Sep 19 21:50 ANIm_similarity_errors.tab
-rwxrwxrwx 1 hacker hacker 216 Sep 19 21:50 nucmer_output.tar.gz

input files
ANIb_alignment_coverage.csv
ANIb_alignment_lengths.csv
ANIb_hadamard.csv
ANIb_percentage_identity.csv
ANIb_similarity_errors.csv

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

1 participant