<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!
<div class=""><br class="">
</div>
<div class="">I have a mac with osx 10.11.3, and seem unable to set up the ensemble api correctly. I have followed these guides for installation:</div>
<div class=""><a href="http://www.ensembl.info/blog/2013/09/09/installing-perl-dbdmysql-and-ensembl-on-osx/" class="">http://www.ensembl.info/blog/2013/09/09/installing-perl-dbdmysql-and-ensembl-on-osx/</a></div>
<div class=""><a href="http://www.ensembl.org/info/docs/api/api_installation.html" class="">http://www.ensembl.org/info/docs/api/api_installation.html</a></div>
<div class=""><a href="http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/" class="">http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/</a></div>
<div class=""><a href="https://raw.githubusercontent.com/Ensembl/ensembl-variation/release/83/C_code/README.txt" class="">https://raw.githubusercontent.com/Ensembl/ensembl-variation/release/83/C_code/README.txt</a></div>
<div class="">Although some tweaking on some terminal commands was needed du to stricter root access in El Capitan than the OS X-installation guide accounted for, I think I have followed the guides and exported all paths correctly (did some of the steps multiple
 times to make sure I had downloaded it all)</div>
<div class=""><br class="">
</div>
<div class="">When pinging the servers I get:</div>
<div class="">
<div class="">Johanne@Johanne ~/src $ perl ensembl/misc-scripts/ping_ensembl.pl</div>
<div class=""><font face="Courier New" class="">Installation is good. Connection to Ensembl works and you can query the human core database</font></div>
<div class=""><br class="">
</div>
<div class="">Johanne@Johanne ~/src $ perl ensembl/misc-scripts/ping_ensembl.pl -ue</div>
<div class=""><font face="Courier New" class="">Installation is good. Connection to Ensembl works and you can query the human core database</font></div>
<div class=""><br class="">
</div>
<div class="">Johanne@Johanne ~/src $ perl ensembl/misc-scripts/ping_ensembl.pl -eg</div>
<div class=""><font face="Courier New" class="">ERROR: Error detected when connecting to Ensembl!</font></div>
<div class=""><font face="Courier New" class=""><span class="Apple-tab-span" style="white-space:pre"></span>Looks like you need to setup your PERL5LIB with the Ensembl API. Please consult
<a href="http://www.ensembl.org/info/docs/api/api_installation.html" class="">http://www.ensembl.org/info/docs/api/api_installation.html</a></font></div>
<div class=""><font face="Courier New" class="">================================================================================</font></div>
<div class=""><font face="Courier New" class="">If the problem persists please send the following error message to
<a href="mailto:helpdesk@ensembl.org" class="">helpdesk@ensembl.org</a></font></div>
<div class=""><font face="Courier New" class="">Can't locate Bio/EnsEMBL/LookUp.pm in @INC (@INC contains: /Users/Johanne/src/lib/perl/5.14.2/ /Users/Johanne/src/ensembl-io/modules /Users/Johanne/src/BioPerl-1.6.1 /Users/Johanne/src/ensembl/modules /Users/Johanne/src/ensembl-compara/modules
 /Users/Johanne/src/ensembl-variation/modules /Users/Johanne/src/ensembl-funcgen/modules /Users/Johanne/src/lib64/perl5 /Users/Johanne/src/ensembl-io/modules /Users/Johanne/src/lib/5.14.4/darwin-thread-multi-2level /Users/Johanne/src/lib/5.14.4 /Users/Johanne/src/bioperl-1.6.1
 /Users/Johanne/src/ensembl/modules /Users/Johanne/src/ensembl-compara/modules /Users/Johanne/src/ensembl-variation/modules /Users/Johanne/src/ensembl-funcgen/modules /Users/Johanne/src/lib/perl/5.14.2/ /Users/Johanne/src/ensembl-io/modules /Users/Johanne/src/BioPerl-1.6.1/
 /Users/Johanne/src/ensembl/modules/ /Users/Johanne/src/ensembl-compara/modules/ /Users/Johanne/src/ensembl-variation/modules/ /Users/Johanne/src/ensembl-funcgen/modules/ /Users/Johanne/src/lib/5.14.4//darwin-thread-multi-2level /Users/Johanne/src/lib/5.14.4/
 /Users/Johanne/src/ensembl-io/modules/ /Users/Johanne/src/BioPerl-1.6.1/ /Users/Johanne/src/ensembl/modules/ /Users/Johanne/src/ensembl-compara/modules/ /Users/Johanne/src/ensembl-variation/modules/ /Users/Johanne/src/ensembl-funcgen/modules/ /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/site_perl/5.14.4/darwin-thread-multi-2level
 /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/site_perl/5.14.4 /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/5.14.4/darwin-thread-multi-2level /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/5.14.4 .) at ensembl/misc-scripts/ping_ensembl.pl line 119.</font></div>
