PHYBIN(1)
π PHYBIN(1) β the phybin manual, but make it make sense π
okay bestie, gather round π«Ά this is the manual page for phybin, a User Command, and it's from phybin 0.3 (December 2015 vibes, but she still slays). Let's get into it.
β¨ NAME β¨
phybin β binning/clustering newick trees by topology π³π¦
β¨ SYNOPSIS β¨
phybin [OPTION...] files or directories...
β¨ DESCRIPTION β¨
okay so PhyBin takes Newick tree files as input. You can just pass paths of Newick files straight up on the command line. OR, if you hand it directories instead, it will read all the files in those directories. no cap. ποΈ
Taxa are named based on the files containing them. And if a file contains multiple trees, phybin reads all of them, and then the taxa name includes a suffix indicating the position in the file:
e.g. FILENAME_0, FILENAME_1, etc.
When clustering trees, Phybin computes a complete all-to-all Robinson-Foulds distance matrix. If a threshold distance (tree edit distance) is given, then a flat set of clusters will be produced in files clusterXX_YY.tr. Otherwise it produces a full dendogram. π
Binning mode provides an especially quick-and-dirty form of clustering. When running with the --bin option, only exactly equal trees are put in the same cluster. Tree pre-processing still applies, however: for example collapsing short branches. π
πΈ USAGE NOTES: πΈ
- Currently phybin ignores input trees with the wrong number of taxa.
- If given a directory as input phybin will assume all contained files are Newick trees.
bestie, that second one is a whole vibe check on your directory, so don't point her at a folder full of random stuff π
β¨ OPTIONS β¨
-v,--verboseβ print WARNINGS and other information (recommended at first) β fr fr, do this first, it's giving helpful π-V,--versionβ show version number-o DIR,--output=DIRβ set directory to contain all output files (default"./phybin_out/") π--selftestβ run internal unit tests π§ͺ
π Clustering Options π
--binβ Use simple binning, the cheapest form of 'clustering' π (cheapest as in computationally, she's not judging)--singleβ Use single-linkage clustering (nearest neighbor)--completeβ Use complete-linkage clustering (furthest neighbor)--UPGMAβ Use Unweighted Pair Group Method (average linkage) - DEFAULT mode π--editdist=DISTβ Combine all clusters separated by DIST or less. Report a flat list of clusters. Irrespective of whether this is activated, a hierarchical clustering (dendogram.pdf) is produced.
π¦ Select Robinson-Foulds (symmetric difference) distance algorithm: π¦
--hashrfβ (default) use a variant of the HashRF algorithm for the distance matrix β--tolerantβ use a slower, modified RF metric that tolerates missing taxa π (slower but she's understanding about your missing taxa, we love a tolerant queen)
π Visualization π
-g,--graphbinsβ use graphviz to produce.dotand.pdfoutput files β¨-d,--drawbinsβ like-g, but open GUI windows to show each bin's tree πͺ-w,--viewβ for convenience, "view mode" simply displays input Newick files without binning π--showtreesβ Print (textual) tree topology inside the nodes of the dendrogram--highlight=FILEβ Highlight nodes in the tree-of-trees (dendrogram) consistent with the. given tree file. Multiple highlights are permitted and use different colors. π¨--interiorβ Show the consensus trees for interior nodes in the dendogram, rather than just points. πΈ
π Tree pre-processing π
--prune=TAXAβ Prune trees to only TAXA before doing anything else. Space and comma separated lists of taxa are allowed. Use quotes. βοΈ-b LEN,--minbranchlen=LENβ collapse branches less than LEN--minbootstrap=INTβ collapse branches with bootstrap values less than INT
π Extracting taxa names π
-p NUM,--nameprefix=NUMβ Leaf names in the input Newick trees can be gene names, not taxa. Then it is typical to extract taxa names from genes. This option extracts a prefix of NUM characters to serve as the taxa name.-s STR,--namesep=STRβ An alternative to--nameprefix, STR provides a set of delimeter characters, for example'-'or'0123456789'. The taxa name is then a variable-length prefix of each gene name up to but not including any character in STR.-m FILE,--namemap=FILEβ Even once prefixes are extracted it may be necessary to use a lookup table to compute taxa names, e.g. if multiple genes/plasmids map onto one taxa. This option specifies a text file with find/replace entries of the form"<string> <taxaname>", which are applied AFTER-sand-p. πΊοΈ
π§ Utility Modes π§
--rfdistβ print a Robinson Foulds distance matrix for the input trees--setdiffβ for convenience, print the set difference betweencluster*.txtfiles--printβ simply print out a concise form of each input tree--printnormsβ simply print out a concise and NORMALIZED form of each input tree--consensusβ print a strict consensus tree for the inputs, then exit πͺ--matchingβ print a list of tree names that match any--highlightargument
β¨ AUTHOR β¨
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. π«Ά
and that's the whole page bestie π this was phybin 0.3, dated December 2015 β go cluster some trees, you got this ππ³β¨
π¦ where this page comes from
- debian bookworm: phybin 0.3-6 Β· BSD-3-Clause
- debian trixie: phybin 0.3-6 Β· BSD-3-Clause
- ubuntu jammy: phybin 0.3-5build1 Β· BSD-3-Clause
- ubuntu noble: phybin 0.3-6 Β· BSD-3-Clause
- ubuntu questing: phybin 0.3-6
- ubuntu resolute: phybin 0.3-7 Β· BSD-3-Clause
- ubuntu stonking: phybin 0.3-7 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms