Hi,
I'm trying to use the Ensembl REST API to retrieve CDS sequences which works great most of the time, but occasionally it returns an amino acid sequence instead. Here's an example:
guest-028-002-021: User$ curl 'http://rest.ensemblgenomes.org/sequence/id/GLYMA13G38430.1?content-type=text/x-fasta;type=cds'
>GLYMA13G38430.1
MPAGIMIPARNMPSMIGRNGTVGGFGLSSGLSLGQIENHKASESQRSEEMFQPNLMEAGQ
LHPLDMPQNTSESDVPRIREDDFDSATKSGSENLEGASGEDQDPRPNKKKRYHRHTQHQI
QEMEAFFKECPHPDDKQRKELSRELGLEPLQVKFWFQNKRTQMKTQHERHENTQLRTENE
KLRADNMRFREALGNASCPNCGGPTAIGEMSFDEHHLRLENARLREEIDRISAIAAKYVG
KPVVSYPLVSPSSIPPRPLELGIGGGFGGQPGGTGGDMYGGAAGDLLRSISGPTEADKPI
IIELAVAAMEELIGMAQMGEPLWLTTLDGTTVLNEDEYIRSFPRGIGPKPAGFKFEASRE
TAVVIMNHVNLVEILMDVNQWSTVFAGIVSRAMTLEVLSTGVAGNYNGALQVMTAEVQVP
SPLVPTRESYFVRYCKQHGDGTWAVVDVSLDNLRPSPSARCRRRPSGCLIQEMPNGYSKV
IWVEHVEVDDRGVHNLYKQLVSSGHAFGAKRWVATLDRQCERLASAMATNIPTVDVGVIT
NQDGRKSMLKLAERMVISFCAGVSASTAHTWTTLSGTGADDVRVMTRKSVDDPGRPPGIV
LSAATSFWLPVSPKRVFEFLRDENSRSEWDILSNGGVVQEMAHIANGRDTGNCVSLLRVN
SANSSQSNMLILQESCADSTGSFVIYAPVDIVAMNVVLNGGDPDYVALLPSGFAILPDGT
TAHGGGIGDTGHGGSLLTVAFQILVDSVPTAKLSLGSVATVNNLIACTVERIKAALSGEV
A
Am I doing something wrong? GLYMA13G38430.1 is a valid TranscriptID when I look it up on the Ensembl Genomes website. I'm stumped. I'd appreciate any suggestions that folks might have. Thanks!
Not sure at the moment. Fairly sure it's not you. In touch with our developers to find out.