Closed pyongheng closed 1 year ago
Hi,
Can you post the command you run?
Hi I used this command.
/home/y/yong-phua/AvP/avp classify -i /flash/HusnikU/Phua_2/AI_20/fasttree_nexus/ -t /flash/HusnikU/Phua_2/AI_20/fasttree_tree_results.txt -f /flash/HusnikU/Phua_2/AI_20/sample.classification_ingroup_Metazoa.txt -c config.yaml -o /flash/HusnikU/Phua_2/AI_20
Thanks, most likely there is a tree file that is producing the error. In order to pinpoint the tree responsible, can you add the following line in the classify.py and rerun as previously. The last tree printed before failing should be the one.
for gene in tree: #line 94
print(tree[gene]) # add this line
if type[gene] == "COMPLEX": #line 95
Then if you want you can send the tree in my personal email to further troubleshoot.
Edit: fixed typo
Hi, I am not too sure how to read the output of the file. it seems to be one repeated line. I've attached the log. classify.log
Sorry I made an error
change print(tree)
to print(tree[gene])
Hello GDKO, Any updates on the cause of this IndexError issue? I ran into an identical error with avp classify and found the problematic tree using the print(tree[gene]) code suggested above. I can email you this tree if you would like another example.
Hi @jmayoral1,
If you can send me the tree via email that would be great!
Thanks
Hi, I am getting an error when running downstream analysis, classify. I tried using both sample.classification_ingroup_Metazoa.txt and a custom classification file. Evaluate works fine.