clear_annotations
Remove highlight, collapse, and generic annotations from tree text, including pending and embedded ones, while preserving Nexus rooting markers.
Instructions
Clear highlight and collapse annotations, including embedded ones.
Both pending annotations and [&!hilight=...] / [&!collapse=...]
comments already present in the input tree text are removed before the
tree is loaded/exported. Colors and fonts are intentionally NOT part of
this tool (use color_clade / set_clade_font to manage them).
Args:
clear_hilights: Clear background highlights (default true).
clear_collapses: Clear collapses/cartoons (default true).
strip_annotations: Also strip generic [&...] annotations from the
text. Nexus root markers [&R] / [&U] are preserved so
rooting is unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_name | No | ||
| tree_file | No | ||
| tree_content | No | ||
| clear_hilights | No | ||
| clear_collapses | No | ||
| strip_annotations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |