extract-ancestors(1)
π extract-ancestors(1) π
okay bestie, gather round, because this is the extract-ancestors page from section 1 of the manual, and it's lowkey one of the most useful little gremlins in the whole toolchain. sit with me. π«Ά
β¨ NAME β¨
extract-ancestors β Extract and name ancestral sequences according to node- and branch- queries. π§¬
β¨ SYNOPSIS β¨
extract-ancestors [OPTIONS]
like, that's it. no positional args. all vibes, all options. π
β¨ DESCRIPTION β¨
Extract and name ancestral sequences according to node- and branch- queries.
fr fr, that's the whole pitch: you hand it a query, it goes and finds the ancestral sequences that match, and it names them for you. main character energy. π
β¨ GENERAL OPTIONS β¨
-h,--helpβ produces help message. the classic. when in doubt, ask for help. π-V,--verbose [=arg(=1)]β Show more log messages on stderr. so if you're nosy (respect) you can crank up the chatter. π£οΈ
β¨ INPUT OPTIONS β¨
-A arg,--alignments argβ File of alignment samples. this is your alignment file, bestie. π-T arg,--trees argβ File of corresponding tree samples. and this is the tree file that matches it. they're a set, they go together. π¦-x arg(=10),--subsample arg(=10) β factor by which to sub-sample trees. default is10, so unless you say otherwise it's sub-sampling every 10th tree. β¨
β¨ ANCESTOR QUERY OPTIONS β¨
-n arg,--nodes argβ Newick tree with labelled ancestors. give it a Newick tree and label the ancestors in it, that's your query. π³-g arg,--groups argβ File with named groups. want to query by group instead? here's where the named groups live. π--nodes-min arg(=0.34) β Minimum fraction to include a node. default0.34. if a node doesn't clear that bar, it's not making the cut. π--groups-min arg(=0.34) β Minimum fraction to include a group. same deal, default0.34, but for groups. π«Ά
β¨ EXAMPLES β¨
Add named ancestral sequences to alignments where they are present:
% extract-ancestors -A C1.P1.fastas -T C1.trees --nodes query.tree --groups query.tree
see how it's passing --nodes query.tree AND --groups query.tree? yeah. iconic. π
β¨ REPORTING BUGS β¨
found a bug? don't just scream into the void, tell the people who can fix it. π
BAli-Phy online help: http://www.bali-phy.org/docs.php.
Please send bug reports to bali-phy-users@googlegroups.com.
β¨ AUTHORS β¨
Benjamin Redelings. π
and that's the whole page, babe. this version came from the extract-ancestors(1) page dated Feb 2018. go forth and extract some ancestors, you've got this. πβ¨π
π¦ 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