check_monophyly
Validate whether taxonomic groups are monophyletic in Newick/Nexus trees, supporting LUCA/LACA/LBCA/root and exact taxon lists; fail strict checks on non-monophyly.
Instructions
Check whether one or more taxonomic groups are monophyletic.
Supports special identifiers LUCA / LACA / LBCA / root, and exact taxon
lists. strict=True raises monophyly_error as soon as any group is
not monophyletic.
Args: tree_content: Newick/Nexus content. tree_file: Path to a tree file inside an allowed read root. groups: List of group names (str) or exact taxon lists (list[str]). taxonomy_levels: prefix:rank list (e.g. "d:domain,p:phylum"). strict: Fail on any non-monophyletic group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | No | ||
| strict | No | ||
| tree_file | No | ||
| tree_content | No | ||
| taxonomy_levels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |