Hi
I got a matrix file from running fastANI, it is lower-triangle matrices. Now I want to create a tree from it, so first I run pairwise_identities_to_distance_matrix.py trying to convert it to phylip format. Following is my code:
However, I got the error message:
Convert FastANI distances to PHYLIP matrix
Traceback (most recent call last):
File "pairwise_identities_to_distance_matrix.py", line 94, in
main()
File "pairwise_identities_to_distance_matrix.py", line 52, in main
cluster_2 = parts[1]
IndexError: list index out of range
Can anyone please help me explain what goes wrong?
How should I fix it?
###################################################################
I think I figured it out. I should use the output file directly, instead of the matrix file.
Hi I got a matrix file from running fastANI, it is lower-triangle matrices. Now I want to create a tree from it, so first I run pairwise_identities_to_distance_matrix.py trying to convert it to phylip format. Following is my code:
However, I got the error message: Convert FastANI distances to PHYLIP matrix
Traceback (most recent call last): File "pairwise_identities_to_distance_matrix.py", line 94, in
main()
File "pairwise_identities_to_distance_matrix.py", line 52, in main
cluster_2 = parts[1]
IndexError: list index out of range
Can anyone please help me explain what goes wrong? How should I fix it? ################################################################### I think I figured it out. I should use the output file directly, instead of the matrix file.
Thanks. Limin