# IQ-TREE (family trees, #403) The family-tree worker (`manage.py phylo_worker`, `samuddhara/phylo/`) computes the witnesses' trees with **IQ-TREE 3.1.4**, run unmodified as a separate program on our server. IQ-TREE is not linked with Samuddhāra's code, is not sent to readers' browsers, and none of its code is part of Samuddhāra's pages; Samuddhāra's own code stays under its own terms. - **Program:** IQ-TREE version 3.1.4, Linux build `iqtree-3.1.4-Linux-intel.tar.gz` (7,479,748 bytes), installed at build time by `bin/post_compile` (only when the app has `IQTREE_INSTALL=1` or `IQTREE_BIN` set) from the release page and checked against its sha256 `d422cb2b8f04825faea753afda25c60de6611537d07ec8fcd0033e70cb042839` (the digest GitHub publishes for the asset). - **Licence:** GNU General Public License, version 2 or (at your option) any later version (the release's LICENSE file is the GPL-2; IQ-TREE's source files say "or any later version"). - **Copyright:** the IQ-TREE development team (Bui Quang Minh, Thomas Wong, Nhan Ly-Trong, Huaiyan Ren and contributors). - **Source code:** https://github.com/iqtree/iqtree3/tree/v3.1.4 ; release page with the binaries: https://github.com/iqtree/iqtree3/releases/tag/v3.1.4 ; https://iqtree.github.io/ - **Included in it:** LSD2 (least-squares dating, To, Jung, Lycett & Gascuel), which the optional dated tree uses. ## To cite with a tree computed here - IQ-TREE 3: T. K. F. Wong, N. Ly-Trong, H. Ren et al. (2026), IQ-TREE 3: Phylogenomic Inference Software using Complex Evolutionary Models. *Molecular Biology and Evolution* 43(5), msag117. https://doi.org/10.1093/molbev/msag117 - Ultrafast bootstrap (UFBoot2): D. T. Hoang, O. Chernomor, A. von Haeseler, B. Q. Minh, L. S. Vinh (2018), *Mol. Biol. Evol.* 35:518–522. https://doi.org/10.1093/molbev/msx281 - ModelFinder (the automatic model): S. Kalyaanamoorthy, B. Q. Minh, T. K. F. Wong, A. von Haeseler, L. S. Jermiin (2017), *Nature Methods* 14:587–589. https://doi.org/10.1038/nmeth.4285 - LSD2 (dated trees): T.-H. To, M. Jung, S. Lycett, O. Gascuel (2016), Fast dating using least-squares criteria and algorithms. *Systematic Biology* 65(1):82–97. https://doi.org/10.1093/sysbio/syv068 - SH-aLRT (when chosen): S. Guindon, J.-F. Dufayard, V. Lefort, M. Anisimova, W. Hordijk, O. Gascuel (2010), New algorithms and methods to estimate maximum-likelihood phylogenies: assessing the performance of PhyML 3.0. *Systematic Biology* 59(3):307–321. https://doi.org/10.1093/sysbio/syq010 - The Mk model: P. O. Lewis (2001), A likelihood approach to estimating phylogeny from discrete morphological character data. *Systematic Biology* 50(6):913–925. https://doi.org/10.1080/106351501753462876 ## Known limits of IQ-TREE 3.1.4 here - Morphological (MORPH) data share one number of states: every character is modelled with as many readings as the character with the most (for example 12), so in the ancestral readings a little probability can go to readings a character does not have (on average 0.2% of a node's). Partitions by number of readings, the usual remedy, end IQ-TREE 3.1.4 with an error together with the ascertainment correction (+ASC). - The ancestral readings are computed without +ASC (IQ-TREE 3.1.4 stops with it), on the final tree. MPBoot (parsimony trees) is installed by the same build when the app asks for it: see NOTICE-MPBoot.md, which the family-tree pages' notice gives after this one. IQ-TREE computes the branch lengths, the ancestral readings and the dates of its trees. # MPBoot (parsimony family trees, #403) The family-tree worker (`manage.py phylo_worker`, `samuddhara/phylo/`) computes the witnesses' maximum-parsimony trees with **MPBoot 1.2**, run unmodified as a separate program on our server. MPBoot is not linked with Samuddhāra's code, is not sent to readers' browsers, and none of its code is part of Samuddhāra's pages; Samuddhāra's own code stays under its own terms. - **Program:** MPBoot, release v1.2, compiled from its unmodified source at build time by `bin/post_compile` (only when the app has `MPBOOT_INSTALL=1` or `MPBOOT_BIN` set), with its AVX kernel (`cmake -DIQTREE_FLAGS=avx -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-std=c++11`), on the stack's build image (heroku-24: gcc 13.3, cmake 3.28), and installed at `vendor/mpboot/mpboot` (`/app/vendor/mpboot/mpboot` on the dynos). The program calls itself "MPBoot version 1.1.1" (the number in its CMakeLists.txt, unchanged since 2017); v1.2 is the release's name. - **Source code:** commit `bbf36c5f33c406fd6c7e72e203012ae7bccac505` (tag v1.2, 22 Jan 2023) of https://github.com/diepthihoang/mpboot , downloaded as https://github.com/diepthihoang/mpboot/archive/bbf36c5f33c406fd6c7e72e203012ae7bccac505.tar.gz (3,646,851 bytes) and checked against its sha256 `d79ba02bb17bae60020b41db5143a065509266280946dbd64bfdabe12f11778d`. Release page: https://github.com/diepthihoang/mpboot/releases/tag/v1.2 - **Licence:** GNU General Public License. The repository's licence file (License.txt) is the GPL version 2; its source files derived from IQ-TREE say "version 2 of the License, or (at your option) any later version", and the Phylogenetic Likelihood Library files it includes (pllrepo/, sprparsimony.cpp) "version 3 of the License, or (at your option) any later version"; the program built from them is under the GPL version 3 or later. - **Copyright:** Diep Thi Hoang, Le Sy Vinh, Tomas Flouri, Alexandros Stamatakis, Arndt von Haeseler and Bui Quang Minh (as the program says), and the authors of the code it includes (IQ-TREE, PLL, NCL, zlib, SPRNG, Eigen). ## To cite with a tree computed here - MPBoot: D. T. Hoang, L. S. Vinh, T. Flouri, A. Stamatakis, A. von Haeseler, B. Q. Minh (2018), MPBoot: fast phylogenetic maximum parsimony tree inference and bootstrap approximation. *BMC Evolutionary Biology* 18:11. https://doi.org/10.1186/s12862-018-1131-3 - The branch lengths, the ancestral readings and the dates of a parsimony tree are IQ-TREE's (NOTICE-IQ-TREE.md). ## How it is run here, and its known limits - The tree: `mpboot -s mpboot.phy -st MORPH -seed -pre tree`, with `-bb 1000` for ultrafast bootstrap support (MPBoot's bootstrap approximation). Its length is the Fitch length (unordered readings, a missing reading fits any), the same as the parsimony length the pages give for every tree (`samuddhara/phylo/parsimony.py`): checked equal on every matrix tried. - MPBoot 1.2 counts the readings of MORPH data from the highest symbol in the whole file, the missing reading `?` included, which sorts after the digits: a matrix whose readings are all 0-9 with one missing would stop with "Invalid number of states". MPBoot therefore reads its own copy of the matrix with `-` for `?`, which it reads as the same missing reading (the same tree and length, checked); IQ-TREE reads the matrix as it is. - MPBoot writes the tree's topology and support only, no branch lengths, and so the consensus of its bootstrap trees: the lengths of both are IQ-TREE's on their topology (Mk+ASC, `-te`), so that they are drawn and rooted as any other. - The ancestral readings of a parsimony tree are IQ-TREE's (marginal reconstruction under Mk on MPBoot's tree), not a parsimony reconstruction (ACCTRAN/DELTRAN). - With bootstrap support, MPBoot 1.2 stops with "WRONG pllComputeSiteParsimony" on a matrix with a character that has one reading only; the matrices here never have one (`matrix.check_cells`). - Later commits of MPBoot (to 2864869, Dec 2024) stop with an assertion on a matrix whose readings are all 0 and 1 with one missing; v1.2 computes it. - The program needs a CPU with AVX to run at all: MPBoot's CMakeLists.txt compiles every file with `-mavx` for its AVX kernel, so on a CPU without AVX it is killed at once by SIGILL (exit 132, no message), even for `-h`, before its own check of the CPU can run. The build installs it only where the build machine's `/proc/cpuinfo` says the CPU has AVX, and the pages offer parsimony only where the dyno's says so (`runner.mpboot_available()`).