Question: not able to find statistics : Breakdancer
gravatar for sunnykevin97
4 months ago by
sunnykevin9710 wrote:

HI, I followed this link Breakdancer : Can't locate Statistics/ in @INC while trying to run It doesn't work for me, how to sort out ?.

 wget -O- | perl - -l ~/perl5 App::cpanminus local::lib --force
--2018-10-04 21:24:11--
Resolving,,, ...
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 302780 (296K) [text/plain]
Saving to: ‘STDOUT’

100%[==================================================================================================================================================================>] 3,02,780    --.-K/s   in 0.02s   

2018-10-04 21:24:11 (18.5 MB/s) - written to stdout [302780/302780]

--> Working on App::cpanminus
Fetching ... OK
Configuring App-cpanminus-1.7044 ... OK
Building and testing App-cpanminus-1.7044 ... FAIL
! Installing App::cpanminus failed. See /home/pinn/.cpanm/work/1538668451.38309/build.log for details. Retry with --force to force install it.
--> Working on local::lib
Fetching ... OK
Configuring local-lib-2.000024 ... OK
==> Found dependencies: ExtUtils::MakeMaker
--> Working on ExtUtils::MakeMaker
Fetching ... OK
Configuring ExtUtils-MakeMaker-7.34 ... OK
Building and testing ExtUtils-MakeMaker-7.34 ... FAIL
! Installing ExtUtils::MakeMaker failed. See /home/pinn/.cpanm/work/1538668451.38309/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Installed version (6.68) of ExtUtils::MakeMaker is not in range '7.00'
! Bailing out the installation for local-lib-2.000024.
assembly gen software error • 195 views
ADD COMMENTlink modified 4 months ago by RamRS20k • written 4 months ago by sunnykevin9710

Read the logs, it should have the cause of the install failure:

less /home/pinn/.cpanm/work/1538668451.38309/build.log
ADD REPLYlink written 4 months ago by h.mon23k

The program requires three Perl modules. That has to be installed first on your system.

starting few lines of code taken from

use strict;
use warnings;
use Getopt::Std;
use Statistics::Descriptive;
use GD::Graph::histogram;
use FindBin qw($Bin);
use lib "$FindBin::Bin";
#use lib '/gscuser/kchen/1000genomes/analysis/scripts/';
use AlnParser;

As you mentioned in your question, the error says the system is not able to find out Statistics::Descriptive module, so simply try to install it first with the help of CPAN.

sudo cpan install Statistics::Descriptive

You might get one more error while running this program, which will be concern about GD::Graph module. You need to install it too if it is not there on system.

To Resolve the GD:Graph issue you first have to install GD graph library (Tested on ubuntu 16.04 Server).

sudo apt-get install libgd2-xpm-dev
sudo cpan install GD::Graph::histogram
ADD REPLYlink modified 4 months ago • written 4 months ago by Nitin Narwade380

sudo ...

Nuh-uh, don't suggest sudo unless absolutely required (which is almost always never the case).

ADD REPLYlink written 4 months ago by RamRS20k

My general advice would be to stop using breakdancer. A whole host of more faster, more reliable, and more robust algorithms now exists (manta, lumpy, etc, etc)

ADD REPLYlink written 4 months ago by Chris Miller20k

thanks for your suggestion.

ADD REPLYlink written 4 months ago by sunnykevin9710
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1271 users visited in the last hour