<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear ENSEMBL developers,
<div><br>
</div>
<div>I have modified the registry in a way it was suggested as listed below:</div>
<div><br>
</div>
<div>
<div>use strict;</div>
<div><br>
</div>
<div>use Bio::EnsEMBL::Utils::ConfigRegistry;</div>
<div>use Bio::EnsEMBL::DBSQL::DBAdaptor;</div>
<div>use Bio::EnsEMBL::Variation::DBSQL::DBAdaptor;</div>
<div>use Bio::EnsEMBL::Compara::DBSQL::DBAdaptor;</div>
<div><br>
</div>
<div>new Bio::EnsEMBL::DBSQL::DBAdaptor(</div>
<div>  -species => 'Homo_sapiens',</div>
<div>  -user    => 'atchourb',</div>
<div>  -pass => 'abcd1234',</div>
<div>  -host    => 'localhost',</div>
<div>  -port    => '3306',</div>
<div>  -dbname  => 'homo_sapiens_core_70_37'</div>
<div>);</div>
<div><br>
</div>
<div>new Bio::EnsEMBL::Variation::DBSQL::DBAdaptor(</div>
<div>  -species => 'Homo_sapiens',</div>
<div>  -user    => 'atchourb',</div>
<div>  -pass => 'abcd1234',</div>
<div>  -host    => 'localhost',</div>
<div>  -port    => '3306',</div>
<div>  -dbname  => 'VCFdump'</div>
<div>);</div>
<div><br>
</div>
<div>my @aliases = ( 'H_Sapiens', 'human' );</div>
<div><br>
</div>
<div>Bio::EnsEMBL::Utils::ConfigRegistry->add_alias(</div>
<div>  -species => 'Homo sapiens',</div>
<div>  -alias   => \@aliases</div>
<div>);</div>
<div><br>
</div>
<div>1;</div>
</div>
<div><br>
</div>
<div>Now I am getting the following error:</div>
<div><br>
</div>
<div>Can't call method "dbc" without a package or object reference at /data/Alex/EnsemblAPI/ensembl-variation/scripts/import/import_vcf.pl line 1268.</div>
<div>and the application lists all the command line parameters. What do I need to change further for this simple case to work, I want to populate the database <font size="2">VCFdump with the variants that we have here, and </font>all<font size="2"> the database
 connectivity to the best of my knowledge should work without problems, I have been able to connect to the database with JDBC connection. Is there simple way to debug this situation to see what is missing in "dbc" object?</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Thanks for all the suggestions,</font></div>
<div><font size="2"><br>
</font></div>
<div><font size="2">Alexander</font></div>
</div>
</body>
</html>