<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Lee,<div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Thank you,</div><div class="">Anja</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 11 May 2017, at 17:56, Lee Stopak <<a href="mailto:lee.stopak@ada.com" class="">lee.stopak@ada.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><span style="font-size:12.8px" class="">Hi all, </span><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">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: </div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Can't call method "fetch_by_name" on an undefined value</span></div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-family:helvetica;font-size:12px" class="">Many other functions are working and running, for example getting by chromosome ID. Can somebody give me some advice on why this is happening?</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-family:helvetica;font-size:12px" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-family:helvetica;font-size:12px" class="">Thank you, </span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-family:helvetica;font-size:12px" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-family:helvetica;font-size:12px" class="">Lee</span></div></div>
_______________________________________________<br class="">Dev mailing list    <a href="mailto:Dev@ensembl.org" class="">Dev@ensembl.org</a><br class="">Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev" class="">http://lists.ensembl.org/mailman/listinfo/dev</a><br class="">Ensembl Blog: <a href="http://www.ensembl.info/" class="">http://www.ensembl.info/</a><br class=""></div></blockquote></div><br class=""></div></body></html>