К основному содержанию
скилл CX Codex

unibind-database — скилл для Claude Code: что делает, установка

Скилл ищет экспериментально подтверждённые сайты связывания транскрипционных факторов в UniBind и скачивает координаты BED или FASTA для локального анализа.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add google-deepmind/science-skills --skill unibind-database -a claude-code
npx skills add google-deepmind/science-skills --skill unibind_database -a claude-code
Открыть на GitHub

Что делает unibind-database

unibind-database обращается к UniBind за данными прямых взаимодействий TF с ДНК. Он перечисляет виды, коллекции, клеточные линии, транскрипционные факторы и наборы данных, фильтрует их по параметрам, показывает детали выбранного набора и скачивает TFBS в формате BED или FASTA.

Внутри используется скрипт scripts/unibind_api.py, который запускается через uv run и сам соблюдает ограничение частоты запросов. Для больших ответов предусмотрена обработка через jq или uvx --from jmespath jp, а результаты можно сохранить через --output; списки разбиваются параметрами --page и --page-size.

Перед работой нужен установленный uv. При первом использовании в корне рабочего пространства создаётся файл с уведомлением об условиях UniBind. Скилл не предназначен для поиска конкретных генов, интервалов и координат, моделей мотивов или данных экспрессии, поэтому для таких задач он сломает ожидаемый сценарий.

Какие задачи решает

  • найти наборы данных по виду, TF или клеточной линии
  • получить сведения о выбранном наборе UniBind
  • скачать TFBS-координаты в BED или FASTA
  • перечислить доступные виды и коллекции
  • отфильтровать наборы по источнику данных или p-value

Примеры запросов агенту

  • Используй скилл unibind-database, найди наборы для Homo sapiens и TF CTCF из ENCODE.
  • С помощью unibind-database покажи доступные клеточные линии и выведи только их имена через uvx --from jmespath jp.
  • Найди набор EXP047889.HMLE-Twist-ER_breast_cancer.SMAD3 и скачай его TFBS в /tmp/tfbs в формате bed.

Как установить unibind-database

1Через Skills CLI (Vercel)

npx skills add google-deepmind/science-skills --skill unibind-database -a claude-code
npx skills add google-deepmind/science-skills --skill unibind_database -a claude-code

2Вручную: положить файлы

~/.claude/skills/unibind_database/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/unibind_database/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о unibind-database

Как установить unibind-database в Claude Code?

Выполните npx skills add google-deepmind/science-skills --skill unibind-database -a claude-code, затем используйте файл ~/.claude/skills/unibind_database/SKILL.md.

Что делает unibind-database?

Скилл запрашивает в UniBind экспериментально подтверждённые сайты связывания транскрипционных факторов, фильтрует наборы данных и скачивает координаты в BED или FASTA.

Что нужно для работы с unibind-database?

Нужен uv в PATH. При первом использовании также требуется уведомить пользователя об условиях UniBind и создать файл .licenses/unibind_database_LICENSE.txt в корне рабочего пространства.

Исходный текст

SKILL.md · Apache-2.0
---
name: unibind-database
description: >-
  Queries the UniBind database for experimentally validated transcription factor
  (TF) binding sites. Use when retrieving direct TF-DNA interaction datasets,
  downloading binding site coordinates (BED/FASTA) for local analysis, or
  listing available datasets by species, cell line, or TF name. Don't use to
  query specific intervals, locations, genes, motif models or expression
  data.
---

# UniBind Database Skill

UniBind is a database of direct TF–DNA interactions across 9 species,
integrating ChIP-seq peaks with JASPAR TF binding profiles via the DAMO
framework.

## Prerequisites

1.  **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure
    `uv` is installed and on PATH.
2.  **User Notification**: If .licenses/unibind_database_LICENSE.txt does not
    already exist in the workspace root directory then (1) prominently notify
    the user to check the terms at https://unibind.uio.no/ and
    https://unibind.uio.no/api/overview, then (2) create the file recording the
    notification text and timestamp.

## Quick Start

Query commands print JSON to stdout by default. Most outputs are small enough to
read directly. For large outputs (`list_cell_lines`, `list_tfs`), pipe through
`jq` to extract only the fields you need.

```bash
uv run <SKILL DIR>/scripts/unibind_api.py list_species
```

The `download_tfbs` command writes BED/FASTA files to `--output-dir` instead.
You may optionally use `--output <path>` on any query command to save results to
a file if needed.

## Core Rules

-   **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.
-   **Output**: Query commands print JSON to stdout. Most responses are compact
    and can be read directly.
-   **Large Results**: `list_cell_lines` and `list_tfs` produce large output.
    Pipe these through `jq` to extract specific fields rather than reading the
    full output into context.
-   **Saving to File**: Use `--output <path>` when you need to reference the
    data later or when processing very large results with `jq`.
-   **Pagination**: Use `--page` and `--page-size` (max 1000) to chunk large
    result sets.
-   **Ordering**: Use `--order field_name` (prefix with `-` for descending) on
    any list command.
-   **Notification**: If this skill is used, ensure this is mentioned in the
    output.

## Utility Scripts

*Replace `<SKILL DIR>` with the absolute path to this skill's directory.*

### 1. List Species

```bash
uv run <SKILL DIR>/scripts/unibind_api.py list_species
```

### 2. List Collections

```bash
uv run <SKILL DIR>/scripts/unibind_api.py list_collections
```

### 3. List Cell Lines & TFs (large output — use `jp`)

These commands return large datasets. Use `uvx --from jmespath jp` to extract
only the fields you need.

```bash
uv run <SKILL DIR>/scripts/unibind_api.py list_cell_lines | uvx --from jmespath jp "results[].name"
uv run <SKILL DIR>/scripts/unibind_api.py list_tfs | uvx --from jmespath jp "results[].tf_name"
```

