genomic-epidemiology
Pathogen genomics for epidemiology — phylogenetics of outbreaks, transmission inference, and variant surveillance.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- genomic-epidemiology
- category
- scientific
- description
- Pathogen genomics for epidemiology — phylogenetics of outbreaks, transmission inference, and variant surveillance.
03 SKILL.md 正文
Overview
genomic-epidemiology uses pathogen genome sequences to answer epidemiologic questions: who infected whom, where a lineage came from, how fast it's spreading, and whether a new variant matters. It combines phylogenetics with field epidemiology — sequences alone rarely answer anything without epidemiologic metadata (dates, locations, exposures).
When to use
- Outbreak phylogenetics: lineage assignment, cluster identification.
- Transmission inference: combining genomics with contact tracing.
- Molecular-clock dating: when did a lineage emerge or enter a region?
- Variant surveillance: detecting and characterizing concerning lineages.
- Phylodynamics: estimating Re and growth rates from sequences.
- Evaluating sequencing strategy: sampling fraction, turnaround, representativeness.
Core concepts
- Sequences + metadata. A genome without collection date and location is nearly useless for epidemiology. Metadata standards (date, location, clinical context) must be enforced at sample collection — retroactive metadata recovery fails.
- Lineage assignment. Pangolin lineages (SARS-CoV-2), genotypes, clades — standardized nomenclatures that make sequences comparable across labs. Assign with maintained tools and versioned nomenclatures; designations evolve, so record the version.
- Phylogenetic basics for epi. Maximum-likelihood trees (IQ-TREE, RAxML) from aligned genomes; branch support (ultrafast bootstrap); rooting with outgroups or molecular clock. For outbreak-scale data with low diversity, few SNPs separate cases — tree topology is uncertain, and over-interpreting single branches is the commonest error.
- Molecular clocks. Substitution rate × time = divergence. Calibrated clocks date lineage emergence and introductions (BEAST, TreeTime). Rates vary by pathogen and genomic region — use pathogen-specific rates, and present date estimates with credible intervals, not points.
- Transmission inference. Genomic similarity constrains who-infected-whom but rarely determines it: identical genomes are consistent with direct transmission, common source, or coincidence in low-diversity outbreaks. Combine with contact data and timing (outbreak simulators like outbreaker2 integrate both). Never claim a direction of transmission from genomics alone without epidemiologic support.
- Phylodynamics. Coalescent and birth-death models estimate Re, growth rates, and introduction counts from sequence data (BEAST2). Powerful when surveillance is sparse, but sensitive to sampling bias — non-random sequencing (e.g. only severe cases) distorts everything.
- Variant assessment. A new lineage matters if it changes transmissibility, severity, or immune escape. Genomic features (mutations in key sites) generate hypotheses; epidemiologic data (growth advantage, vaccine breakthrough rates) test them. Sequence-first alarm without epi follow-up produces false panics.
- Sampling strategy. Representativeness beats volume: random population sampling with known denominators outperforms convenience sequencing of interesting cases. Track and report the sampling fraction and any selection criteria.
Practical workflow
- Collect with metadata. Enforce date/location/context at sampling; maintain cold chain and sequencing QC (coverage, contamination checks).
- Process. Consensus genomes with QC thresholds (e.g. >90% coverage, <X ambiguous bases); deposit in public databases (GISAID/GenBank) per policy.
- Assign and align. Lineage assignment (versioned); multiple sequence alignment (Nextclade/MAFFT); mask problematic sites.
- Phylogeny. ML tree + molecular-clock dating (TreeTime for speed, BEAST for rigor); annotate with epi metadata.
- Integrate. Overlay contact-tracing links; test transmission hypotheses with combined models; estimate introductions and growth.
- Surveil. Track lineage frequencies over time with CIs; flag growth advantages; characterize concerning mutations with epi follow-up.
- Report. Tree with support values, dating with intervals, sampling description, and explicit limits on transmission-direction claims.
Example command sketch:
nextclade run sequences.fasta --output-dir qc/ # QC + clade assignment
iqtree -s aligned.fasta -m GTR -bb 1000 # ML phylogeny
treetime --tree ml.tree --aln aligned.fasta --dates dates.csv # molecular clock
Common pitfalls
- Transmission direction claimed from genomics alone.
- Over-interpreting low-diversity tree topology (few SNPs, high uncertainty).
- Non-representative sequencing presented as population surveillance.
- Missing metadata making sequences uninterpretable.
- Molecular-clock dates reported as points without intervals.
- Variant alarm from sequence features without epidemiologic evidence.
- Contamination/quality failures creating fake "novel lineages."
04 同仓库更多 Skills
web-scrape
Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.
design-taste-frontend
tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).