Hello Altan
I am testing Bio::Homology::InterologWalk v 0.6b with Ensembl v64 and it
seems to work on my platform.
In order to make it easier for me to debug the errors you're seeing,
could you please test it once more, following these steps (I'm assuming
you're on a linux machine):
1-Please delete any instances of the ensembl API you might have
previously installed. In your home directory, create a src directory and
cd into it.
#------------
cd ~
mkdir src
cd src
#------------
2-Install Bioperl 1.2.3 as described here
http://www.ensembl.org/info/docs/api/api_cvs.html
3-Install the full Ensembl-64 api typing the following commands:
#-------------------------------------
cvs -d :pserver:cvsuser@cvs.sanger.ac.uk:/cvsroot/ensembl login
Logging in to :pserver:cvsuser@cvs.sanger.ac.uk:2401/cvsroot/ensembl
CVS password: CVSUSER
cvs -d :pserver:cvsuser@cvs.sanger.ac.uk:/cvsroot/ensembl checkout -r
branch-ensembl-64 ensembl-api
#-------------------------------------
The second command is particularly important - you will need ALL the
APIs for the module to work correctly.
4-At this stage, if all has gone smoothly, you should have the following
four directories under /home/YOURNAME/src:
bioperl-live
ensembl
ensembl-compara
ensembl-external
ensembl-functgenomics
ensembl-tools
ensembl-variation
5-Set up your environment as described here
http://www.ensembl.org/info/docs/api/api_installation.html
For example, for a fedora/RH linux machine, you'd open your .bashrc file
and type in the paths to those directories in point (4), as follows (I'm
assuming the vim editor is installed on your system, otherwise maybe try
gedit):
#-------------
vim ~/.bashrc
#-------------
and type the following at the bottom of the file:
#--------------
PERL5LIB=${PERL5LIB}:${HOME}/src/bioperl-1.2.3
PERL5LIB=${PERL5LIB}:${HOME}/src/ensembl/modules
PERL5LIB=${PERL5LIB}:${HOME}/src/ensembl-compara/modules
PERL5LIB=${PERL5LIB}:${HOME}/src/ensembl-variation/modules
PERL5LIB=${PERL5LIB}:${HOME}/src/ensembl-functgenomics/modules
export PERL5LIB
#-----------------
#(no need to export paths to ensembl-tools and ensembl-external)
Now save the file, and exit. Log off the session and log in again (This
is very important for the changes you've made to .bashrc to have effect)
6-At this time your Ensembl/Bioperl configuration should be complete.
You may now attempt the installation of Bio::Homology::InterologWalk.
Download it from here:
#----------
wget
http://search.cpan.org/CPAN/authors/id/G/GG/GGALLONE/Bio-Homology-InterologWalk-0.6b.tar.gz
#----------
then
#----------
tar xzvf Bio-Homology-InterologWalk-0.6b.tar.gz
#----------
and
#----------
cd Bio-Homology-InterologWalk-0.6b
#----------
now you can follow the included README for installation. Basically you'll do
#----------
perl Makefile.PL
#----------
the output should be the following (provided you have all the
prerequisite modules installed)
#----------
Checking for recommended module Algorithm::Combinatorics >= 0.25 ... ok.
Checking for required module Bio::EnsEMBL::Registry ... ok.
Checking for required module Bio::Perl ... ok.
Checking for required module Carp ... ok.
Checking for required module DBD::CSV ... ok.
Checking for recommended module Data::PowerSet >= 0.05 ... ok.
Checking for required module File::Glob ... ok.
Checking for required module GO::Parser ... ok.
Checking for recommended module Getopt::Long >= 2.38 ... ok.
Checking for recommended module Graph >= 0.94 ... ok.
Checking for required module List::Util ... ok.
Checking for required module REST::Client ... ok.
Checking for required module String::Approx ... ok.
Checking for recommended module URI::Escape >= 1.53 ... ok.
Checking if your kit is complete...
Looks good
Writing Makefile for Bio::Homology::InterologWalk
#-----------
Then you should do
#----------
make
#----------
which should give you the following output
#------------------
cp lib/Bio/Homology/InterologWalk.pm blib/lib/Bio/Homology/InterologWalk.pm
Manifying blib/man3/Bio::Homology::InterologWalk.3pm
#------------------
next do a
#------------
make test
#------------
This will take a while, and it will need a internet connection. It will
fail if the Ensembl/Intact services are down. A typical successful run
would look like this:
#----------------------------
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Bio-Homology-InterologWalk.t .. 1/19 #
#
# #######PLEASE NOTE######
# ########################
# In order for some of the following tests to succeed,
# remote services provided by Ensembl and Intact MUST BE ACTIVE.
# in case of multiple test failure,
# please check status of Ensembl services on announce@ensembl.org
# and status of EBI Intact PSICQUIC service on
# www.ebi.ac.uk/Tools/webservices/psicquic/registry/registry?action=STATUS
# ########################
# ########################
#
# Testing interfaces to remote services..Please be patient..
#
t/Bio-Homology-InterologWalk.t .. 13/19 add method for created_by at
/usr/local/share/perl5/GO/Handlers/obj.pm line 289, <GEN103> line 7644.
add method for creation_date at
/usr/local/share/perl5/GO/Handlers/obj.pm line 289, <GEN103> line 7644.
t/Bio-Homology-InterologWalk.t .. ok
All tests successful.
Files=1, Tests=19, 111 wallclock secs ( 0.05 usr 0.00 sys + 6.36 cusr
0.26 csys = 6.67 CPU)
Result: PASS
#----------------------------------
After this you'd just do a
make install
Let me know how it goes. I'm in the process of simplifying the
documentation for a new release - apologies for the complexity.
Cheers, G
On 10/14/13 19:40, Altan Kara via RT wrote:
Show quoted text> Queue: Bio-Homology-InterologWalk
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=89439 >
>
> Hi Giuseppe,
>
> I install the ensembl version 64 and try to run the same process(
> doInterologWalk.pl) again and this time I got this registry error:
>
> syntax error at /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1564,
> near "$type qw (core cdna vega otherfeatures rnaseq)"
> Global symbol "@dbs" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1575.
> Global symbol "$type" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1583.
> Global symbol "$type" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1598.
> Global symbol "$species_suffix" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1599.
> Global symbol "$host" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1600.
> Global symbol "$user" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1601.
> Global symbol "$pass" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1602.
> Global symbol "$port" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1603.
> Global symbol "$wait_timeout" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1605.
> Global symbol "$no_cache" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1606.
> Global symbol "$verbose" requires explicit package name at
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1608.
> syntax error at /root/ensembl/modules/Bio/EnsEMBL/Registry.pm line 1613,
> near "}"
> /root/ensembl/modules/Bio/EnsEMBL/Registry.pm has too many errors.
> Compilation failed in require at
> /usr/local/lib/perl5/site_perl/5.18.1/Bio/Homology/InterologWalk.pm line 7.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.18.1/Bio/Homology/InterologWalk.pm line 7.
> Compilation failed in require at doInterologWalk.pl line 17.
> BEGIN failed--compilation aborted at doInterologWalk.pl line 17.
> .......
>
> how can I fix this or can you send me registry file for ensembl v64 which
> wont create this error?
>
> Best regards
> Altan
>