/ensembl/genes/sequences

POST /api/ensembl/genes/sequences

Price: 10 credits

Get the genomic, cDNA, CDS or protein sequence of an Ensembl feature

How to use it

The level of the id decides which `sequence_type` is meaningful: a transcript id gives cdna, cds or protein directly, while a gene id gives only `genomic` unless `multiple_sequences` is set, in which case one sequence per transcript comes back. `genomic` on a gene id is the whole locus including introns, which is far longer than the coding sequence. `mask`, `expand_5prime` and `expand_3prime` apply to genomic sequence only.

Parameters

Request body

Response

Errors

Response headers