[ensembl-dev] question regarding geneadaptor

Duarte Molha duartemolha at gmail.com
Tue Nov 4 12:03:19 GMT 2014

Dear developer

I have simple script to fetch gene information and I am having problems
with a particular gene that I know is correct and on the database:


here is the code I use to fecth it:

$query_gene = "CYP2D7P";

my @fetched_genes =

however ...

this method returns an empty list.

Why is this?

I have also tried:

my @fetched_genes =  @{
$gene_adaptor->fetch_all_by_external_name($query_gene) };

and this also fails.

Can someone tell me what I am doing wrong?

Best regards

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

More information about the Dev mailing list