omicverse.alignment.build_phylogeny#
- omicverse.alignment.build_phylogeny(asvs_fasta, workdir=None, *, mafft_mode='auto', fasttree_model='gtr', gamma=True, mafft_threads=4, fasttree_threads=None, overwrite=False)[source]#
Build a phylogenetic tree end-to-end.
Returns
{"aligned": ..., "tree": ..., "newick": "<tree-text>", ...}. The newick string has had vsearch’s;size=Nannotations stripped so that ete3 / unifrac can parse tip labels directly.