trees-consensus(1)
π trees-consensus β the manual, but make it cute π
okay bestie, welcome to trees-consensus(1) β yes the whole manual page, and yes i'm about to make consensus trees sound like the most iconic thing you've ever met. because honestly? they kinda are. π¦
β¨ NAME β¨
trees-consensus β find consensus trees and supported splits. that's it. that's the whole job. and she eats every time. π
πΈ SYNOPSIS πΈ
trees-consensus [OPTIONS] sampled-trees [sampled-trees ...
sampled-trees]
so you hand her some sampled trees (one or more files, she's greedy like that) and optionally some OPTIONS, and she does her little magic. no cap.
π DESCRIPTION π
Find consensus trees and supported splits.
fr fr, that's the whole vibe. she reads in your sampled trees, and she gives you back consensus trees and the splits that are actually supported. main character energy only. π
π«Ά INPUT OPTIONS: π«Ά
these are the "what do i feed her" options. she's not picky but she does have boundaries.
-h,--helpβ produce help message. she'll tell you what's up. π₯Ί-V,--verboseβ output more log messages on stderr. she gets chatty. she's just excited to be here.-s arg (=10%),--skip arg (=10%)β number of trees to skip. default is10%so she doesn't get bored of the beginning. π-u arg,--until argβ read until this number of trees. she stops when she's had enough.-m arg,--max argβ thin tree samples down to this number of trees. slimming down, but make it phylogenetics.-x arg (=1),--subsample arg (=1)β factor by which to subsample. default1, aka no skipping, she's taking everything in.-i arg,--ignore argβ comma-separated list of taxa to ignore. not them. not today. π
π REPORTING OPTIONS: π
what she tells you when she's done, and where she puts it.
--map-trees arg (=1)β only report the top arg trees per file. default is1, so she's being selective, as she should.--min-support arg (=0.25)β minimum threshold PP for splits. default0.25. lowkey a low bar, but that's her business.--report argβ write supported partitions to file arg.--map-tree argβ write out the map tree to file arg.--consensus argβ write out consensus trees.--greedy-consensus argβ write out greedy consensus trees. she's not like other girls, she's greedy.--extended-consensus-L argβ write out extended consensus trees + lengths.--extended-consensus argβ write out extended consensus trees.--support-levels argβ write#branchesversus LOD to file arg.--extended-support-levels argβ write#sub-branchesversus LOD to file arg.
π₯ SEARCH OPTIONS: π₯
the detective era. π
--sub-partitionsβ search for partial splits.--depth arg (=1)β depth at which to look for partial splits. default1.--rooting arg (=0.9)β threshold in search for partial splits. default0.9.--odds-ratio arg (=1.5)β report partial-splits only if removing taxa improves the odds by at least this ratio. default1.5. she's got standards.
π EXAMPLES: π
this is the part where she shows off. watch and learn, bestie.
Compute the majority consensus tree, skipping the first 10% of trees:
% trees-consensus newick.trees > c50.tree
% trees-consensus newick.trees --skip=10% > c50.tree
Skip the first 100 trees:
% trees-consensus newick.trees --skip=100 > c50.tree
Skip the first 20% of trees and take every 10th tree thereafter:
% trees-consensus newick.trees --skip=20% -x10 > c50.tree
Compute the 50% (majority) and 80% consensus trees:
% trees-consensus newick.trees --consensus=0.5:c50.tree,0.8:c80.tree
% trees-consensus newick.trees --consensus=0.5,0.8:c80.tree > c50.tree
Compute the MAP tree and write a summary of supported partitions:
% trees-consensus --map-tree=MAP.tree --report=partitions.txt
Compute the MAP tree and write it to the standard output:
% trees-consensus --map-tree=- --report=partitions.txt
okay but notice how --map-tree=- sends it to standard output. the dash is the moment. β
π REPORTING BUGS: π
BAli-Phy online help: http://www.bali-phy.org/docs.php.
Please send bug reports to bali-phy-users@googlegroups.com.
(if something's broken, tell them, don't just suffer in silence, i'm begging π₯Ί)
π AUTHORS π
Benjamin Redelings. that's the icon. that's the legend. thank you for your service. π«‘
and that's the whole page, bestie β trees-consensus(1), from Feb 2018, part of the BAli-Phy family, delivered with love and zero skipped details. periodt. πβ¨
π¦ where this page comes from
- debian trixie: bali-phy 4.0-1 Β· GPL-2.0-or-later
- ubuntu questing: bali-phy 4.0-1build2
- ubuntu resolute: bali-phy 4.1+dfsg-1 Β· GPL-2.0-or-later
- ubuntu stonking: bali-phy 4.1+dfsg-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms