Medical-research-skills jaspar-api
Access JASPAR database for transcription factor binding profiles (matrices), collections, and species via REST API. Use when user wants to search for transcription factors, retrieve matrix details (PFM/PWM), infer profiles from protein sequences, or explore JASPAR collections.
install
source · Clone the upstream repo
git clone https://github.com/aipoch/medical-research-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aipoch/medical-research-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/scientific-skills/Evidence Insight/jaspar-api" ~/.claude/skills/aipoch-medical-research-skills-jaspar-api && rm -rf "$T"
manifest:
scientific-skills/Evidence Insight/jaspar-api/SKILL.mdsource content
JASPAR API
This skill provides access to the JASPAR database (https://jaspar.elixir.no/).
When to Use
- Use this skill when you need access jaspar database for transcription factor binding profiles (matrices), collections, and species via rest api. use when user wants to search for transcription factors, retrieve matrix details (pfm/pwm), infer profiles from protein sequences, or explore jaspar collections in a reproducible workflow.
- Use this skill when a evidence insight task needs a packaged method instead of ad-hoc freeform output.
- Use this skill when the user expects a concrete deliverable, validation step, or file-based result.
- Use this skill when
is the most direct path to complete the request.scripts/jaspar_client.py - Use this skill when you need the
package behavior rather than a generic answer.jaspar-api
Key Features
- Scope-focused workflow aligned to: Access JASPAR database for transcription factor binding profiles (matrices), collections, and species via REST API. Use when user wants to search for transcription factors, retrieve matrix details (PFM/PWM), infer profiles from protein sequences, or explore JASPAR collections.
- Packaged executable path(s):
.scripts/jaspar_client.py - Reference material available in
for task-specific guidance.references/ - Structured execution path designed to keep outputs consistent and reviewable.
Dependencies
:Python
. Repository baseline for current packaged skills.3.10+
:Third-party packages
. Add pinned versions if this skill needs stricter environment control.not explicitly version-pinned in this skill package
Example Usage
See
## Usage above for related details.
cd "20260316/scientific-skills/Evidence Insight/jaspar-api" python -m py_compile scripts/jaspar_client.py python scripts/jaspar_client.py --help
Example run plan:
- Confirm the user input, output path, and any required config values.
- Edit the in-file
block or documented parameters if the script uses fixed settings.CONFIG - Run
with the validated inputs.python scripts/jaspar_client.py - Review the generated output and return the final artifact with any assumptions called out.
Implementation Details
- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
- Primary implementation surface:
.scripts/jaspar_client.py - Reference guidance:
contains supporting rules, prompts, or checklists.references/ - Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.
Usage
1. Search Matrices (Profiles)
Search for transcription factor binding profiles.
python scripts/jaspar_client.py matrix_list --search "SMAD3" --tax_group "Vertebrates"
Supported parameters:
: Search term--search
: e.g., CORE, CNE--collection
: e.g., Vertebrates, Plants--tax_group
: e.g., 9606 (Human)--tax_id
: Transcription factor class--tf_class
:--version
(default) or specificlatest
: Results per page--page_size
2. Get Matrix Details
Retrieve details for a specific matrix ID (e.g., MA0001.1).
python scripts/jaspar_client.py matrix_read MA0001.1
3. Infer Profile from Sequence
Infer matrix profiles given a protein sequence.
python scripts/jaspar_client.py infer "SEQUENCE_STRING"
4. Collections and Species
List collections:
python scripts/jaspar_client.py collections_list
Get details for a species (by tax_id):
python scripts/jaspar_client.py species_read 9606
References
See
references/api_docs.md for full parameter lists and endpoint details.