amkozlov / raxml-ng

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

error in ancestral reconstruction #98

Closed pnatsi closed 4 years ago

pnatsi commented 4 years ago

Hi,

I am trying to run the ancestral state reconstruction in raxml-ng, however I get the following error:

raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/src/optimize/pll_optimize.c:1548: recomp_iterative_multi: Assertion xguess[p] >= xmin && xguess[p] <= xmax' failed. raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/src/optimize/pll_optimize.c:1548: recomp_iterative_multi: Assertionxguess[p] >= xmin && xguess[p] <= xmax' failed. raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/src/optimize/pll_optimize.c:1548: recomp_iterative_multi: Assertion `xguess[p] >= xmin && xguess[p] <= xmax' failed.

Any ideas what could it be? Should I post it in google group better?

Paschalis

pnatsi commented 4 years ago

and sometimes I get this error:

raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/libs/libpll/src/parse_utree.y:366: fill_nodes_recursive: Assertion index < array_size' failed. raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/libs/libpll/src/parse_utree.y:366: fill_nodes_recursive: Assertionindex < array_size' failed. raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/libs/libpll/src/parse_utree.y:366: fill_nodes_recursive: Assertion index < array_size' failed. raxml-ng: /home/alex/hits/raxng-release/libs/pll-modules/libs/libpll/src/parse_utree.y:366: fill_nodes_recursive: Assertionindex < array_size' failed.

the only difference between the runs is that I used different guide tree with the --tree option

pnatsi commented 4 years ago

I managed to run the analyses, however maybe you want to investigate these errors and/or make them more informative for the user.

amkozlov commented 4 years ago

Hi Paschalis,

could you please post your input files and raxml log file?

Thanks, Alexey

pnatsi commented 4 years ago

tree: RealTree.nwk.txt logfile: binary_alignment.fasta.raxml.log.txt alignment: binary_alignment.fasta.txt

amkozlov commented 4 years ago

thanks! the problem was due to branch lengths exceeding max limit (100 by default) in your starting tree.

in the latest version, I have added a check for this already.