npx skills add ...
npx skills add google-deepmind/science-skills --skill jaspar-database
Query the JASPAR database for Transcription Factor (TF) binding profiles. Use when retrieving Position Frequency Matrices (PFMs) or Position Weight Matrices (PWMs) for specific TFs, resolving gene symbols to JASPAR Matrix IDs, or getting TF metadata. Supports multiple output formats (MEME, TRANSFAC, PFM, JASPAR, YAML).
npx skills add google-deepmind/science-skills --skill jaspar-database
JASPAR is the definitive open-access database for Transcription Factor (TF) binding profiles, stored as Position Frequency Matrices (PFMs).
Use this skill to map abstract sequence motifs or genomic regions to specific biological regulators (e.g., "what TFs bind here?" or "what is the motif for CTCF?").
uv: Read the uv skill and follow its Setup instructions to ensure
uv is installed and on PATH.CRITICAL: You MUST respect the JASPAR API Terms of Use by adhering to the following:
jaspar_api.py script automatically
chunks larger requests for you to bypass this limitation when querying
larger regions.get_tf_motif, get_tf_metadata, and get_tf_pwm
require a stable JASPAR Matrix ID (e.g., MA0488.2). If a user provides a
gene symbol (e.g., JUN), you must resolve it first using resolve_tf_id.tax_id to ensure targeted
searches. Common IDs: Human=9606, Mouse=10090.Run all commands using the bundled Python script:
Maps a transcription factor name to a stable Matrix ID. Required step before fetching motifs if only a gene name is provided.
Retrieves the raw Position Frequency Matrix for a specific TF. Supports
--format flag.
Retrieves TF class, family, and links to external databases (e.g., UniProt).
Supports --format flag.
Fetches the PFM for a matrix and converts it to log-odds scores (PWM).
Infers potential JASPAR matrix profiles from a raw transcription factor protein sequence.
Retrieves metadata for a JASPAR TF Flexible Model. (Note: The JASPAR TFFM endpoints occasionally experience 500 Internal Server errors).
The get_tf_motif and get_tf_metadata commands accept an optional --format
flag. Supported formats: json (default), jsonp, jaspar, meme,
transfac, pfm, yaml.
JUN) to get_tf_motif. You must pass
the MA... Matrix ID.--tax-id when resolving a TF name.uv run scripts/jaspar_api.py get_tf_metadata --matrix-id "MA0488.2"
uv run scripts/jaspar_api.py get_tf_metadata --matrix-id "MA0488.2" --format yamluv run scripts/jaspar_api.py get_tf_pwm --matrix-id "MA0488.2"
uv run scripts/jaspar_api.py get_tf_pwm --matrix-id "MA0488.2" --pseudocount 0.1uv run scripts/jaspar_api.py infer_from_sequence --sequence "QAQLLPSHHVG"uv run scripts/jaspar_api.py get_tffm --tffm-id "TFFM0001.1"