<div class=""><font face="Courier New" class="">================================================================================</font></div>
</div>
<div class=""><br class="">
</div>
<div class="">I am able to run the code under «LD calculation» on this page: <a href="http://www.ensembl.org/info/docs/api/variation/variation_tutorial.html#ld" class="">http://www.ensembl.org/info/docs/api/variation/variation_tutorial.html#ld</a></div>
<div class=""><br class="">
</div>
<div class="">However, if I run the code on this page: <a href="http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/" class="">
http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/</a> , I get the error message pasted below:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font face="Courier New" class="">-------------------- WARNING ----------------------</font></div>
<div class=""><font face="Courier New" class="">MSG: 'Bio::EnsEMBL::Variation::DBSQL::VCFCollectionAdaptor' cannot be found.</font></div>
<div class=""><font face="Courier New" class="">Exception Can't locate Tabix.pm in @INC (@INC contains: /Users/Johanne/src/lib/perl/5.14.2/ /Users/Johanne/src/ensembl-io/modules /Users/Johanne/src/BioPerl-1.6.1 /Users/Johanne/src/ensembl/modules /Users/Johanne/src/ensembl-compara/modules
 /Users/Johanne/src/ensembl-variation/modules /Users/Johanne/src/ensembl-funcgen/modules /Users/Johanne/src/lib64/perl5 /Users/Johanne/src/ensembl-io/modules /Users/Johanne/src/lib/5.14.4/darwin-thread-multi-2level /Users/Johanne/src/lib/5.14.4 /Users/Johanne/src/bioperl-1.6.1
 /Users/Johanne/src/ensembl/modules /Users/Johanne/src/ensembl-compara/modules /Users/Johanne/src/ensembl-variation/modules /Users/Johanne/src/ensembl-funcgen/modules /Users/Johanne/src/lib/perl/5.14.2/ /Users/Johanne/src/ensembl-io/modules /Users/Johanne/src/BioPerl-1.6.1/
 /Users/Johanne/src/ensembl/modules/ /Users/Johanne/src/ensembl-compara/modules/ /Users/Johanne/src/ensembl-variation/modules/ /Users/Johanne/src/ensembl-funcgen/modules/ /Users/Johanne/src/lib/5.14.4//darwin-thread-multi-2level /Users/Johanne/src/lib/5.14.4/
 /Users/Johanne/src/ensembl-io/modules/ /Users/Johanne/src/BioPerl-1.6.1/ /Users/Johanne/src/ensembl/modules/ /Users/Johanne/src/ensembl-compara/modules/ /Users/Johanne/src/ensembl-variation/modules/ /Users/Johanne/src/ensembl-funcgen/modules/ /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/site_perl/5.14.4/darwin-thread-multi-2level
 /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/site_perl/5.14.4 /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/5.14.4/darwin-thread-multi-2level /Users/Johanne/perl5/perlbrew/perls/5.14.4/lib/5.14.4 .) at /Users/Johanne/src/ensembl-io/modules/Bio/EnsEMBL/IO/TabixParser.pm
 line 40.</font></div>
