[ensembl-dev] Genome build

Thibaut Hourlier th3 at sanger.ac.uk
Fri Jul 20 09:47:04 BST 2012


Hi Daniel,
If you want the assembly version here is some code:
my ($highest_cs) 
=$db->get_CoordSystemAdaptor-><http://www.ensembl.org/info/docs/Doxygen/core-api/classBio_1_1EnsEMBL_1_1DBSQL_1_1BaseAdaptor.html#aaaeb07304823b065e6ed47e3723b0e47>fetch_all()};
my $assembly = $highest_cs->version();

For human it will return "GRCh37"

Regards
Thibaut



On 19/07/12 23:54, Daniel Cuevas wrote:
> Hi to all,
>
> Is it possible to obtain information about the genome build or the 
> assembly release from the database using the Perl API? I just need to 
> know which one is actually using. Is this information in the database?
>
> Thank you in advance,
> Daniel
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> List admin (including subscribe/unsubscribe): http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

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


More information about the Dev mailing list