[ensembl-dev] Error when trying to access SNPs

Anja Thormann anja at ebi.ac.uk
Tue May 16 12:37:53 BST 2017


Hello Lee,

could you please share the code that you are running to retrieve the variant data? It looks to me as if the variation adaptor is not defined.

Thank you,
Anja

> On 11 May 2017, at 17:56, Lee Stopak <lee.stopak at ada.com> wrote:
> 
> Hi all, 
> 
> I have just installed BioPerl to use Ensembl API to access SNP information that I need for a project that I am working on. I have followed all the prompts, and am trying to use the sample code to access variants, using the ‘fetch_by_name’ function. However, I am getting an error response: 
> 
> Can't call method "fetch_by_name" on an undefined value
> 
> Many other functions are working and running, for example getting by chromosome ID. Can somebody give me some advice on why this is happening?
> 
> Thank you, 
> 
> Lee
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: 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/20170516/a308bb88/attachment.html>


More information about the Dev mailing list