velan has asked for the wisdom of the Perl Monks concerning the following question:

I have tried to install bioperl in so many ways but i ma not succeed while i am running a perl script >perl molwt.pl Can't locate Bio/DB/GenBank.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at molwt.pl line 3. BEGIN failed--compilation aborted at molwt.pl line 3. this is message i got help me

Replies are listed 'Best First'.
Re: Bio::Perl installation
by Khen1950fx (Canon) on May 08, 2010 at 20:31 UTC
    Try this:
    #!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->force('install', "Bundle::BioPerl", "Bio::Seq", "Bio::SeqIO::staden::read", "Bio::Factory::EMBOSS", "Bio::Tk::SeqCanvas", "Bio::DB::Annotation");
Re: Bio::Perl installation
by Anonymous Monk on May 08, 2010 at 16:38 UTC
Re: Bio::Perl installation
by biohisham (Priest) on May 09, 2010 at 05:20 UTC
    The error message you got shows that you have attempted to run the molwt.pl which needs the Bio::DB::GenBank Module, it doesn't show if BioPerl is installed or if some libraries got misplaced inadvertently, so show what you have attempted and what other errors encountered for these might be more relevant to your question.

    Installing BioPerl can be thorny at times since not all the packages needed for the installation are available from a single repository such as the CPAN, in fact, related libraries can be distributed over different repositories, so you got to connect to these repositories and maybe manage them on and off too, these quick tips can lead you to primers on these areas, try it out and it will work out..


    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.