[ensembl-dev] Error when trying to access SNPs

Lee Stopak lee.stopak at ada.com
Tue May 16 13:30:31 BST 2017


Hi Anja,

I have got it working. I had the packages set up incorrectly at the top.

Thanks anyways :)

Lee

On Tue, May 16, 2017 at 1:37 PM, Anja Thormann <anja at ebi.ac.uk> wrote:

> 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/
>
>
>
> _______________________________________________
> 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/0792c4e3/attachment.html>


More information about the Dev mailing list