encode-database
ENCODE Portal REST API for regulatory genomics: TF ChIP-seq, ATAC-seq/DNase-seq peaks, histone marks, and RNA-seq across 1000+ cell types. Search experiments by assay/biosample/target; download BED/bigWig; retrieve SCREEN cCREs by region or gene. Use to annotate variants with regulatory tracks, find open chromatin in a cell type, or fetch peak files for ChIP/ATAC analysis. For regulatory variant scoring use regulomedb-database; for GWAS associations use gwas-database.
npx skills add BioTender-max/awesome-bio-agent-skills --skill encode-database --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Describes a skill that enables an AI agent to access ENCODE Portal data via REST API. It covers searching for experiments by assay, target, and biosample; retrieving and listing file metadata with download URLs for BED and bigWig files; querying SCREEN for cCREs by genomic region or near a gene; listing biosamples; and querying ChIP-seq experiments for a transcription factor. It also includes example Python code snippets for each task and notes on prerequisites and rate handling. The skill is intended to help annotate variants, identify open chromatin regions, fetch peak files for ChIP/ATAC, and link to RegulomeDB or GWAS databases as needed.
How it works
- Provides a Quick Start and multiple Queries that build HTTP requests to ENCODE endpoints with specific parameters (e.g., search for experiments by assay_title, target.label, biosample_ontology.term_name; retrieve files with type=File, dataset pointing to an experiment; query SCREEN with POST to the SCREEN search endpoint).
- For each operation, the skill specifies parameter keys, endpoint URLs, and typical response handling (e.g., parse @graph, extract fields like accession, biosample_summary, target label, lab title, date_released).
- It includes helper Python functions demonstrating how to perform:
- Query 1: Experiment search by assay, biosample, target
- Query 2: Get experiment files and download URLs; download a file
- Query 3: cCRE region queries via SCREEN API
- Query 4: Gene-centered cCRE lookup via SCREEN and ENCODE gene search
- Query 5: List biosamples
- Query 6: Retrieve all ChIP-seq experiments for a TF
- Query 7: Retrieve optimal peak sets (partial content shown in excerpt)
- The skill prescribes using the listed commands, file names, and tool names exactly as shown (e.g., requests.get, /search/, ENCODE portals, etc.).
When to use it
- When you need to download TF ChIP-seq peak files (BED) for a specific factor and cell type to annotate regulatory regions.
- When you want ATAC-seq or DNase-seq peaks in a cell type or to identify open chromatin regions near a gene.
- When you need to retrieve SCREEN cCREs overlapping a region or near a gene.
- When building reference regulatory tracks for variant annotation pipelines.
- When exploring which ENCODE experiments are available for a biosample before planning experiments.
- When you need pre-computed regulatory scores (RegulomeDB) or GWAS associations referenced in the description.
What it can touch
- Tools: claude-code (declared tool)
- Endpoints and data surfaces touched include: ENCODE Portal REST API search endpoints, File endpoints, SCREEN API, and ENCODE gene search endpoints. The skill shows usage of URL paths such as /search/, /experiments/{accession}/, and SCREEN endpoints.
Caveats
- License is CC-BY-4.0. No authentication required for public data; for submitter access, an Authorization header may be used.
- Rate handling suggested: time.sleep(0.5) between batch queries to avoid connection resets.
- The examples rely on publicly available ENCODE data and may depend on data availability and endpoint stability.
- The content is code-oriented and includes Python samples for interacting with ENCODE APIs; real use may require adapting to network policies and API changes.
# ENCODE Database ## Overview The ENCODE (Encyclopedia of DNA Elements) Project has generated thousands of functional genomics experiments — TF ChIP-seq, ATAC-seq, DNase-seq, histone ChIP-seq, and RNA-seq — across 1000+ human and mouse cell types and tissues. The ENCODE Portal REST API provides structured JSON access to experiment metadata, file download URLs, and SCREEN cCRE (candidate cis-Regulatory Elements) annotations. All data is freely accessible without authentication for most endpoints. ## When to Use - Downloading TF ChIP-seq peak files (BED) for a specific transcription factor and cell type to annotate regulatory regions - Finding ATAC-seq or DNase-seq peaks in a cell type to identify open chromatin regions near a gene of interest - Retrieving cCREs (candidate cis-Regulatory Elements) overlapping a genomic region from ENCODE SCREEN - Building reference regulatory tracks for variant annotation pipelines (e.g., annotating VCF variants against ENCODE peak sets) - Exploring which experiments are available for a biosample (cell line, tissue, developmental stage) before planning a wet-lab experiment - Querying all ChIP-seq experiments for a transcription factor across multiple
- Overview
- When to Use
- Prerequisites
- Quick Start
- Core API
- Query 1: Experiment Search — Find Experiments by Assay, Biosample, Target
- Query 2: File Download — Get Metadata and Download URLs for BED/bigWig Files
- Query 3: cCRE Region Query — ENCODE SCREEN Candidate cis-Regulatory Elements
- Query 4: Gene cCRE Lookup — Find cCREs Near a Gene
- Query 5: Biosample Browser — List Available Cell Types and Tissues
- Query 6: Target/TF Query — All ChIP-seq Experiments for a Transcription Factor
- Query 7: Peak Set Retrieval — Get Optimal Peak Set for an Experiment
- Key Concepts
- ENCODE Data Tiers and File Hierarchy
pip install requests pandas matplotlib
What does the encode-database skill do?
ENCODE Portal REST API for regulatory genomics: TF ChIP-seq, ATAC-seq/DNase-seq peaks, histone marks, and RNA-seq across 1000+ cell types. Search experiments by assay/biosample/target; download BED/bigWig; retrieve SCREEN cCREs by region or gene. Use to annotate variants with regulatory tracks, find open chromatin in a cell type, or fetch peak files for ChIP/ATAC analysis. For regulatory variant scoring use regulomedb-database; for GWAS associations use gwas-database.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill encode-database --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
