Bioproject Searchのロゴ

Bioproject Search

コミュニティ
ssinder
bioproject-search

Retrieves NCBI BioProject metadata — title, description, organism, submitter and release dates — for a batch of BioProject accessions, using the official NCBI E-utilities API rather than scraping the BioProject web pages. Supports keyword filtering over titles and descriptions, CSV/JSON export, and requires a contact email as the NCBI usage policy mandates. This skill should be used when looking up what a BioProject or PRJNA/PRD accession contains, retrieving sequencing project descriptions, or collecting BioProject metadata in bulk is requested.

Add to TypingMind

概要

公開者ssinder
リポジトリbioinformatics-agent-skills
スキル名bioproject-search
スター
75
フォーク
2
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ssinderがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Bioproject Search」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ssinder/bioinformatics-agent-skills/tree/main/skills/bioproject-search
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ssinder/bioinformatics-agent-skills.git /tmp/bioinformatics-agent-skills
mkdir -p .claude/skills
cp -r /tmp/bioinformatics-agent-skills/skills/bioproject-search .claude/skills/bioproject-search
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBioproject Searchを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBioproject Searchを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Bioproject Searchは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

BioProject Metadata Retrieval

Overview

This skill retrieves NCBI BioProject records through the official E-utilities API and exports them as CSV/JSON.

The alternative — scraping the BioProject web pages — is fragile in a way that is easy to underestimate. Page-scraping code ends up with selectors like div:nth-child(5) that encode the current number of wrapper elements in the page. When NCBI adjusts its layout, the selector silently stops matching and the description column comes back empty, which is indistinguishable from "this project has no description".

E-utilities returns structured XML with stable field names. The same query that works today keeps working after a website redesign.

The skill also follows NCBI's usage policy properly: a contact email is required (via --email or the BIOPIPE_EMAIL environment variable). NCBI uses the email to identify callers and to contact them when problems occur; fabricating placeholder addresses defeats that purpose and can get your IP rate-limited.

When to Use This Skill

  • Finding out what a specific BioProject / PRJNA / PRJEB accession contains
  • Collecting titles, descriptions and organisms for a list of projects
  • Screening projects by keyword before deciding which ones to download
  • Building a project catalogue for a methods or dataset section
  • Looking up submitter and release dates for citation purposes

Quick Start

bash
export PYTHONPATH="$PWD/packages"
export BIOPIPE_EMAIL="you@your-institution.edu"

# 从文件读取 accession
python scripts/search_bioprojects.py --ids prj_ids.txt --output-dir results/

# 直接给 accession
python scripts/search_bioprojects.py --ids PRJNA172563 PRJNA212358 --output-dir results/

# 只保留描述里提到 CRISPR 的项目
python scripts/search_bioprojects.py --ids prj_ids.txt --output-dir results/ --filter CRISPR

# 有 NCBI API key 时可提高限速(10 req/s)
python scripts/search_bioprojects.py --ids prj_ids.txt --output-dir results/ --api-key $NCBI_API_KEY

Workflow

  1. Collect accessions — --ids accepts accession strings or paths to text files (one per line, # for comments). Entries that do not look like BioProject accessions are reported and skipped rather than silently dropped.
  2. Resolve to UIDs — esearch translates accessions into NCBI's internal UIDs. The query uses the [Project Accession] field qualifier, without which an accession string can match unrelated records.
  3. Fetch details from two endpoints — esummary and efetch are called together and their results merged. This is not redundancy: no single endpoint carries every field. esummary is the only source for the structured organism name, taxonomy ID, project type and submitter organisation; efetch is the only source for the release date and the full description text. Calling only one of them silently drops about half the metadata without raising an error.
  4. Parse — the merged records carry accession, title, name, description, organism, taxonomy ID, project type, submitter, registration date, release date and last-update date. All three NCBI date formats are normalised to YYYY-MM-DD.
  5. Filter (optional) — --filter keeps records whose title, name or description contains the keyword (case-insensitive). --drop-noisy removes descriptions that look like page navigation rather than content.
  6. Export — bioproject_data.csv and bioproject_data.json are written to the output directory.

Parameters

ParameterDefaultDescription
--idsrequiredAccession list or path(s) to text files containing accessions
--output-dirbioproject_resultsOutput directory for the CSV/JSON results
--email$BIOPIPE_EMAILContact email (required by NCBI's usage policy)
--api-key$BIOPIPE_API_KEYNCBI API key; raises the rate limit from 3 to 10 req/s
--filternoneKeep only records whose title/name/description contains this keyword
--drop-noisyoffDrop descriptions that look like page navigation
--timeout60Per-request timeout in seconds

Outputs

FileContent
bioproject_data.csvOne row per project: accession, title, name, description, organism, taxid, study type, submitter, registration date, release date, last-update date, UID
bioproject_data.jsonSame content as nested JSON

Validation

  • A description should be a paragraph, not a sentence fragment. Empty or one-word descriptions usually mean the project record genuinely lacks one — some submitters provide only a title. Cross-check with the linked BioSample or SRA records.
  • The accession prefix indicates the archive — PRJNA (NCBI), PRJEB (EBI/ENA), PRJDB (DDBJ). A project submitted to ENA may be reachable through ENA's own portal rather than NCBI's.
  • Organism names come from the submitter and are not normalised. A project may list several organisms, in which case the field contains a comma-separated list rather than a single taxon — do not treat it as a single taxid. The organism field always holds a name; the numeric identifier belongs in taxid.
  • An empty date means "not recorded", not "zero". NCBI uses the placeholder 1/01/01 00:00 for "date unknown"; it is deliberately not converted into a real date, so the field stays empty. Do not interpret an empty registration_date as a bug — check whether the project is dbGaP-backed (those records have their submitter details stripped).
  • Release date may be in the future or absent for embargoed projects. An embargoed project returns its metadata to authorised submitters only; the public record will be sparse.
  • Search term semantics — [Project Accession] matches the accession field exactly. To search descriptions by keyword across all projects rather than a known list, use NCBI Entrez directly with bioproject[Filter] and a keyword term.
  • Search term semantics — [Project Accession] matches the accession field exactly. To search descriptions by keyword across all projects rather than a known list, use NCBI Entrez directly with bioproject[Filter] and a keyword term.

References

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Bioproject Search」では何ができますか?

Retrieves NCBI BioProject metadata — title, description, organism, submitter and release dates — for a batch of BioProject accessions, using the official NCBI E-utilities API rather than scraping the BioProject web pages. Supports keyword filtering over titles and descriptions, CSV/JSON export, and requires a contact email as the NCBI usage policy mandates. This skill should be used when looking up what a BioProject or PRJNA/PRD accession contains, retrieving sequencing project descriptions, or collecting BioProject metadata in bulk is requested.

TypingMindでBioproject Searchを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Bioproject Searchはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBioproject Searchをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ssinder/bioinformatics-agent-skills/tree/main/skills/bioproject-searchを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Bioproject Searchを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Bioproject Searchで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBioproject Searchを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Bioproject Search」は無料ですか?

はい。ssinderがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