Ena
v0.2.1European Nucleotide Archive (ENA) — EMBL-EBI's public record of raw sequencing runs, assemblies…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ena_search
Search the European Nucleotide Archive for sequencing runs, studies, samples, assemblies or annotated sequence using ENA's own query grammar. AUTHORITATIVE for "which public sequencing data exists for this organism / disease / country / platform" — ENA is an INSDC partner, so it covers data deposited to NCBI SRA and DDBJ as well. PREFER OVER WEB SEARCH for any question about what raw sequence data has been deposited. Query examples: tax_eq(2697049) for SARS-CoV-2 and its descendants, tax_tree(9606) for human and below, country="United Kingdom", first_public>=2026-01-01, library_strategy="WGS…
| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated columns to return. Omit for a sensible default set for the result type — an explicit empty value would return the accession column alone. Valid names per result type come from ena_re… |
limit | number | Maximum rows, 1-1000 (default 25). Note: upstream treats 0 as unlimited; this tool does not pass 0 through. |
query | string | ENA query expression, e.g. tax_eq(2697049), tax_tree(9606) AND library_strategy="WGS", country="Kenya" AND first_public>=2025-01-01. Omit to list the newest records of the result type. |
result | string | ENA result type to search. Common: read_run (raw sequencing runs), study, sample, experiment, analysis, assembly, sequence. Defaults to read_run. Full list from ena_results_types. |
sortFields | string | Comma-separated columns to sort by. |
ena_filereport
List every sequencing data file behind an ENA accession, with direct FASTQ/BAM/CRAM download URLs, byte sizes and MD5 checksums. AUTHORITATIVE for "where do I actually download the reads for this study/run/sample" — give it a study accession (PRJEB37886, PRJNA…), run (ERR…, SRR…, DRR…), sample (SAMEA…, SAMN…) or experiment, and it returns one row per run with its files. The multi-file semicolon-separated upstream fields are split into arrays here, so a caller does not silently fetch only the first mate of a paired-end run.
| Parameter | Type | Description |
|---|---|---|
accession * | string | ENA/INSDC accession: study (PRJEB37886, PRJNA…), run (ERR…/SRR…/DRR…), sample (SAMEA…/SAMN…), experiment (ERX…/SRX…) or taxon id. Must match the pattern the chosen result type accepts. |
fields | string | Comma-separated columns. Omit for a file-oriented default set (URLs, sizes, checksums). |
limit | number | Maximum rows, 1-1000 (default 25). |
result | string | Result type to report files for. Default read_run; also analysis, assembly, wgs_set. |
ena_results_types
List every ENA result type you can search — with its live record count and last-updated date — and, for one named result type, every field you may query or return. This is the schema-discovery step for ena_search: ENA rejects an unknown or wrong-result-type field name outright, so reading the field list first is cheaper than guessing. Also useful on its own for "how much public sequence data exists right now" — the counts are the archive's live totals.
| Parameter | Type | Description |
|---|---|---|
result | string | Optional result type (e.g. read_run, study, sample) to also list its searchable/returnable fields. Omit to list result types only. |