Przejdź do treści
Biblioteka skilli
Nauka i badania · Research

jaspar-database

/jaspar-database

Pobiera z bazy JASPAR profile wiązania czynników transkrypcyjnych, macierze PFM i PWM oraz identyfikatory genów w kilku formatach.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
08.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
5
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/jaspar_api.py

Co robi i kiedy

Pobiera z bazy JASPAR profile wiązania czynników transkrypcyjnych, macierze PFM i PWM oraz identyfikatory genów w kilku formatach.

Oryginalny opis (EN)

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).

Jak działa

  1. Prerequisites
  2. Core Rules
  3. Utility Scripts
  4. Anti-Patterns
Sekcje z nagłówków SKILL.md, w oryginale · 115 linii, 543 słów
Podgląd SKILL.md
---
name: jaspar-database
description: '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).

  '
metadata:
  category: data
  legacy_category: databases
  taxonomy_version: enzyme-agent/taxonomy/v1
  capability_ids:
  - data.scientific_database.retrieval
---

# JASPAR Skill

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?").

## Prerequisites

1.  **Python**: Run scripts directly with `python`; do not require `uv` unless the script explicitly fails without it.
2.  **User Notification**: If LICENSE_NOTIFICATION.txt does not already exist in
    this skill directory then (1) prominently notify the user to check the terms
    at https://jaspar.elixir.no/ and https://jaspar.elixir.no/api/, then (2)
    create the file recording the notification text and timestamp.

## Core Rules

**CRITICAL**: You MUST respect the JASPAR API Terms of Use by adhering to the
following:

-   **Use the Wrapper**: ALWAYS execute the provided helper scripts to query the
    database rather than accessing the database directly. The scripts
    automatically enforce the required rate limit gracefully.
-   **Maximum API Window Size**: The genomic window for a single API query MUST
    NOT exceed 100,000 bp (100kb). The `jaspar_api.py` script automatically
    chunks larger requests for you to bypass this limitation when querying
    larger regions.
-   **Valid Matrix IDs**: `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`.
-   **Taxonomy Required**: Resolving IDs requires a `tax_id` to ensure targeted
    searches. Common IDs: Human=9606, Mouse=10090.
-   **Notification**: If this skill is used, ensure this is mentioned in the
    output.

## Utility Scripts

Run all commands using the bundled Python script:

### 1. Resolve TF to Matrix ID

Maps a transcription factor name to a stable Matrix ID. Required step before
fetching motifs if only a gene name is provided.

```bash
python scripts/jaspar_api.py resolve_tf_id --name "JUN" --tax-id 9606
```

### 2. Get TF Motif (PFM)

Retrieves the raw Position Frequency Matrix for a specific TF. Supports
`--format` flag.

```bash
python scripts/jaspar_api.py get_tf_motif --matrix-id "MA0488.2"
python scripts/jaspar_api.py get_tf_motif --matrix-id "MA0488.2" --format meme
```

### 3. Get TF Metadata

Retrieves TF class, family, and links to external databases (e.g., UniProt).
Supports `--format` flag.

```bash
python scripts/jaspar_api.py get_tf_metadata --matrix-id "MA0488.2"
python scripts/jaspar_api.py get_tf_metadata --matrix-id "MA0488.2" --format yaml
```

### 4. Compute PWM (Position Weight Matrix)

Fetches the PFM for a matrix and converts it to log-odds scores (PWM).

```bash
python scripts/jaspar_api.py get_tf_pwm --matrix-id "MA0488.2"
python scripts/jaspar_api.py get_tf_pwm --matrix-id "MA0488.2" --pseudocount 0.1
```

### 5. Infer Matrix from Protein Sequence

Infers potential JASPAR matrix profiles from a raw transcription factor protein
sequence.

```bash
python scripts/jaspar_api.py infer_from_sequence --sequence "QAQLLPSHHVG"
```

### 6. Get TF Flexible Model (TFFM)

Retrieves metadata for a JASPAR TF Flexible Model. (Note: The JASPAR TFFM
endpoints occasionally experience 500 Internal Server errors).

```bash
python scripts/jaspar_api.py get_tffm --tffm-id "TFFM0001.1"
```

### Output Formats

The `get_tf_motif` and `get_tf_metadata` commands accept an optional `--format`
flag. Supported formats: `json` (default), `jsonp`, `jaspar`, `meme`,
`transfac`, `pfm`, `yaml`.

## Anti-Patterns

*   **DON'T** pass gene symbols (e.g., `JUN`) to `get_tf_motif`. You must pass
    the `MA...` Matrix ID.
*   **DON'T** forget the `--tax-id` when resolving a TF name.
*   **DON'T** use this skill for determining tissue-specific epigenetic
    availability (JASPAR shows *potential* binding, not *actual* tissue
    expression context).
*   **DON'T** use this skill to model how a specific protein mutation affects
    binding.
Pliki w paczce (5)
  • SKILL.md 4 KB
  • execution_profile.json 1 KB
  • scientific_contract.yaml 1 KB
  • agents/openai.yaml 1 KB
  • scripts/jaspar_api.py 9 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · ekko8600/enzyme_design_harness100Apache-2.0
google-deepmind/science-skills95Apache-2.0
mkurman/zorai95MIT
jaechang-hits/SciAgent-Skills93MIT

Migawka bazy z 13.11.2026 · wersja paczki 30cdaf057b8d (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100jaspar-api
    Udostępnia bazę JASPAR przez REST API: wyszukiwanie czynników transkrypcyjnych, pobieranie macierzy PFM i PWM, wnioskowanie profili z sekwencji białek i przeglądanie kolekcji.
  • 100alterlab-jaspar
    Odpytuje JASPAR o profile miejsc wiązania czynników transkrypcyjnych (PWM, PFM), skanuje sekwencje DNA pod kątem motywów i porównuje macierze.
  • 95jaspar-motifs
    Pomaga stosować profile wiązania JASPAR do danych ENCODE ChIP-seq: szukać motywów w pikach, weryfikować cele ChIP-seq i skanować regiony regulatorowe.
  • 95bio-motif-search
    Wyszukuje motywy sekwencji, zdegenerowane wzorce IUPAC i miejsca wiązania czynników transkrypcyjnych w DNA i RNA przez Biopython i regex, z oceną macierzami PWM i PSSM.
  • 93remap-database
    Odpytuje bazę pików ChIP-seq czynników transkrypcyjnych ReMap 2022 przez REST API i pliki BED: piki w regionie lub przy genie, według gatunku, biotypu i pary TF z typem komórek.
  • 100chea-api
    Pobiera dane ChEA3 i Harmonizome ChEA do analizy wzbogacenia czynników transkrypcyjnych dla zestawu genów oraz metadane zbioru i konkretnego czynnika.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.