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

--selftest failure of binary distribution on linux #11

Open
rrnewton opened this issue Dec 15, 2016 · 2 comments
Open

--selftest failure of binary distribution on linux #11

rrnewton opened this issue Dec 15, 2016 · 2 comments

Comments

@rrnewton
Copy link
Owner

rrnewton commented Dec 15, 2016

Stefanie Hartmann reported this failed test output of the binary distribution:

../software/phybin-0.3.x86_64_linux --selftest
### Failure in: 0:3:annotateWLabLists      
expected: ["A","B","C","D"]
 but got: ["D","C","B","A"]
### Failure in: 0:4:normalize1             
expected: "(C, D, E, (A, B))"
 but got: "(E, D, C, (B, A));"
### Failure in: 0:5:normalize2A            
expected: "(C, D, E, (A, B))"
 but got: "FullTree   NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 2,\n                                                   NTLeaf (StandardDecor 0.0 Nothing) 3,\n                                                   NTLeaf (StandardDecor 0.0 Nothing) 4,\n                                                   NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 0,\n                                                                                           NTLeaf (StandardDecor 0.0 Nothing) 1]]"
### Failure in: 0:6:normalize2B            
expected: "(C, D, E, (A, B))"
 but got: "FullTree   NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 2,\n                                                   NTLeaf (StandardDecor 0.0 Nothing) 3,\n                                                   NTLeaf (StandardDecor 0.0 Nothing) 4,\n                                                   NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 0,\n                                                                                           NTLeaf (StandardDecor 0.0 Nothing) 1]]"
### Failure in: 0:7:normalize3             
expected: "(((BB, BJ)), (MB, ML), (RE, (SD, SM)))"
 but got: "FullTree   NTInterior (StandardDecor 0.0 Nothing) [NTInterior (StandardDecor 0.0 Nothing) [NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 0,\n                                                                                                                                   NTLeaf (StandardDecor 0.0 Nothing) 1]],\n                                                   NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 5,\n                                                                                           NTLeaf (StandardDecor 0.0 Nothing) 6],\n                                                   NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 4,\n                                                                                           NTInterior (StandardDecor 0.0 Nothing) [NTLeaf (StandardDecor 0.0 Nothing) 2,\n                                                                                                                                   NTLeaf (StandardDecor 0.0 Nothing) 3]]]"
### Error in:   3:bipTreeConversion         
./tests/t3_consensus/cluster1_284_alltrees.tr: openFile: does not exist (No such file or directory)
### Error in:   4:t3                        
./tests/t3_consensus/cluster1_284_consensus.tr: openFile: does not exist (No such file or directory)
### Error in:   5:t4                        
./tests/t4_consensus/cluster1_16_consensus.tr: openFile: does not exist (No such file or directory)
### Error in:   6:t5                        
./tests/t5_consensus/cluster1_35_consensus.tr: openFile: does not exist (No such file or directory)
Cases: 31  Tried: 31  Errors: 4  Failures: 5
@alexweisberg
Copy link

alexweisberg commented Dec 18, 2016

I also get this error using the precompiled linux executable when I run the selftest.

The program also exits with errors if I try to run it with my dataset anyway:
`phybin --namesep=_ --graphbins --tolerant -v ./*tre
...
Number of input tree files: 636
Number of VALID trees (correct # of leaves/taxa): 636
Total tree nodes contained in valid trees: 15349
Average branch len over valid trees: 1.3280990778664684e-2
Max/Min branch lengths: (27.903559695134344,0.0)
Time to compute distance matrix: 15.033477s
Clustering using method UPGMA
[finished] Wrote full dendrogram to file dendrogram.txt
Sanity checked dendrogram of size: 636
[async] writing dendrogram as a graph to dendrogram.dot
[finished] Wrote contents of each cluster to cluster.txt
[finished] Wrote representative (consensus) trees to cluster
consensus.tr
Next start the time consuming operation of writing out graphviz visualizations:
[finished] Wrote visual representations of consensus trees to cluster
.pdf
Waiting for 2 asynchronous tasks to finish...

phybin: bipsToTree: Internal error! No match for bip: fromList [62,63] out is
[(fromList [0],NTLeaf () 0),(fromList [1],NTLeaf () 1),(fromList [2],NTLeaf () 2),(fromList [3],NTLeaf () 3)]
and remaining bips 0
when processing orig bip set:
fromList [fromList [62,63]]`

Despite the output text, the only output files are dendrogram.txt and distance_matrix.txt

@alexweisberg
Copy link

Just to update this, I also compiled Phybin 0.3 from source on a mac (the pre-compiled mac 0.3 version dies with "Killed 9" on El Capitan) and it gives the same error message on --selftest.

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