[ensembl-dev] CCDS entries

Reece Hart reece at harts.net
Tue Apr 19 05:47:01 BST 2011


On Fri, Apr 8, 2011 at 4:51 AM, Oliver, Gavin
<gavin.oliver at almacgroup.com>wrote:

> Hi all – is there a quick way of checking if a transcript has a CCDS id
> associated with it?
>
>
>
> i.e. without cycling through all the xrefs
>
>
I didn't see an answer to your question on the list.

You should be able to do something like:
my (@ccds) = @{ $tx->get_all_DBLinks('CCDS') };
print "it has a CCDS\n" if @ccds;

$tx is a Bio::EnsEMBL::Transcript, of course.

-Reece
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20110418/17ff769a/attachment.html>


More information about the Dev mailing list