/encode-toolkit:ensembl-annotationfrom encode-toolkit
Queries the Ensembl REST API for variant effect prediction (VEP), regulatory feature annotations, coordinate liftover, gene lookups, and cross-references between databases.
Ships in encode-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Annotate variants, look up regulatory features, convert coordinates, and resolve gene identifiers using the Ensembl REST API.
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'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.
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.
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"
| 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 |
VEP provides consequence predictions for variants:
# 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"
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 . . ."]}'
| 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 |
| 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.
Convert between GRCh37 (hg19) and GRCh38 (hg38):
# GRCh37 → GRCh38
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/map/human/GRCh37/17:1000000..1000100:1/GRCh38"
# GRCh38 → GRCh37
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/map/human/GRCh38/17:1000000..1000100:1/GRCh37"
When needed: Older GWAS studies report variants on GRCh37. ENCODE data uses GRCh38. Always liftOver before intersecting.
# By Ensembl ID
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/lookup/id/ENSG00000157764?expand=1"
# By symbol
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/lookup/symbol/homo_sapiens/BRAF"
# Get all external references for a gene
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/xrefs/id/ENSG00000157764"
# Filter by external DB
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/xrefs/id/ENSG00000157764?external_db=HGNC"
ENCODE integration: ENCODE target names are typically HGNC symbols or Ensembl IDs. Use this endpoint to resolve between identifier systems.
# Get phenotype associations for a gene
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/phenotype/gene/homo_sapiens/BRCA2"
# Get phenotype associations for a region
curl -H "Content-type: application/json" \
"https://rest.ensembl.org/phenotype/region/homo_sapiens/9:22125500-22136000"
1. Find ENCODE regulatory variants:
→ Intersect GWAS variants with ENCODE cCREs
2. Annotate with VEP:
curl "https://rest.ensembl.org/vep/human/id/rs699?CADD=1;regulatory=1;REVEL=1"
→ Get consequence, CADD score, regulatory overlap
3. Check Ensembl Regulatory Build for independent confirmation:
curl "https://rest.ensembl.org/overlap/region/human/CHR:START-END?feature=regulatory"
→ Compare with ENCODE cCRE classification
4. If working with GRCh37 data, liftOver:
curl "https://rest.ensembl.org/map/human/GRCh37/CHR:POS..POS:1/GRCh38"
5. Resolve gene identifiers for ENCODE targets:
curl "https://rest.ensembl.org/lookup/symbol/homo_sapiens/GENE_SYMBOL"
6. Check disease associations:
curl "https://rest.ensembl.org/phenotype/gene/homo_sapiens/GENE"
Goal: Use Ensembl VEP to predict functional consequences of variants located within ENCODE-defined regulatory elements, combining variant annotation with regulatory context. Context: Ensembl provides the gold-standard Variant Effect Predictor (VEP) and Regulatory Build. Combined with ENCODE peaks, this enables comprehensive variant interpretation.
encode_search_experiments(assay_title="ATAC-seq", organ="brain", organism="Homo sapiens")
Expected output:
{
"results": [
{"accession": "ENCSR800BRN", "assay_title": "ATAC-seq", "biosample_summary": "brain tissue male adult (54 years)", "assembly": ["GRCh38"], "status": "released"}
],
"total": 32,
"limit": 25,
"offset": 0,
"has_more": true,
"next_offset": 25
}
encode_download_files(file_accessions=["ENCFF900ATK"], download_dir="/data/brain_atac")
Using Ensembl REST API (via skill guidance):
POST https://rest.ensembl.org/vep/human/region
Content-Type: application/json
{"variants": ["1 230710048 . A G", "7 87160618 . T C"]}
Expected VEP output:
[
{
"input": "1 230710048 . A G",
"most_severe_consequence": "regulatory_region_variant",
"regulatory_feature_consequences": [
{
"regulatory_feature_id": "ENSR00000123456",
"biotype": "promoter",
"consequence_terms": ["regulatory_region_variant"]
}
]
}
]
Interpretation: VEP classifies this as a regulatory_region_variant in an Ensembl Regulatory Build promoter. Cross-referencing with the ENCODE ATAC-seq peak confirms the variant is in open chromatin in brain tissue.
If ENCODE peaks are in GRCh38 but variants are in hg19:
GET https://rest.ensembl.org/regulatory/species/homo_sapiens/id/ENSR00000123456
Interpretation: Compare Ensembl Regulatory Build activity with ENCODE experimental data. If the Regulatory Build calls a region a "promoter" and ENCODE H3K4me3 ChIP-seq confirms this, the annotation is high confidence.
# Step 1: Identify the gene's regulatory neighborhood
# (via Ensembl REST API — see skill instructions)
# Step 2: Search ENCODE for ChIP-seq at the gene locus
encode_search_experiments(
assay_title="Histone ChIP-seq",
organ="liver",
target="H3K27ac"
)
Expected output:
{
"results": [
{
"accession": "ENCSR123ABC",
"assay_title": "Histone ChIP-seq",
"target": "H3K27ac-human",
"biosample_summary": "liver tissue male adult (54 years)"
}
],
"total": 8,
"limit": 25,
"offset": 0,
"has_more": false,
"next_offset": null
}
encode_track_experiment(
accession="ENCSR123ABC",
notes="Liver H3K27ac for VEP-annotated enhancer variants"
)
Expected output:
{
"tracking": {"accession": "ENCSR123ABC", "action": "tracked"},
"publications_found": 1,
"publications": [
{
"pmid": "32728249",
"doi": "10.1038/s41586-020-2493-4",
"title": "An atlas of gene regulatory elements in adult human liver",
"authors": "Li YE, Preissl S, Hou X",
"journal": "Nature",
"year": "2020",
"abstract": ""
}
],
"pipelines_found": 1,
"pipelines": [
{"title": "Histone ChIP-seq 2 (unreplicated)", "version": "1.7.1", "software": [{"name": "bowtie2", "version": "2.3.4.3"}], "status": "released"}
]
}
| This skill produces... | Feed into... | Using tool/skill |
|---|---|---|
| VEP-annotated variant list | Regulatory variant filtering | variant-annotation skill |
| Gene annotations with coordinates | Peak-to-gene assignment | peak-annotation skill |
| Lifted-over coordinates (GRCh37→38) | ENCODE data integration | liftover-coordinates skill |
| Regulatory Build overlap results | Enhancer/promoter classification | regulatory-elements skill |
| Gene constraint scores | Target prioritization | cross-reference → Open Targets |
| Skill | When to Use Instead/Additionally |
|---|---|
variant-annotation | Full ENCODE-based post-GWAS workflow |
gnomad-variants | Population frequency and constraint data for variants |
regulatory-elements | ENCODE cCRE classification and chromatin state analysis |
ucsc-browser | UCSC-hosted ENCODE tracks and sequence retrieval |
disease-research | Connecting variants to disease mechanisms |
cross-reference | General external database cross-referencing |
publication-trust | Verify literature claims backing analytical decisions |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ensembl, vep, variant-annotation, regulatory-build, liftover, gene-lookup
npx claudepluginhub ammawla/encode-toolkit --plugin encode-toolkit47 skills in this plugin
/accessibility-aggregationBuild 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 set. Handles cross-lab variation, ATAC vs DNase platform differences, and ENCODE blocklist filtering./batch-analysisGuide 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, or generate summary reports. Trigger on: batch analysis, multiple experiments, bulk processing, experiment comparison, batch QC, multi-sample, batch download, experiment table, summary report, collection analysis./bioinformatics-installerInstall 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, and Python requirements. Use when the user needs to set up a bioinformatics workstation, install tools for a specific assay, create reproducible environments, or troubleshoot dependency issues. Trigger on: install tools, set up environment, conda create, bioinformatics setup, install R packages, install Bioconductor, install pipeline tools./cellxgene-contextGuide 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 on: CellxGene, single-cell atlas, cell type expression, Census, cell type specificity, single-cell context, scRNA-seq atlas./cite-encodeGenerate 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./clinvar-annotationGuide 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, clinical significance, pathogenic variant, variant classification, clinical variant, disease variant, VUS, benign, likely pathogenic.2 plugins in one repository ship this exact skill · first indexed Sep 22, 2026
Other plugins' skills for the same job