一键导入
genomic-variants
Genomic variant analysis — germline/somatic SNV, structural variants, CNV, GWAS, annotation, and filtering
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Genomic variant analysis — germline/somatic SNV, structural variants, CNV, GWAS, annotation, and filtering
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Molecular structure analysis, SAR triage, compound library characterization, QSAR modeling, ADMET prediction, chemical space visualization, target engagement assessment, drug perturbation connectivity scoring, and selectivity profiling
Chromatin regulation analysis — ATAC-seq, ChIP-seq, CUT&Tag/CUT&Run, differential binding, motif analysis, and scATAC-seq
Systematic drug repurposing via signature matching, target-based analysis, network proximity, genetic evidence scoring, and clinical evidence mining
Functional enrichment and pathway analysis including GSEA, ORA, ssGSEA, GSVA, and decoupler-based activity inference
Metabolomics and lipidomics analysis — untargeted/targeted workflows, normalization, annotation, and pathway mapping
Multi-omics integration methods including factor analysis, supervised classification, network fusion, and causal modeling across modalities
| name | genomic-variants |
| description | Genomic variant analysis — germline/somatic SNV, structural variants, CNV, GWAS, annotation, and filtering |
| version | 1.0.0 |
| tags | ["wgs","wes","gwas","variant-calling","cnv","structural-variants","plink2"] |
Comprehensive guidelines for variant calling, annotation, structural variant detection, copy number analysis, and genome-wide association studies.
Aligned BAM/CRAM (WGS or WES)
→ GATK HaplotypeCaller (gold standard, local assembly-based)
→ Joint genotyping via GenomicsDBImport + GenotypeGVCFs (cohort)
→ DeepVariant (deep learning-based, higher SNV accuracy on WGS)
→ FreeBayes (Bayesian haplotype-based, good for small cohorts)
Tumor BAM + matched normal BAM (preferred)
→ Mutect2 (GATK, default somatic caller)
→ FilterMutectCalls with contamination + orientation bias filters
→ Panel of normals (PoN) for artifact removal
Tumor-only mode (no matched normal)
→ Mutect2 --tumor-only with gnomAD resource for germline filtering
→ Higher false positive rate — requires stringent post-filtering
Short-read WGS
→ Manta (deletions, insertions, inversions, tandem duplications)
→ DELLY (split-read + paired-end, strong for balanced events)
→ Ensemble: merge calls from both, require support from >=1 caller
Long-read WGS (ONT/PacBio)
→ Sniffles2 (preferred for long reads)
→ cuteSV (alternative)
WES / targeted panels
→ CNVkit (default): reference-based log2 ratio segmentation
→ Requires a pool of normals or flat reference
WGS
→ GATK gCNV (cohort-based, HMM model)
→ Control-FREEC (alternative, GC-corrected)
Tumor samples
→ FACETS (joint estimation of purity, ploidy, allele-specific CNV)
→ Requires tumor + matched normal
Genotype data (VCF or PLINK format)
→ QC: missingness (<0.02), HWE (p > 1e-6), MAF (>0.01)
→ Population structure: PCA (top 10-20 PCs as covariates)
→ Relatedness check: KING (remove/flag related pairs)
→ Association testing:
→ PLINK2 --glm (default, fast, linear/logistic)
→ REGENIE (large biobank-scale, whole-genome regression)
→ SAIGE (case-control imbalance, saddlepoint approximation)
--glm command. Verify plink2 is on PATH before building a pipeline around it — it is installed on x86_64 only. There is no linux-aarch64 build, so on an arm64 host it is absent by design, not by misconfiguration, and no-egress means it cannot be installed at runtime. Probe (command -v plink2), and if it is missing, report the reason and fall back: bcftools/cyvcf2 for filtering, allele frequencies and missingness, statsmodels for per-variant association on a cyvcf2-extracted dosage matrix, scikit-learn PCA for population structure. references/plink2-cli.md maps each step to its substitute.VCF with called variants
→ VEP (Ensembl Variant Effect Predictor) — most comprehensive
→ Plugins: CADD, SpliceAI, AlphaMissense, ClinVar, gnomAD
→ SnpEff (faster, less annotation depth)
→ Suitable for quick functional annotation when VEP is unavailable
CLNREVSTAT before believing CLNSIG: a single-submitter claim with no assertion criteria is not equivalent to an expert-panel review, and reporting the two alike overstates confidence. Its contigs are unprefixed (1, not chr1), the opposite of the staged GENCODE annotation — reconcile naming before joining, or every intersect returns empty without erroring.WGS cohort (>=30 samples)
→ GATK VQSR (Variant Quality Score Recalibration)
→ Uses known variant sites (HapMap, 1000G, dbSNP) as training data
Small panels / small cohorts
→ Hard filters: QD > 2.0, FS < 60.0, MQ > 40.0, MQRankSum > -12.5, ReadPosRankSum > -8.0
→ Adjust thresholds based on data distribution
Rare variant analysis
→ gnomAD AF < 0.01 (rare), < 0.001 (very rare), absent (novel)
→ Filter by consequence: LoF, missense (CADD > 20), splice region
chrom, pos, ref, alt, gene, consequence, gnomAD_AF, CADD, clinical_significance.rsid, chrom, pos, ref, alt, beta/OR, se, pvalue, maf.Bio.SeqIO, Bio.Seq): Sequence parsing (FASTA/FASTQ/GenBank), sequence manipulation, restriction analysis.import() / export().scanBam(), BamFile(), pileup().DNAStringSet(), matchPattern(), reverseComplement().readGAlignments().readVcf(), info(), geno(). Complements cyvcf2 for R-based workflows.Guaranteed in the sandbox — rely on these freely:
--min-alleles, --maf, --max-missing, --weir-fst-pop).This pack starts from aligned reads or called variants. Alignment, duplicate marking, primary variant calling and read QC are upstream of it: if you were handed FASTQ, say so and stop rather than planning a step around a tool you would have to go looking for.
references/pysam-api.md — BAM/CRAM reading and pileup operationsreferences/cyvcf2-api.md — Fast VCF parsing in Pythonreferences/pyranges-api.md — Genomic interval arithmeticreferences/plink2-cli.md — PLINK2 commands for GWAS QC and association testing