Logo Bioproject Search

Bioproject Search

Cộng đồng
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

Tổng quan

Nhà phát hànhssinder
Kho mãbioinformatics-agent-skills
Tên kỹ năngbioproject-search
Sao
75
Bản fork
2
Tệp đi kèm
5
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ssinder công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Bioproject Search trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ssinder/bioinformatics-agent-skills/tree/main/skills/bioproject-search
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Bioproject Search trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Bioproject Search ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Bioproject Search với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Bioproject Search làm được gì?

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.

Vì sao nên dùng Bioproject Search trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Bioproject Search là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Bioproject Search trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ssinder/bioinformatics-agent-skills/tree/main/skills/bioproject-search. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Bioproject Search?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Bioproject Search với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Bioproject Search với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Bioproject Search có miễn phí không?

Có. Kỹ năng này được ssinder phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