extract-ancestors(1)

πŸ“¦
version 4.1 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 is 10, 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. default 0.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, default 0.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