Rescaling during support mapping unclear #518
|
Hi, I'm trying to map bootstrap support from an SVDquartets analysis. I have 100 bootstrap trees in a Nexus file ( iqtree -sup qfm_92_sp.tre -t boots_sp.treIt runs fine, but shows this output: Reading tree qfm_92_sp.tre ...
unrooted tree detected
Reading input file boots_sp.tre...
100 tree(s) loaded
0 split(s) discarded because frequency <= 0.000
9 taxa and 23 splits.
Rescaling split weights by -33.333
23 splits found
Creating bootstrap support values...
Tree with assigned support written to boots_sp.tre.suptreeIn previous runs on larger datasets (more than the 9 taxa here), I had to add |
Replies: 2 comments 2 replies
|
Note that the same behaviour persists in IQ-TREE version 3.0.1 for the above two files. However, running the same command on files from a different run of the same analysis (attached to this message) produces the expected behaviour of rescaling by 100. I cannot see what the difference is between the files. |
|
Hey @bmichanderson, I'm experimenting with Claude code, so I'm interested to see how useful it is... Short answer seems to be that you might be able to convert to newick and it will work. Long answer (pure Claude code...) is below. It thinks there's a bug in how we handle nexus files... Very intersted to know if this helps. Figuring out these issues has (perhaps until now?) been rather beyond me. But maybe now I can help get them fixed. Let's see... Rob P.S. @bqminh, what is your opinion of this brave new world - did Claude get the bug? Claude said: I traced through the iqtree3 source code and I believe this is a bug in how The bug: two interacting problems in the NEXUS code pathWhen
How -33.333 arisesWith
This also explains why Why it works with other datasetsIf the bootstrap tree file is in plain Newick format (starts with Where the fix should goThe NEXUS path in WorkaroundConvert the NEXUS tree file to plain Newick format (one tree per line, just the tree strings ending with |
Hey @bmichanderson,
I'm experimenting with Claude code, so I'm interested to see how useful it is...
Short answer seems to be that you might be able to convert to newick and it will work. Long answer (pure Claude code...) is below. It thinks there's a bug in how we handle nexus files...
Very intersted to know if this helps. Figuring out these issues has (perhaps until now?) been rather beyond me. But maybe now I can help get them fixed. Let's see...
Rob
P.S. @bqminh, what is your opinion of this brave new world - did Claude get the bug?
Claude said:
I traced through the iqtree3 source code and I believe this is a bug in how
-suphandles NEXUS-format bootstrap tree files. (Disclosure: this…