genome-variant-annotation
Annotate variants with functional effects using SnpEff or Ensembl VEP, adding gene impact, population frequencies, and clinical significance.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- genome-variant-annotation
- description
- Annotate variants with functional effects using SnpEff or Ensembl VEP, adding gene impact, population frequencies, and clinical significance.
02 资源文件 9
- 参考文档agents/claude.yaml296 B
- 参考文档agents/openai.yaml297 B
- 参考文档agents/README.md322 B
- 资产文件assets/.gitkeep—
- 参考文档config.yaml326 B
- 参考文档references/README.md68 B
- 参考文档references/snpeff-vep.md5.1 KB
- 脚本scripts/batch_run.sh4.5 KB
- 脚本scripts/run.sh6.7 KB
03 SKILL.md 正文
Skill: genome-variant-annotation
Use When
- User wants to annotate variants with gene and transcript impact predictions.
- User needs to predict functional consequences (missense, nonsense, splice-site, etc.).
- User wants to add population allele frequencies (gnomAD, 1000 Genomes).
- User wants to add clinical annotations (ClinVar significance).
- User needs to compare annotation engines (SnpEff vs VEP).
Inputs
- Required:
- Filtered VCF file (
.vcf.gz).
- Filtered VCF file (
- Optional:
- Annotator choice:
snpefforvep(default:snpeff). - Genome build (default:
GRCh38). - Cache directory for annotation databases.
- Additional VEP plugins or fields (e.g., CADD, LOFTEE).
- Output format (default: VCF).
- Annotator choice:
Workflow
- If SnpEff: run
snpEff annwith the appropriate database (e.g.,GRCh38.105), producing an annotated VCF and summary stats HTML. - If VEP: run
vepwith--cache,--mergedor--refseq, and add plugins (CADD, gnomAD, ClinVar, LOFTEE). - Add fields to each variant: gene symbol, consequence, impact tier (HIGH / MODERATE / LOW / MODIFIER), HGVS notation.
- Optionally add population allele frequencies from gnomAD.
- Generate summary statistics: variants by impact category, genes with HIGH-impact variants.
Output Contract
- Annotated VCF file (
.vcf.gz). - Annotation summary: HTML report (SnpEff) or stats file (VEP).
- Variant impact distribution (HIGH, MODERATE, LOW, MODIFIER counts).
Limits
- SnpEff and VEP annotation databases must be pre-downloaded to the cache directory.
- VEP plugins (CADD, LOFTEE, gnomAD) require separate data file downloads.
- Annotation databases must match the reference genome build (GRCh37 vs GRCh38).
- VEP is generally slower but more configurable than SnpEff.
- Large VCFs (millions of variants) may require significant memory and runtime.
- Common failure cases:
- SnpEff database name not matching the reference build (e.g., using
hg19when VCF is onGRCh38). - VEP cache directory missing or not matching the installed VEP version.
- VEP plugin data files (CADD, LOFTEE) not downloaded or path misconfigured.
- SnpEff database name not matching the reference build (e.g., using
04 同仓库更多 Skills
structured-intelligence-skill-creator
Create or update repository skills that conform to local templates, provider metadata requirements, registry rules, and validation workflows.
stat-survival-analysis
Estimate and compare survival functions using Kaplan-Meier curves and log-rank test, with optional Cox proportional hazards regression.
stat-pca
Perform PCA on a numeric data matrix to reduce dimensionality, visualize sample structure, and identify top contributing features.
stat-pairwise-correlation
Compute pairwise correlations and significance tests across all numeric variables, and produce a correlation heatmap.
stat-nonlinear-embedding
Embed high-dimensional data into 2D using t-SNE or UMAP for exploratory visualization of sample or cell relationships.
stat-logistic-regression
Fit a logistic regression model for binary outcomes, report odds ratios and model performance (AUC-ROC, confusion matrix).