[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:

http://grch37.ensembl.org/Homo_sapiens/Gene/Summary?db=core;g=ENSG00000205702;r=22:42536214-42540576

here is the code I use to fecth it:

$query_gene = "CYP2D7P";

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

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

Duarte
-------------- 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