用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills --skill ena-sequence-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
中英双语学术降 AIGC / bilingual academic de-AIGC skill. Removes AI-generated writing signatures from empirical papers in economics, management, and the social sciences — in both English and Chinese. Covers Turnitin AI, GPTZero, Originality.ai on the English side and 知网 AMLC, 万方, 维普 on the Chinese side. Uses a six-step loop (intake → audit → claim-evidence check → differentiated rewrite → five-dimension self-score → cold-reader recheck) with two pattern libraries (22 English + 17 Chinese patterns), section-by-section strategies for empirical papers, and hard protections that keep every number, coefficient, and citation intact.
Use when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an explicitly approved Kaggle write/delete operation through the official CLI.
基于 SOC 职业分类
正在显示 SKILL.md
| name | ena-sequence-api |
| description | Access nucleotide sequence data from the European Nucleotide Archive |
| metadata | {"openclaw":{"emoji":"🔬","category":"domains","subcategory":"biomedical","keywords":["ENA","nucleotide sequences","genomics","EMBL-EBI","sequencing data","NGS"],"source":"https://www.ebi.ac.uk/ena/"}} |
The European Nucleotide Archive (ENA) at EMBL-EBI is one of the three global nucleotide sequence databases (with NCBI GenBank and DDBJ). It provides access to raw sequencing reads, assembled sequences, and functional annotations from all organisms. The API supports accession lookup, text search, and bulk data retrieval. Free, no authentication required.
# Search for studies
curl "https://www.ebi.ac.uk/ena/portal/api/search?query=CRISPR+cas9&result=study&limit=20&format=json"
# Search for samples
curl "https://www.ebi.ac.uk/ena/portal/api/search?query=human+gut+microbiome&result=sample&limit=20&format=json"
# Search for runs (sequencing data)
curl "https://www.ebi.ac.uk/ena/portal/api/search?query=RNA-seq+cancer&result=read_run&limit=20&format=json"
# Get record by accession
curl "https://www.ebi.ac.uk/ena/browser/api/xml/PRJEB12345"
# Get in JSON format
curl "https://www.ebi.ac.uk/ena/browser/api/summary/PRJEB12345"
# Get sequence in FASTA
curl "https://www.ebi.ac.uk/ena/browser/api/fasta/AF123456"
# Get in EMBL flat file format
curl "https://www.ebi.ac.uk/ena/browser/api/embl/AF123456"
# Search by organism
curl "https://www.ebi.ac.uk/ena/portal/api/search?query=tax_tree(9606)&result=study&limit=20&format=json"
# Get taxonomy details
curl "https://www.ebi.ac.uk/ena/taxonomy/rest/tax-id/9606"
| Type | Description | Example accession |
|---|---|---|
study | Research project | PRJEB12345 |
sample | Biological sample | SAMEA12345 |
experiment | Library/protocol | ERX12345 |
read_run | Sequencing run | ERR12345 |
analysis | Computed analysis | ERZ12345 |
sequence | Assembled sequence | AF123456 |
wgs_set | Whole genome shotgun | AABR00000000 |
| Parameter | Description | Example |
|---|---|---|
query | Search text or taxonomy | query=SARS-CoV-2 |
result | Result type | result=study |
limit | Max results (default 100K) | limit=50 |
offset | Pagination offset | offset=100 |
format | Response format | json, tsv, xml |
fields | Specific fields | fields=accession,description |
import requests
PORTAL_URL = "https://www.ebi.ac.uk/ena/portal/api"
BROWSER_URL = "https://www.ebi.ac.uk/ena/browser/api"
def search_studies(query: str, limit: int = 20) -> list:
"""Search ENA for research studies."""
params = {
"query": query,
"result": "study",
"limit": limit,
"format": "json",
"fields": "study_accession,study_title,study_description,"
"tax_id,scientific_name,center_name",
}
resp = requests.get(f"{PORTAL_URL}/search", params=params)
resp.raise_for_status()
return resp.json()
def search_runs(query: str, limit: int = 20) -> list:
"""Search for sequencing runs."""
params = {
"query": query,
"result": "read_run",
"limit": limit,
"format": "json",
"fields": "run_accession,experiment_title,instrument_platform,"
"library_strategy,read_count,base_count",
}
resp = requests.get(f"{PORTAL_URL}/search", params=params)
resp.raise_for_status()
return resp.json()
def get_fasta() -> :
resp = requests.get()
resp.raise_for_status()
resp.text
() -> :
params = {
: ,
: ,
: ,
: ,
: ,
}
resp = requests.get(, params=params)
resp.raise_for_status()
resp.json()
studies = search_studies(, limit=)
s studies:
()
()
runs = search_runs(, limit=)
r runs:
reads = (r.get(, ))
()
(
)
# Download FASTQ files (from run metadata)
# The fastq_ftp field provides FTP paths:
wget ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR123/ERR123456/ERR123456_1.fastq.gz
# Bulk download via Aspera (faster)
ascp -QT -l 300m -P33001 \
era-fasp@fasp.sra.ebi.ac.uk:/vol1/fastq/ERR123/ERR123456/ ./