### 4. List and Filter Datasets (and Profile-Specific Datasets)

Filter datasets using the following arguments:

-   `--species` (e.g., "Homo sapiens")
-   `--tf-name` (e.g., "CTCF")
-   `--cell-line` (e.g., "mESC")
-   `--collection` (e.g., Permissive, Robust)
-   `--search` (a search term)
-   `--biological-condition` (biological condition or source)
-   `--data-source` (source of data, e.g., "ENCODE")
-   `--has-pvalue` ("true" or "false")
-   `--identifier` (e.g., "GSE60130")
-   `--jaspar-id` (JASPAR database profile matrix ID)
-   `--model` (prediction model)
-   `--summary` (summary filter)
-   `--threshold-pvalue` (p-value threshold)

Use `list_datasets` for standard datasets, or `list_specific_datasets` for
profile-specific queries.

```bash
uv run <SKILL DIR>/scripts/unibind_api.py list_datasets --species "Homo sapiens" --tf-name "CTCF" --data-source "ENCODE"
uv run <SKILL DIR>/scripts/unibind_api.py list_specific_datasets --species "Mus musculus" --cell-line "mESC"
```

### 5. Get Dataset Details

```bash
uv run <SKILL DIR>/scripts/unibind_api.py get_dataset "EXP047889.HMLE-Twist-ER_breast_cancer.SMAD3"
```

### 6. Download TFBS Files (BED / FASTA)

Downloads all TFBS files for a dataset to a local directory. Use `--format bed`
(default) or `--format fasta`.

```bash
uv run <SKILL DIR>/scripts/unibind_api.py download_tfbs "EXP047889.HMLE-Twist-ER_breast_cancer.SMAD3" --output-dir /tmp/tfbs --format bed
```

## Anti-Patterns

-   **DON'T** attempt to use the UniBind API to query specific genomic
    intervals, locations, or genes.
-   **DON'T** guess or hallucinate genome coordinates. Always use
    `ensembl-database` as an external check if you're pulling local BED tracks
    for offline bedtools intersection.
-   **DON'T** use for motif models (PFMs). Use the **jaspar-database** skill
    instead.
-   **DON'T** use for gene expression data. UniBind only stores binding events.
-   **DON'T** assume tissue-specific expression from dataset lists alone.
-   **DON'T** use `cat` to read large JSON output files into context. The output
    is too large. Use `jq` or write your own code to parse the output files.

© google-deepmind · Apache-2.0 · google-deepmind/science-skills

Похожие скиллы

Всё по теме «Наука и исследования» →
geniml K-Dense-AI Проверяет контракты BED и геномных универсумов, планирует запуски Region2Vec и scEmbed. Нужен перед локальным анализом геномных интервалов. CX Codex +1 1 900установок polars-bio K-Dense-AI Считает геномные интервалы в Polars DataFrame и читает биоинформатические форматы от BED до CRAM. Пригодится, когда пайплайн на Python перерос bedtools. CX Codex +1 1 900установок uniprot-skill официальный OpenAI Скилл отправляет короткие запросы к UniProt REST API и возвращает сводки по белкам, кластерам и последовательностям. Пригодится для точечных биоинформатических запросов. CX Codex GP ChatGPT 14установок rcsb-pdb-skill официальный OpenAI Скилл отправляет запросы к RCSB PDB для метаданных, поиска и FASTA. Подойдёт для точечных структурных запросов и коротких сводок. CX Codex GP ChatGPT 14установок vector-database-management manutej Скилл для работы с Pinecone, Weaviate и Chroma: индексы, эмбеддинги, поиск по сходству и RAG. Пригодится, когда нужно поднять семантический поиск в проекте. CX Codex +1 459установок vector-database-ops devops-skills Скилл для развёртывания и настройки векторных баз: Qdrant, Weaviate, pgvector, Pinecone. Пригодится, когда RAG или семантический поиск уходят в прод. CX Codex +1 310установок

Из того же набора39

ncbi-sequence-fetch Получает белковые и нуклеотидные последовательности из баз NCBI через E-utilities. Пригодится для поиска данных по номерам accession, генам, локусам, PubMed ID или патентам. CX Codex +1 2 200установок pubchem-database Скилл для работы с базой PubChem: ищет соединения по имени, CID или SMILES и вытаскивает свойства, безопасность и биоактивность. CX Codex +1 2 200установок alphafold-database-fetch-and-analyze Скачивает предсказанные структуры AlphaFold по UniProt ID и разбирает их: уверенность pLDDT, неупорядоченные участки, границы доменов. CX Codex +1 2 200установок pdb-database Ищет и выгружает экспериментальные 3D-структуры белков и лигандов из RCSB PDB по атрибутам, схожести последовательностей или химическому описанию. CX Codex +1 2 200установок ucsc-conservation-and-tfbs Тянет из UCSC Genome Browser оценки эволюционной консервации (phyloP, phastCons) и сайты связывания транскрипционных факторов. Нужен, когда разбираешь некодирующие варианты. CX Codex +1 2 100установок encode-ccres-database Скилл ищет цис-регуляторные элементы (cCRE) в базе ENCODE через SCREEN GraphQL API и выгружает данные экспериментов. Пригодится для анализа промоторов или энхансеров. CX Codex +1 2 100установок gnomad-database Скилл запрашивает данные gnomAD о частотах вариантов, ограничениях генов и вариантах в регионах. Нужен для генетических исследовательских задач. CX Codex +1 2 100установок quickgo-database Ходит в REST API QuickGO и ECO: связывает гены с биологическими процессами, функциями и клеточными компонентами. Нужен, когда разбираешь аннотации генов. CX Codex +1 2 100установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой