fetch_region
Fetch a genomic region by coordinates from Ensembl and store it.
For "find the genes in chr8:127,680,000-127,800,000"-style requests:
resolves a coordinate range to reference sequence and returns a handle
({ref, name, length, ...}) to pass to find_genes / predict_* — the bases
stay server-side. Plus strand by default, which is what the gene-finder
expects. For a gene by name use fetch_ensembl_sequence; for expression
use fetch_gene_for_expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | Genomic coordinates, e.g. 'chr8:127,680,000-127,800,000'. Commas, en/em dashes and '..' are accepted; the 'chr' prefix is optional. | |
| strand | No | 1 = plus (default), -1 = minus. find_genes (gene finding) is plus-oriented — keep 1 for annotation; use -1 only for a strand-sensitive task on a known minus-strand locus. | |
| species | No | Species name, e.g. 'human', 'mouse'. | human |
| flank_bp | No | Extra bp added on each side of the region. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||