amkozlov / raxml-ng

RAxML Next Generation: faster, easier-to-use and more flexible
GNU Affero General Public License v3.0
374 stars 62 forks source link

Assertion fails when building consensus tree #143

Closed BenoitMorel closed 1 year ago

BenoitMorel commented 1 year ago

Hi Alexey,

I am running the following command:

raxml-ng --threads 1 --tree trees.newick --consense STRICT

and I get the following error:

raxml-ng: /data/morelbt/github/pargenes/raxml-ng/src/bootstrap/ConsensusTree.cpp:78: virtual bool ConsensusTree::compute_support(): Assertion `node->data' failed.
Aborted

Any idea of what could have gone wrong?

The file trees.newick contains 3 trees:

(((ENSPPAP00000014420:0.100000,ENSNLEP00000045783:0.100000):0.100000,ENSPANP00000046451:0.100000):0.100000,((ENSGGOP00000003262:0.100000,ENSP00000372160:0.100000):0.100000,ENSPTRP00000081358:0.100000):0.100000,((((((ENSMMUP00000024023:0.100000,ENSCSAP00000014233:0.100000):0.100000,ENSMICP00000043595:0.100000):0.100000,ENSMFAP00000031134:0.100000):0.100000,ENSTGEP00000006314:0.100000):0.100000,ENSCJAP00000005527:0.100000):0.100000,ENSPPYP00000010359:0.100000):0.100000);
((((((ENSNLEP00000045783:0.100000,ENSCSAP00000014233:0.100000):0.100000,ENSPPAP00000014420:0.100000):0.100000,ENSPANP00000046451:0.100000):0.100000,(ENSPPYP00000010359:0.100000,(((ENSMICP00000043595:0.100000,ENSMMUP00000024023:0.100000):0.100000,(ENSMFAP00000031134:0.100000,ENSTGEP00000006314:0.100000):0.100000):0.100000,ENSCJAP00000005527:0.100000):0.100000):0.100000):0.100000,ENSP00000372160:0.100000):0.100000,ENSGGOP00000003262:0.100000,ENSPTRP00000081358:0.100000);
(ENSPANP00000046451:0.100000,((((ENSPPYP00000010359:0.100000,((((ENSPPAP00000014420:0.100000,ENSNLEP00000045783:0.100000):0.100000,ENSPTRP00000081358:0.100000):0.100000,ENSP00000372160:0.100000):0.100000,ENSGGOP00000003262:0.100000):0.100000):0.100000,ENSCJAP00000005527:0.100000):0.100000,((ENSMICP00000043595:0.100000,ENSMMUP00000024023:0.100000):0.100000,ENSCSAP00000014233:0.100000):0.100000):0.100000,ENSMFAP00000031134:0.100000):0.100000,ENSTGEP00000006314:0.100000);

Thanks! Benoit

amkozlov commented 1 year ago

fixed in master