<div class=""><font face="Courier New" class="">BEGIN failed--compilation aborted at /Users/Johanne/src/ensembl-io/modules/Bio/EnsEMBL/IO/TabixParser.pm line 40.</font></div>
<div class=""><font face="Courier New" class="">Compilation failed in require at /Users/Johanne/src/ensembl-io/modules/Bio/EnsEMBL/IO/Parser/VCF4Tabix.pm line 41.</font></div>
<div class=""><font face="Courier New" class="">BEGIN failed--compilation aborted at /Users/Johanne/src/ensembl-io/modules/Bio/EnsEMBL/IO/Parser/VCF4Tabix.pm line 41.</font></div>
<div class=""><font face="Courier New" class="">Compilation failed in require at /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/VCFCollection.pm line 76.</font></div>
<div class=""><font face="Courier New" class="">BEGIN failed--compilation aborted at /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/VCFCollection.pm line 76.</font></div>
<div class=""><font face="Courier New" class="">Compilation failed in require at /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VCFCollectionAdaptor.pm line 95.</font></div>
<div class=""><font face="Courier New" class="">BEGIN failed--compilation aborted at /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VCFCollectionAdaptor.pm line 95.</font></div>
<div class=""><font face="Courier New" class="">Compilation failed in require at (eval 250) line 2.</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class=""><font face="Courier New" class="">FILE: Bio/EnsEMBL/Registry.pm LINE: 1169</font></div>
<div class=""><font face="Courier New" class="">CALLED BY: EnsEMBL/DBSQL/DBAdaptor.pm  LINE: 988</font></div>
<div class=""><font face="Courier New" class="">Date (localtime)    = Fri Feb 19 22:32:06 2016</font></div>
<div class=""><font face="Courier New" class="">Ensembl API version = 83</font></div>
<div class=""><font face="Courier New" class="">---------------------------------------------------</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class=""><font face="Courier New" class="">-------------------- WARNING ----------------------</font></div>
<div class=""><font face="Courier New" class="">MSG: Could not find VCFCollection adaptor in the registry for homo_sapiens variation</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class=""><font face="Courier New" class="">FILE: EnsEMBL/DBSQL/DBAdaptor.pm LINE: 991</font></div>
<div class=""><font face="Courier New" class="">CALLED BY: Variation/DBSQL/SampleGenotypeAdaptor.pm  LINE: 287</font></div>
<div class=""><font face="Courier New" class="">Date (localtime)    = Fri Feb 19 22:32:06 2016</font></div>
<div class=""><font face="Courier New" class="">Ensembl API version = 83</font></div>
<div class=""><font face="Courier New" class="">---------------------------------------------------</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class=""><font face="Courier New" class="">-------------------- EXCEPTION --------------------</font></div>
<div class=""><font face="Courier New" class="">MSG: Could not get adaptor VCFCollection for homo_sapiens variation</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class=""><font face="Courier New" class="">STACK Bio::EnsEMBL::DBSQL::DBAdaptor::AUTOLOAD /Users/Johanne/src/ensembl/modules/Bio/EnsEMBL/DBSQL/DBAdaptor.pm:995</font></div>
<div class=""><font face="Courier New" class="">STACK Bio::EnsEMBL::Variation::DBSQL::SampleGenotypeAdaptor::fetch_all_by_Variation /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/SampleGenotypeAdaptor.pm:287</font></div>
<div class=""><font face="Courier New" class="">STACK Bio::EnsEMBL::Variation::Variation::get_all_SampleGenotypes /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/Variation.pm:987</font></div>
<div class=""><font face="Courier New" class="">STACK Bio::EnsEMBL::Variation::DBSQL::AlleleAdaptor::_fetch_all_by_Variation_from_Genotypes /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/AlleleAdaptor.pm:307</font></div>
<div class=""><font face="Courier New" class="">STACK Bio::EnsEMBL::Variation::DBSQL::AlleleAdaptor::fetch_all_by_Variation /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/AlleleAdaptor.pm:273</font></div>
<div class=""><font face="Courier New" class="">STACK Bio::EnsEMBL::Variation::Variation::get_all_Alleles /Users/Johanne/src/ensembl-variation/modules/Bio/EnsEMBL/Variation/Variation.pm:861</font></div>
<div class=""><font face="Courier New" class="">STACK toplevel testPerl.pl:17</font></div>
<div class=""><font face="Courier New" class="">Date (localtime)    = Fri Feb 19 22:32:06 2016</font></div>
<div class=""><font face="Courier New" class="">Ensembl API version = 83</font></div>
</div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
<div class="">Could you help me with the following:</div>
<div class="">1) Have I set up PERL5LIB wrong, as not all pings go through successfully?</div>
<div class="">2) Is there a different way of setting up Tabix and including it in the package when using OSX than described here: <a href="http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/" class="">http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/</a></div>
<div class="">3) Do you have any suggestions as to how I can set up the installation correctly in order to run the variation script?</div>
<div class=""><br class="">
</div>
<div class="">Any help is greatly appreciated!</div>
<div class=""><br class="">
</div>
<div class="">My apologies if this has been addressed somewhere before. I did not find any other people with the exact same issue when googling around.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Johanne Håøy Horn</div>
</body>
</html>