Bio Phylo Tree Io

Read, write, and convert phylogenetic tree files with Biopython Bio.Phylo, and choose an annotation-preserving parser (treeio, DendroPy) when metadata matters. Covers why a tree file is a lossy serialization, why format conversion silently drops BEAST/MrBayes node annotations (posteriors, HPD intervals, rates), the Newick support-vs-label ambiguity that mislabels bootstrap values, and the Nexus TRANSLATE and rooted/unrooted traps. Use when parsing Newick, Nexus, NHX, phyloXML, or NeXML, converting between formats, handling posterior tree sets, or moving annotated BEAST trees without losing the

9 stars 3 forksWriting & Content Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add hackernoon/cuttlefish-agent-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add hackernoon/cuttlefish-agent-skills --skill bio-phylo-tree-io
Manual install
git clone --depth 1 https://github.com/hackernoon/cuttlefish-agent-skills.git /tmp/cuttlefish-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cuttlefish-agent-skills/plugins/data-science/skills/bio-phylo-tree-io ~/.claude/skills/bio-phylo-tree-io

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

## Version Compatibility

Reference examples tested with: BioPython 1.83+. Annotation-preserving alternatives: DendroPy 5+ (Python), treeio 1.26+ / ape 5.8+ (R).

Before using code patterns, verify installed versions match. If versions differ:
- Python: `pip show biopython` then `help(module.function)` to check signatures
- R: `packageVersion('treeio')` then `?read.beast` to verify parameters

If code throws ImportError, AttributeError, or TypeError, introspect the installed
package and adapt the example to match the actual API rather than retrying.

Bio.Phylo stores a Newick `[&...]` bracket as opaque `.comment` text and does NOT parse BEAST key-values; DendroPy `extract_comment_metadata=True` and treeio `read.beast` do.

# Tree I/O -- A Tree File Is a Lossy Serialization

**"Read and convert my tree files"** -> Parse a tree into an in-memory object and re-serialize it, knowing which annotations each format and parser preserves.
- Python: `Phylo.read('tree.nwk', 'newick')`, `Phylo.convert(...)` (Bio.Phylo)
- Annotation-critical: `dendropy.Tree.get(..., extract_comment_metadata=True)` or treeio `read.beast()`
Read the full skill on GitHub

Details

Skill name
bio-phylo-tree-io
Path
plugins/data-science/skills/bio-phylo-tree-io/SKILL.md
License
MIT
Repo updated
4 November 2026

FAQ

What does the Bio Phylo Tree Io skill do?

Read, write, and convert phylogenetic tree files with Biopython Bio.Phylo, and choose an annotation-preserving parser (treeio, DendroPy) when metadata matters. Covers why a tree file is a lossy serialization, why format conversion silently drops BEAST/MrBayes node annotations (posteriors, HPD intervals, rates), the Newick support-vs-label ambiguity that mislabels bootstrap values, and the Nexus TRANSLATE and rooted/unrooted traps. Use when parsing Newick, Nexus, NHX, phyloXML, or NeXML, converting between formats, handling posterior tree sets, or moving annotated BEAST trees without losing the

How do I install the Bio Phylo Tree Io skill?

Claude Code plugin: /plugin marketplace add hackernoon/cuttlefish-agent-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bio Phylo Tree Io popular?

It lives in hackernoon/cuttlefish-agent-skills, which has 9 GitHub stars and 3 forks.

Related skills

AI Traffic Tracking

9

hackernoon/cuttlefish-agent-skills

Compatibility pointer for AI assistant referrals and generative search visibility; maintained in Open Analytics.

AI, LLMs & Agents

Analytics Tracking

9

hackernoon/cuttlefish-agent-skills

Compatibility pointer for GA4 event, key-event and User-ID tracking; maintained in Open Analytics.

Data & Analytics

Bio Admet Prediction

9

hackernoon/cuttlefish-agent-skills

Predicts ADMET properties using ADMETlab 3.0 (119 platform features, including 77 prediction models with modeled-endpoint uncertainty), ADMET-AI, DeepChem MolNet, and chemprop D-MPNN with explicit handling of OECD QSAR principles, applicability domain assessment, calibration, hERG/CYP/AMES endpoints, and PAINS / Lipinski / Ro5 / Veber / BBB druglikeness filters. Use when filtering compounds for drug-likeness, prioritizing leads by predicted safety, or building an in-house ADMET QSAR model.

AI, LLMs & Agents

Bio Read Qc Adapter Trimming

9

hackernoon/cuttlefish-agent-skills

Removes sequencing adapters from FASTQ reads with Cutadapt and Trimmomatic, including paired-end read-through, small-RNA 3' adapters, amplicon primers, and anchored/linked adapters. Use when FastQC shows adapter content climbing toward the 3' end, when inserts are shorter than the read length (small-RNA, cfDNA, FFPE), or before assembly/k-mer analysis. For all-in-one trimming use fastp-workflow; for quality/length filtering use quality-filtering.

Writing & Content

Bio Microbiome Functional Prediction

9

hackernoon/cuttlefish-agent-skills

Predicts community functional POTENTIAL from 16S/ITS amplicon ASVs with PICRUSt2 (or q2-picrust2) by phylogenetic interpolation of reference-genome gene content - EPA-ng placement, gappa, castor hidden-state prediction of KO/EC/Pfam copy number, 16S copy-number normalization, and MinPath MetaCyc/KEGG pathways - gated by the NSTI quality index. Covers why predicted function is taxonomy re-encoded (never measured gene content and never activity), the mandatory NSTI report (--max_nsti 2 silently drops novel ASVs), why accuracy IS reference coverage (gut Spearman ~0.8, soil/marine collapse), the c

Writing & Content

Bio Read Qc Quality Reports

9

hackernoon/cuttlefish-agent-skills

Generates and interprets per-file and cross-sample QC reports from FASTQ data with FastQC, falco, and MultiQC, covering Phred quality, per-base composition, GC, duplication, overrepresented sequences, and adapter content. Use when performing initial QC on raw sequencing reads, validating preprocessing, or judging a multi-sample cohort for outliers and batch effects. For long reads use NanoPlot; for adapter/quality remediation route to adapter-trimming, quality-filtering, or fastp-workflow.

Writing & Content

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.