Gene / CDS / Protein Sequence
get_sequenceFetch a plant locus sequence (genomic, CDS, cDNA, or protein) from Ensembl Plants for direct use in BLAST searches. Supports multiple organisms.
Instructions
Fetch a locus's sequence from Ensembl Plants. seq_type is one of genomic / cds / cdna / protein (default protein — the canonical-transcript product). Closes the lookup → fetch → BLAST loop: feed the returned sequence straight to blast_sequence (protein for blastp, cds/cdna for blastn). Defaults to arabidopsis_thaliana; pass organism= for other plant species.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locus | Yes | e.g. AT1G01010 (Arabidopsis), Os01g0100100 (rice) | |
| organism | No | Plant organism — accepts canonical slug (arabidopsis_thaliana), scientific or common name, or NCBI taxid | arabidopsis_thaliana |
| seq_type | No | Sequence type to fetch | protein |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Sequence type requested | |
| locus | Yes | ||
| length | Yes | Sequence length (residues for protein, bases otherwise) | |
| version | No | Ensembl sequence version | |
| molecule | No | "dna" or "protein" | |
| organism | Yes | Resolved canonical organism slug | |
| sequence | Yes | The sequence string; feed to blast_sequence | |
| ensembl_id | No | Resolved Ensembl stable id | |
| description | No |