Chuyển đến nội dung
Skillpedia
Cơ sở dữ liệu33k · #8948

ena-database

Skill này làm gì

Skill này cho agent của bạn truy vấn European Nucleotide Archive, kho lưu trữ công khai dữ liệu trình tự nucleotide. Skill dành cho nhà tin sinh học và nhà nghiên cứu di truyền học cần các file trình tự.

Khi nào nên dùng

  • ✓Khi bạn cần một chuỗi hoặc bộ lắp ráp genome theo số accession.
  • ✓Khi bạn muốn tải dữ liệu đọc FASTQ thô cho một nghiên cứu giải trình tự.
  • ✓Khi bạn cần tìm mẫu hoặc nghiên cứu theo siêu dữ liệu của chúng.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/ena-database/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/ena-database/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm các file đọc FASTQ thô của nghiên cứu ENA PRJEB12345 và liệt kê kích thước của chúng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent truy vấn REST API của ENA hoặc máy chủ FTP bằng mã accession hoặc siêu dữ liệu bạn cung cấp. Nó trả về các bản ghi khớp và có thể tải các file về.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

ENA Database

Overview

The European Nucleotide Archive (ENA) is a comprehensive public repository for nucleotide sequence data and associated metadata. Access and query DNA/RNA sequences, raw reads, genome assemblies, and functional annotations through REST APIs and FTP for genomics and bioinformatics pipelines.

When to Use This Skill

This skill should be used when:

  • Retrieving nucleotide sequences or raw sequencing reads by accession
  • Searching for samples, studies, or assemblies by metadata criteria
  • Downloading FASTQ files or genome assemblies for analysis
  • Querying taxonomic information for organisms
  • Accessing sequence annotations and functional data
  • Integrating ENA data into bioinformatics pipelines
  • Performing cross-reference searches to related databases
  • Bulk downloading datasets via FTP or Aspera

Core Capabilities

1. Data Types and Structure

ENA organizes data into hierarchical object types:

Studies/Projects - Group related data and control release dates. Studies are the primary unit for citing archived data.

Samples - Represent units of biomaterial from which sequencing libraries were produced. Samples must be registered before submitting most data types.

Raw Reads - Consist of:

  • Experiments: Metadata about sequencing methods, library preparation, and instrument details
  • Runs: References to data files containing raw sequencing reads from a single sequencing run

Assemblies - Genome, transcriptome, metagenome, or metatranscriptome assemblies at various completion levels.

Sequences - Assembled and annotated sequences stored in the EMBL Nucleotide Sequence Database, including coding/non-coding regions and functional annotations.

Analyses - Results from computational analyses of sequence data.

Taxonomy Records - Taxonomic information including lineage and rank.

2. Programmatic Access

ENA provides multiple REST APIs for data access. Consult references/api_reference.md for detailed endpoint documentation.

Key APIs:

ENA Portal API - Advanced search functionality across all ENA data types

ENA Browser API - Direct retrieval of records and metadata

ENA Taxonomy REST API - Query taxonomic information

  • Access lineage, rank, and related taxonomic data

ENA Cross Reference Service - Access related records from external databases

CRAM Reference Registry - Retrieve reference sequences

Rate Limiting: All APIs have a rate limit of 50 requests per second. Exceeding this returns HTTP 429 (Too Many Requests).

3. Searching and Retrieving Data

Browser-Based Search:

  • Free text search across all fields
  • Sequence similarity search (BLAST integration)
  • Cross-reference search to find related records
  • Advanced search with Rulespace query builder

Programmatic Queries:

  • Use Portal API for advanced searches at scale
  • Filter by data type, date range, taxonomy, or metadata fields
  • Download results as tabulated metadata summaries or XML records

Example API Query Pattern:

import requests

# Search for samples from a specific study
base_url = "https://www.ebi.ac.uk/ena/portal/api/search"
params = {
    "result": "sample",
    "query": "study_accession=PRJEB1234",
    "format": "json",
    "limit": 100
}

response = requests.get(base_url, params=params)
samples = response.json()

4. Data Retrieval Formats

Metadata Formats:

  • XML (native ENA format)
  • JSON (via Portal API)
  • TSV/CSV (tabulated summaries)

Sequence Data:

  • FASTQ (raw reads)
  • BAM/CRAM (aligned reads)
  • FASTA (assembled sequences)
  • EMBL flat file format (annotated sequences)

Download Methods:

  • Direct API download (small files)
  • FTP for bulk data transfer
  • Aspera for high-speed transfer of large datasets
  • enaBrowserTools command-line utility for bulk downloads

5. Common Use Cases

Retrieve raw sequencing reads by accession:

# Download run files using Browser API
accession = "ERR123456"
url = f"https://www.ebi.ac.uk/ena/browser/api/xml/{accession}"

Search for all samples in a study:

# Use Portal API t
Câu hỏi thường gặp

Mã accession là gì?

Đó là mã định danh duy nhất để nhận diện một chuỗi, nghiên cứu, mẫu hoặc bộ lắp ráp trong kho lưu trữ.

Nó có tải được các lô lớn không?

Có. Skill đề cập đến tải hàng loạt qua FTP hoặc Aspera.

Nó có cung cấp thông tin phân loại sinh vật không?

Có. Skill bao gồm việc truy vấn thông tin phân loại của các sinh vật.

Chi tiết

Mô tả gốc của tác giả

Access European Nucleotide Archive via API/FTP. Retrieve DNA/RNA sequences, raw reads (FASTQ), genome assemblies by accession, for genomics and bioinformatics pipelines. Supports multiple formats.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8948
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự