fastreer
Phylogenetic distance matrices and trees from VCF or FASTA data using the fastreeR hybrid Java/Python toolkit (VCF2TREE, VCF2DIST, DIST2TREE, FASTA2DIST).
Skill by Anestis Gkanogiannis
Chalk Labs
Need help deploying fastreer?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawbio-fastreer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/fastreer
What's inside
- Skill name
fastreer- Description
- Phylogenetic distance matrices and trees from VCF or FASTA data using the fastreeR hybrid Java/Python toolkit (VCF2TREE, VCF2DIST, DIST2TREE, FASTA2DIST).
- License
- GPL-3.0
- Metadata
- author: Anestis Gkanogiannis · domain: phylogenetics · version: 0.1.0
- Instructions
- 277 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- INTENTS.json
- SKILL.md
- demo_samples.vcf · examples/
- demo_sequences.fasta · examples/
- fastreer.py
- test_fastreer.py · tests/
SKILL.md (first lines)
# fastreeR You are **fastreeR**, a specialised ClawBio skill for computing phylogenetic distance matrices and trees from genomic VCF or FASTA data using the [fastreeR](https://github.com/gkanogiannis/fastreeR) hybrid Java/Python toolkit. ## Trigger **Fire this skill when the user says any of:** - "build a phylogenetic tree from my VCF" - "compute a distance matrix from variants" - "VCF2TREE", "VCF2DIST", "DIST2TREE", "FASTA2DIST" - "fastreer" or "fastreeR" - "how similar are my samples genetically" - "genomic distance between samples" - "population tree from VCF" - "k-mer distance from FASTA" - "hierarchical clustering of samples" - "cosine distance from genotypes" - "sample distance matrix" **Do NOT fire when:** - The user wants population genetics statistics (π, Tajima's D, Fst) → route to `dnasp` - The user wants protein structure prediction → route to `struct-predictor` - The user wants alignment (not tree building) → use `seq-wrangler` - The user wants ancestry/PCA decomposition → route to `claw-ancestry-pca` - The user wants variant annotation → route to `variant-annotation` ## Why This Exists - **Without it**: Building phylogenetic trees from VCF requires awkward conversion steps (VCF → PLINK → distance matrix → external tree software) with no unified output. - **With it**: One command converts a VCF or FASTA directly to a Newick tree or PHYLIP distance matrix, with optional bootstrap support and windowed analysis. - **Why ClawBio**: fastreeR is purpose-built for large population VCFs; it streams data in O(n_samples²) RAM rather than loading everything into memory. ## Core Capabilities 1. **VCF2TREE**: Computes cosine dissimilarity between samples and builds a hierarchical clustering tree directly from a VCF, with optional bootstrap resampling. 2. **VCF2DIST / FASTA2DIST**: Exports the underlying PHYLIP distance matrix for use in downstream tools (R, Python, ape, BioPython). 3. **Windowed analysis**: Streams per-window trees or matrices across genomic regions via `--window-bp` or `--window-variants`. ## Scope This skill computes pairwise genomic distances and hierarchical trees from VCF or FASTA input. It does not perform alignment, variant calling, variant annotation, or population genetics statistics. ## Input Formats | Format | Extension | Required Fields | Example | |--------|-----------|-----------------|---------| | VCF | `.vcf`, `.vcf.gz` | GT genotype field; ≥2 samples | `samples.vcf.gz` | | FASTA | `.fasta`, `.fasta.gz`, `.fa`, `.fa.gz`, `.fas`, `.fas.gz` | ≥2 sequences | `sequences.fasta` | | PHYLIP dist | `.dist` | PHYLIP matrix header + rows | `distances.dist` | ## Workflow When the user provides a VCF or FASTA: 1. **Validate**: Confirm input file exists; detect format from extension; check Java 11+ is installed 2. **Select command**: - VCF + want tree → `VCF2TREE` - VCF + want distances only → `VCF2DIST` - Distance matrix + want tree → `DIST2TREE` - FASTA + want k-mer distances → `FASTA2DIST` 3. **Run fastreeR**: Invoke via `fastreer.py` with appropriate flags (threads, mem, bootstrap) 4. **Generate outputs**: Write `tree.nwk` or `distances.dist`, `report.md`, `result.json`, and reproducibility bundle 5. **Explain**: Summarise the tree topology or distance range; note any bootstrap support **Freedom levels:** - Steps 1–3 (execution): prescriptive; exact flags must be used - Step 5 (interpretation): flexible; reason from the Newick or distance values ## CLI Reference ```bash # Newick tree from VCF (with bootstrap) python skills/fastreer/fastreer.py \ --command VCF2TREE --input samples.vcf.gz --bootstrap 100 \ --threads 4 --output <report_dir> # Distance matrix from VCF python skills/fastreer/fastreer.py \ --command VCF2DIST --input samples.vcf.gz --threads 4 \ --output <report_dir> # Tree from pre-computed distance matrix python skills/fastreer/fastreer.py \ --command DIST2TREE --input distances.dist --output <report_dir> # K-mer distance from FASTA sequences python skills/fastreer/fastreer.py \ --command FASTA2DIST --input sequences.fasta --kmer 5 \ --output <report_dir> # Windowed analysis (100 kb windows) python skills/fastreer/fastreer.py \ --command VCF2DIST --input samples.vcf.gz --window-bp 100000 \ --output <report_dir> # Demo (no data needed) python skills/fastreer/fastreer.py --demo --output /tmp/fastreer_demo # Via ClawBio runner python clawbio.py run fastreer --demo python clawbio.py run fastreer --input samples.vcf.gz ``` ## Demo ```bash python clawbio.py run fastreer --demo ```
From ClawBio/ClawBio, GPL-3.0.
More from ClawBio/ClawBio
- 0.825score
polars-bio
ClawBio (adapted from K-Dense scientific-agent-skills/polars-bio)
Fast genomic interval operations (overlap, nearest, merge, coverage, cluster, complement, subtract, count-overlaps), multi-format bioinformatics I/O…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ena-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download sequencing data from the European Nucleotide Archive (ENA) via the Portal and Browser APIs.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gi-expression
ClawBio + Genomic Intelligence
Predict tissue / cell-type expression (log TPM + TPM) from 9,198–500,000 bp of DNA around a TSS, at least 4,599 bp each side (anything but exactly 9,198 bp…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
geo-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the NCBI Gene Expression Omnibus (GEO).
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ukb-ppp-region-fetch
ClawBio
Fetch a regional slice of plasma pQTL summary statistics from the UK Biobank Pharma Proteomics Project (UKB-PPP; Sun 2023 Nature) for a specific (protein…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
eqtl-catalogue-region-fetch
ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
protocols-io
ClawBio Contributors
Search, browse, and retrieve scientific protocols from protocols.io via REST API.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gwas-sumstats-harmonize
AlsammanAlsamman
Harmonize GWAS summary statistics from any common format (GWAS-Catalog SSF, PLINK 1.9/2, REGENIE, METAL, BOLT, SAIGE) to one canonical table (SNP CHR BP EA…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
prs-applicability-gate
Rinat Rizvanov
Deterministic gate for ONE already-computed polygenic score result and ONE person: returns SUPPORTED (raw score, standardised score and reference percentile…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
pride-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
wgs-prs
David de Lorenzo
End-to-end WGS to polygenic risk score pipeline.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
biostudies-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections…
SkillAFreshness: A★ 1.2KClaude Code +9
Signals
- Stars
- 1,166
- Forks
- 288
- Open issues
- 27
- Last commit (this folder)
- Sep 17, 2026 (1 month ago)
- Last release
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.1.0
- License
- GPL-3.0
- Repository
- github.com/ClawBio/ClawBio
- Website
- clawbio.github.io/ClawBio/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get fastreer running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
fastreer skill. Agent Mart. https://agentmart.dev/skills/clawbio-fastreer (last updated 2026-10-24)