PHYLOBOOT(1)
๐ NAME ๐
phyloBoot โ generate simulated alignment data by parametric or nonparametric. It's a User Commands page, section 1, and honestly it's giving "I make fake data so you can test your real data" main character energy. ๐
โจ DESCRIPTION โจ
okay so bestie, here's the whole vibe: phyloBoot generates simulated alignment data by parametric or nonparametric bootstrapping, and/or estimates errors in phylogenetic model parameters. And when it's estimating errors in parameters, heads up โ the tree topology is not inferred. The estimated errors are conditional on the given topology, periodt. No take-backs, no re-guessing your tree. ๐ซถ
Now the fork in the road, and this part matters:
- If a model is given in the form of a
.modfile (<model_fname>), then parametric bootstrapping is performed โ i.e., synthetic data sets are drawn from the distribution defined by the model. โจ - Otherwise, the input file is assumed to be a multiple alignment, and non-parametric bootstrapping is performed โ i.e., sites are drawn (with replacement) from the empirical distribution defined by the given alignment. ๐
The default behavior is to produce simulated alignments, estimate model parameters for each one, and then write a table to stdout with a row for each parameter and columns for the mean, standard deviation (that's the approximate standard error, bestie), median, minimum, and maximum of estimated values, plus the boundaries of 95% and 90% confidence intervals. It's a whole little spreadsheet, she ate. ๐
The --alignments-only option, however, lets the parameter estimation step be bypassed entirely, and the program to be used simply to generate simulated data sets. And if you want more on tree-building options, go see the usage for phyloFit. ๐
๐ฆ EXAMPLE ๐ฆ
(See below for more details on options โ like, genuinely, they're right there.)
- Estimation of parameter errors by parametric bootstrapping.
phyloBoot --nreps 500 --nsites 10000 mymodel.mod > par_errors
- Estimation of parameter errors by nonparametric bootstrapping.
phyloBoot --nreps 500 --nsites 10000 --tree "((human,chimp),(mouse,rat))" myalignment.fa > nonpar_errors
- Parametric generation of simulated data.
phyloBoot mymodel.mod --alignments-only pardata --nreps 500 --nsites 10000
- Nonparametric generation of simulated data.
phyloBoot myalignment.fa --alignments-only nonpardata --nreps 500 --nsites 10000
๐ OPTIONS ๐
๐ bootstrapping options ๐
--nsites,-L<number> โ Number of sites in sampled alignments. If an alignment is given (that's the non-parametric case, babe), default is number of sites in alignment, otherwise default is1000.--nreps,-n<number> โ Number of replicates. Default is100.--msa-format,-iFASTA|PHYLIP|MPM|MAF|SSโ (non-parametric case only) Alignment format. Default is to guess format from file contents. She's intuitive like that. ๐ฎ--alignments-only,-a<fname_root> โ Generate alignments and write them to files with given filename root, but do not estimate parameters. Just vibes, no math. ๐--dump-mods,-d<fname_root> โ Dump.modfiles for individual estimated models (one for each replicate).--dump-samples,-m<fname_root> โ Dump simulated alignments to files with given filename root. Similar to--alignments-onlybut does not disable parameter estimation.--dump-format,-oFASTA|PHYLIP|MPM|SS.โ (For use with--alignments-onlyor--dump-samples) File format to use when dumping raw alignments. DefaultFASTA.--read-mods,-R<fname_list> โ Read estimated models from list of filenames instead of generating alignments and estimating parameters.fname_listcan be a comma-delimited list of files, or, if preceded by a*, the name of a file containing the file names (one per line). Can be used to compute statistics for replicates that have been processed separately (see--alignments-only). When this option is used, the primary argument to the program (<model_fname>|<msa_fname>) will be ignored. Like, fully ghosted. ๐ป--output-average,-A<fname> โ Output a tree model representing the average of all input models to the specified file.--quiet,-qโ Proceed quietly. ๐คซ--help,-hโ Print this help message.
๐ธ tree-building options ๐ธ
--tree,-t<tree_fname>|<tree_string> โ (Required if non-parametric and more than two species) Name of file or literal string defining tree topology. This one's mandatory in that case, no cap. ๐จ--subst-mod,-sJC69|F81|HKY85|REV|SSREV|UNREST|R2|R2S|U2|U2S|R3|R3S|U3|U3Sโ (defaultREV). Nucleotide substitution model. Pick your fighter. โ๏ธ--nrates,-k<nratecats> โ (default1). Number of rate categories to use. Specifying a value of greater than one causes the discrete gamma model for rate variation to be used. โจ--EM,-Eโ Use EM rather than the BFGS quasi-Newton algorithm for parameter estimation.--precision,-pHIGH|MED|LOWโ (defaultHIGH) Level of precision to use in estimating model parameters. Highkey we stay onHIGH. ๐--init-model,-M<mod_fname> โ Initialize optimization procedure with specified tree model.--init-random,-rโ Initialize parameters randomly. Chaos mode activated. ๐ฒ--scale,-P<rho> โ Scale input tree by factorrhobefore doing parametric simulations.--subtree,-S<node> โ For use with--subtree-scaleand/or--subtree-switch. Define subtree including all children of named node, including branch leading up to node.--subtree-scale,-l<lambda> โ Scale subtree defined with--subtreeoption by factorlambda.--subtree-switch,-w<prob> โ With given probability, randomly switch branches in tree from subtree to supertree and vice versa. Randomization is performed independently for each branch in every column of simulated data. ๐--scale-file,-F<file> โ (For use with--subtreein parametric mode). Instead of using--subtree-scaleor--scale, read in a tab-delimited file with three columns:numSite,scale,subtree_scale. For each row in the filephyloBootwill simulate the given number of sites with those scaling factors, and then will move on to the next row, so that the total number of sites is the sum of the first column. Row by row, she's methodical. ๐
okay bestie that's literally the whole page, go forth and bootstrap responsibly ๐
and that's a wrap!! this was phyloBoot 1.4, dated May 2016 โ thanks for reading my little manual rant, ily, bye ๐ซถ๐โจ
๐ฆ where this page comes from
- debian bookworm: phast 1.6+dfsg-3+b1 ยท BSD-3-Clause
- debian trixie: phast 1.7+dfsg-2 ยท BSD-3-Clause
- ubuntu jammy: phast 1.6+dfsg-3 ยท BSD-3-Clause
- ubuntu noble: phast 1.6+dfsg-4 ยท BSD-3-Clause
- ubuntu questing: phast 1.7+dfsg-3
- ubuntu resolute: phast 1.8+dfsg-1 ยท BSD-3-Clause
- ubuntu stonking: phast 1.8+dfsg-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms