[ensembl-dev] CDS Incomplete status

Konrad Karczewski konradk at broadinstitute.org
Thu Apr 24 21:47:04 BST 2014


Hello!

I've been using the API to get the length of the coding portion of a transcript and I think I figured out the best way is:

my $transcript_cds_length = $transcript_variation->transcript->cdna_coding_end - $transcript_variation->transcript->cdna_coding_start + 1;

However, for some transcripts, this number is not a multiple of 3 (though it is approximately correct - within 2 bp of the number of AA's of the transcript * 3). It seems to happen when there is a "CDS Incomplete" status on the transcript (e.g. http://www.ensembl.org/Homo_sapiens/Transcript/Summary?g=ENSG00000162458;r=1:16084441-16091522;t=ENST00000510929). I would have thought if the CDS were incomplete then "cdna_coding_end" or "cdna_coding_start" would be undefined - is there another way to get the CDS Incomplete status?

And side note, is this the best way to get transcript length? I couldn't seem to find a direct reference to the length.

Thanks!
-Konrad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20140424/81c722f3/attachment.html>


More information about the Dev mailing list