/ensembl-annotation
Query the Ensembl REST API for regulatory feature annotations, variant effect prediction (VEP), coordinate liftover, gene lookups, and cross-references. Use when the user needs to annotate variants with VEP (consequence, CADD, REVEL, SpliceAI), check Ensembl Regulatory Build
$ npx -y skills add ammawla/encode-toolkit --skill ensembl-annotation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ensembl-annotation
Context preview
The summary Claude sees to decide when to auto-load this skill.
Query the Ensembl REST API for regulatory feature annotations, variant effect prediction (VEP), coordinate liftover, gene lookups, and cross-references. Use when the user needs to annotate variants with VEP (consequence, CADD, REVEL, SpliceAI), check Ensembl Regulatory Build
SKILL.md
ensembl-annotation.SKILL.mdname: ensembl-annotation
description: Query the Ensembl REST API for regulatory feature annotations, variant effect prediction (VEP), coordinate liftover, gene lookups, and cross-references. Use when the user needs to annotate variants with VEP (consequence, CADD, REVEL, SpliceAI), check Ensembl Regulatory Build overlap for ENCODE regions, convert coordinates between GRCh37 and GRCh38, resolve gene IDs (Ensembl ↔ symbol ↔ RefSeq), look up gene phenotype associations, or cross-reference ENCODE targets with Ensembl annotations. Also use when the user mentions Ensembl, VEP, variant effect predictor, liftover, assembly conversion, regulatory build, gene lookup, or cross-references between databases.
Query the Ensembl REST API
When to Use
- User wants to annotate variants with Ensembl VEP (Variant Effect Predictor) consequences
- User asks about "VEP", "Ensembl", "variant annotation", "regulatory build", or "gene annotation"
- User needs to convert coordinates between assemblies using Ensembl's liftover API
- User wants to check the Ensembl Regulatory Build for overlap with ENCODE elements
- Example queries: "run VEP on my variant list", "annotate SNPs with regulatory consequences", "check Ensembl regulatory build for my peaks"
Annotate variants, look up regulatory features, convert coordinates, and resolve gene identifiers using the Ensembl REST API.
Scientific Rationale
**The question**: "What does the Ensembl Regulatory Build say about this region, and what is the predicted effect of this variant?"
The Ensembl Regulatory Build integrates ENCODE, Roadmap Epigenomics, and Blueprint data into a unified annotation of regulatory features across human cell types. The Variant Effect Predictor (VEP) is the standard tool for variant consequence prediction, integrating 50+ annotation sources including CADD, REVEL, SpliceAI, and AlphaMissense.
Ensembl ↔ ENCODE Feedback Loop
Ensembl's Regulatory Build incorporates ENCODE ChIP-seq, DNase-seq, and CTCF data to define regulatory features. Querying Ensembl after an ENCODE analysis provides an independent, aggregated view of regulatory annotations — often including data from non-ENCODE sources (Blueprint, Roadmap) that may cover biosamples not in ENCODE.
Literature Support
- **Cunningham et al. 2022** (Nucleic Acids Research): Ensembl 2022 update. [DOI](https://doi.org/10.1093/nar/gkab1049)
- **McLaren et al. 2016** (Genome Biology, ~4,500 citations): The Ensembl Variant Effect Predictor. [DOI](https://doi.org/10.1186/s13059-016-0974-4)
- **Zerbino et al. 2015** (Genome Biology): The Ensembl Regulatory Build. [DOI](https://doi.org/10.1186/s13059-015-0621-5)
API Reference
**Base URL**: `https://rest.ensembl.org` **Authentication**: None required **Rate limit**: Reasonable use expected; max 5Mb region queries **Formats**: JSON (default), XML, GFF3, BED **Current version**: Ensembl 114
Add `content-type: application/json` header to all requests.
Step 1: Regulatory Feature Overlap
Query what regulatory features the Ensembl Regulatory Build assigns to a region:
# Get regulatory features in a region
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/overlap/region/human/7:140424943-140624564?feature=regulatory"
# Also get TF binding motifs
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/overlap/region/human/7:140424943-140624564?feature=regulatory;feature=motif"
Regulatory Feature Types
| Type | Description | ENCODE Equivalent | |------|-------------|-------------------| | Promoter | Active promoter region | cCRE PLS | | Enhancer | Active enhancer region | cCRE pELS/dELS | | Open chromatin | Accessible region without H3K27ac | DNase-only sites | | CTCF binding site | CTCF-occupied region | cCRE CTCF-only | | TF binding site | Other TF binding | TF ChIP-seq peaks | | Promoter flanking | Region flanking a promoter | cCRE TssAFlnk |
Step 2: Variant Effect Prediction (VEP)
VEP provides consequence predictions for variants:
Single Variant (by region notation)
# VEP annotation for a variant
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/vep/human/region/9:22125503-22125502:1/C"
# By rs ID
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/vep/human/id/rs699"
Batch VEP (POST, up to 200 variants)
curl -X POST -H "Content-type: application/json" \
"https://rest.ensembl.org/vep/human/region" \
-d '{"variants": ["1 230710048 . A G . . .", "2 241533886 . T C . . ."]}'Key VEP Parameters
| Parameter | Description | Default | |-----------|-------------|---------| | `CADD=1` | Include CADD scores | Off | | `Enformer=1` | Include Enformer predictions | Off | | `AlphaMissense=1` | Include AlphaMissense pathogenicity | Off | | `REVEL=1` | Include REVEL scores | Off | | `SpliceAI=1` | Include SpliceAI splicing predictions | Off | | `regulatory=1` | Include regulatory feature overlap | Off | | `cell_type=` | Cell type for regulatory annotations | All |
VEP Consequence Hierarchy (most to least severe)
| Consequence | Impact | Description | |-------------|--------|-------------| | `transcript_ablation` | HIGH | Deletion of entire transcript | | `splice_donor_variant` | HIGH | Essential splice donor site | | `stop_gained` | HIGH | Premature stop codon | | `frameshift_variant` | HIGH | Reading frame change | | `missense_variant` | MODERATE | Amino acid change | | `splice_region_variant` | LOW | Near splice site | | `synonymous_variant` | LOW | No amino acid change | | `regulatory_region_variant` | MODIFIER | In regulatory element | | `intergenic_variant` | MODIFIER | Between genes |
**For ENCODE regulatory variants**: Most will be classified as `regulatory_region_variant` (MODIFIER impact). The VEP consequence alone does not capture regulatory impact — combine with ENCODE cCRE class, tissue activity, and TF disruption data.
Step 3: Coordinate Conversion (LiftOver)
Convert
Read more
name: ensembl-annotation description: Query the Ensembl REST API for regulatory feature annotations, variant effect prediction (VEP), coordinate liftover, gene lookups, and cross-references. Use when the user needs to annotate variants with VEP (consequence, CADD, REVEL, SpliceAI), check Ensembl Regulatory Build overlap for ENCODE regions, convert coordinates between GRCh37 and GRCh38, resolve gene IDs (Ensembl ↔ symbol ↔ RefSeq), look up gene phenotype associations, or cross-reference ENCODE targets with Ensembl annotations. Also use when the user mentions Ensembl, VEP, variant effect predictor, liftover, assembly conversion, regulatory build, gene lookup, or cross-references between databases.
Query the Ensembl REST API
When to Use
- User wants to annotate variants with Ensembl VEP (Variant Effect Predictor) consequences
- User asks about "VEP", "Ensembl", "variant annotation", "regulatory build", or "gene annotation"
- User needs to convert coordinates between assemblies using Ensembl's liftover API
- User wants to check the Ensembl Regulatory Build for overlap with ENCODE elements
- Example queries: "run VEP on my variant list", "annotate SNPs with regulatory consequences", "check Ensembl regulatory build for my peaks"
Annotate variants, look up regulatory features, convert coordinates, and resolve gene identifiers using the Ensembl REST API.
Scientific Rationale
**The question**: "What does the Ensembl Regulatory Build say about this region, and what is the predicted effect of this variant?"
The Ensembl Regulatory Build integrates ENCODE, Roadmap Epigenomics, and Blueprint data into a unified annotation of regulatory features across human cell types. The Variant Effect Predictor (VEP) is the standard tool for variant consequence prediction, integrating 50+ annotation sources including CADD, REVEL, SpliceAI, and AlphaMissense.
Ensembl ↔ ENCODE Feedback Loop
Ensembl's Regulatory Build incorporates ENCODE ChIP-seq, DNase-seq, and CTCF data to define regulatory features. Querying Ensembl after an ENCODE analysis provides an independent, aggregated view of regulatory annotations — often including data from non-ENCODE sources (Blueprint, Roadmap) that may cover biosamples not in ENCODE.
Literature Support
- **Cunningham et al. 2022** (Nucleic Acids Research): Ensembl 2022 update. [DOI](https://doi.org/10.1093/nar/gkab1049)
- **McLaren et al. 2016** (Genome Biology, ~4,500 citations): The Ensembl Variant Effect Predictor. [DOI](https://doi.org/10.1186/s13059-016-0974-4)
- **Zerbino et al. 2015** (Genome Biology): The Ensembl Regulatory Build. [DOI](https://doi.org/10.1186/s13059-015-0621-5)
API Reference
**Base URL**: `https://rest.ensembl.org` **Authentication**: None required **Rate limit**: Reasonable use expected; max 5Mb region queries **Formats**: JSON (default), XML, GFF3, BED **Current version**: Ensembl 114
Add `content-type: application/json` header to all requests.
Step 1: Regulatory Feature Overlap
Query what regulatory features the Ensembl Regulatory Build assigns to a region:
# Get regulatory features in a region curl -H "Content-type: application/json" \ "https://rest.ensembl.org/overlap/region/human/7:140424943-140624564?feature=regulatory" # Also get TF binding motifs curl -H "Content-type: application/json" \ "https://rest.ensembl.org/overlap/region/human/7:140424943-140624564?feature=regulatory;feature=motif"
Regulatory Feature Types
| Type | Description | ENCODE Equivalent | |------|-------------|-------------------| | Promoter | Active promoter region | cCRE PLS | | Enhancer | Active enhancer region | cCRE pELS/dELS | | Open chromatin | Accessible region without H3K27ac | DNase-only sites | | CTCF binding site | CTCF-occupied region | cCRE CTCF-only | | TF binding site | Other TF binding | TF ChIP-seq peaks | | Promoter flanking | Region flanking a promoter | cCRE TssAFlnk |
Step 2: Variant Effect Prediction (VEP)
VEP provides consequence predictions for variants:
Single Variant (by region notation)
# VEP annotation for a variant curl -H "Content-type: application/json" \ "https://rest.ensembl.org/vep/human/region/9:22125503-22125502:1/C" # By rs ID curl -H "Content-type: application/json" \ "https://rest.ensembl.org/vep/human/id/rs699"
Batch VEP (POST, up to 200 variants)
curl -X POST -H "Content-type: application/json" \
"https://rest.ensembl.org/vep/human/region" \
-d '{"variants": ["1 230710048 . A G . . .", "2 241533886 . T C . . ."]}'Key VEP Parameters
| Parameter | Description | Default | |-----------|-------------|---------| | `CADD=1` | Include CADD scores | Off | | `Enformer=1` | Include Enformer predictions | Off | | `AlphaMissense=1` | Include AlphaMissense pathogenicity | Off | | `REVEL=1` | Include REVEL scores | Off | | `SpliceAI=1` | Include SpliceAI splicing predictions | Off | | `regulatory=1` | Include regulatory feature overlap | Off | | `cell_type=` | Cell type for regulatory annotations | All |
VEP Consequence Hierarchy (most to least severe)
| Consequence | Impact | Description | |-------------|--------|-------------| | `transcript_ablation` | HIGH | Deletion of entire transcript | | `splice_donor_variant` | HIGH | Essential splice donor site | | `stop_gained` | HIGH | Premature stop codon | | `frameshift_variant` | HIGH | Reading frame change | | `missense_variant` | MODERATE | Amino acid change | | `splice_region_variant` | LOW | Near splice site | | `synonymous_variant` | LOW | No amino acid change | | `regulatory_region_variant` | MODIFIER | In regulatory element | | `intergenic_variant` | MODIFIER | Between genes |
**For ENCODE regulatory variants**: Most will be classified as `regulatory_region_variant` (MODIFIER impact). The VEP consequence alone does not capture regulatory impact — combine with ENCODE cCRE class, tissue activity, and TF disruption data.
Step 3: Coordinate Conversion (LiftOver)
Convert
Showing the first part of this file.
Search ENCODE, cross-reference 14 databases, run 7 analysis pipelines, and generate publication-ready methods — all from natural language in Claude Code.
Repo: ammawla/encode-toolkit
Other skills on encode-toolkit.
- /accessibility-aggregation
Build comprehensive chromatin accessibility maps by aggregating ATAC-seq and DNase-seq narrowPeak data across multiple ENCODE experiments, donors, and labs. Use when the user wants to answer "where is chromatin accessible in my tissue?" by combining peak calls into a union peak
Open skill - /batch-analysis
Guide for multi-experiment batch operations: QC screening, batch download, comparison, and report generation across many ENCODE experiments simultaneously. Use when users need to process 5+ experiments together, create experiment comparison tables, perform batch quality checks,
Open skill - /bioinformatics-installer
Install bioinformatics tools for ENCODE data analysis. Covers CLI tools (BWA, STAR, samtools, MACS2), R/Bioconductor packages (DESeq2, Seurat, ChIPseeker), Python packages (Scanpy, deeptools), and Nextflow pipeline infrastructure. Generates conda environments, R install scripts,
Open skill - /cellxgene-context
Guide for integrating CellxGene Census single-cell data with ENCODE bulk experiments. Use when users need cell-type-specific expression context for ENCODE regulatory data, want to deconvolve bulk ENCODE signals, or validate regulatory elements at single-cell resolution. Trigger
Open skill - /cite-encode
Generate proper ENCODE citations for publications, grants, and presentations. Use when the user needs to cite ENCODE data, create bibliography entries, write acknowledgment sections, or ensure compliance with ENCODE data use policy.
Open skill - /clinvar-annotation
Guide for annotating ENCODE regulatory variants with ClinVar clinical significance. Use when users need to check if variants in ENCODE peaks have clinical associations, find pathogenic variants in regulatory regions, or assess variant clinical impact. Trigger on: ClinVar,
Open skill

