← ClaudeAtlas

vivarium-comparelisted

Compare a set of microbial genomes: genome relatedness (ANI/AAI), shared vs unique gene content (orthology / pangenome / core-accessory via OrthoFinder), and genome structure (synteny / rearrangements via MUMmer). Use whenever the user wants to know how similar two or more genomes are, whether two strains are the same species, which genes are shared or unique to a strain, build orthogroups or a pangenome, or align genomes to see synteny. Triggers on phrases like "compare these genomes", "ANI/AAI between", "are these the same species", "which genes are unique to strain X", "core and accessory genome", "run OrthoFinder", "pangenome", "synteny / genome alignment", "比较这些基因组", "算 ANI/AAI", "是不是同一个种", "哪些基因是 X 独有的", "核心/附属基因组", "共线性". Light steps (FastANI, MUMmer) run locally in the bio_tools conda env and produce tables ready for vivarium-report; the heavy step (OrthoFinder) is scaffolded as a ready-to-run command. Part of the vivarium comparative-genomics skill set.
Jason-0409-G/vivarium · ★ 1 · AI & Automation · score 74
Install: claude install-skill Jason-0409-G/vivarium
# vivarium-compare — genome relatedness, gene content, and structure Answer the three questions of comparative genomics — *how related?*, *what gene content do they share or not?*, *is the structure conserved?* — and return tables a reviewer can read, plus figures via vivarium-report. Light analyses run now in the `bio_tools` env; the one slow step (OrthoFinder) is handed back as an exact command rather than blocking the session. ## Step 1 — pick the comparison | Question | Analysis | Tool | Weight | |---|---|---|---| | How similar are these genomes? Same species? | **ANI** (nucleotide identity) | FastANI | light → run (bundled) | | Relatedness at the protein level (more sensitive, distant taxa) | **AAI** | EzAAI | light → run | | What genes are shared vs unique? Core/accessory? Pangenome? | **orthology** | OrthoFinder | heavy → **scaffold** | | Is gene order / structure conserved? Rearrangements? | **synteny** | MUMmer (nucmer) | moderate → run (bundled) | ANI ≥ ~95% is the conventional same-species boundary (Jain et al. 2018) — state it, don't assume it. ## Step 2 — run the light steps (bundled `compare.sh`) Call the script under this skill's directory by full path (Claude's cwd is the user's project). **ANI, all-vs-all → a square matrix** (drop it straight into vivarium-report `heatmap`): ```bash bash <skill-dir>/scripts/compare.sh ani --indir <genomes_dir> --out ani_matrix.tsv # or an explicit list: --list genomes.txt (one genome path per line) ``` The matrix