analyze_taxonomy
Test monophyly for every group at a given taxonomic rank in a phylogenetic tree using taxon labels or a mapping file.
Instructions
Analyze monophyly of all groups at a given taxonomic rank.
Equivalent to figtreekit --analyze-taxonomy RANK. Requires terminal
labels carrying taxonomy info, or a whitelisted mapping file.
Args: tree_content: Newick/Nexus content. tree_file: Path to a tree file inside an allowed read root. rank: Taxonomic rank to analyze (domain..species). taxonomy_mapping_file: Optional CSV/TSV mapping (whitelisted). taxonomy_levels: prefix:rank list. group_size_min: Only report groups with at least this many taxa.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_taxonomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rank | No | ||
| tree_file | No | ||
| tree_content | No | ||
| group_size_min | No | ||
| taxonomy_levels | No | ||
| taxonomy_mapping_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |