Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • godzilla07
    Member
    • Nov 2010
    • 17

    #1

    can't get bam2cfg.pl to work

    I am using breakdancer1.1.2 and I've downloaded the two CPAN files for the bam2cfg.pl program but when I run the program bam2cfg.pl on 3 bam files I get:
    Can't locate Statistics/Descriptive.pm in @INC (@INC contains /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at bam2cfg.pl line 7.
    BEGIN failed--compilation aborted at bam2cfg.pl line 7.

    Any suggestions are appreciated.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Looks like you need to install this module: http://search.cpan.org/~shlomif/Stat...Descriptive.pm If it is installed then it is not in the @INC path. You can add that to path by http://www.perlhowto.com/extending_the_library_path.

    Comment

    • godzilla07
      Member
      • Nov 2010
      • 17

      #3
      Thankyou for your suggestion. I put the 2 modules into the @INC path but it still can't find the modules in @INC when I use bam2cfg. I also tried to modify the script by putting use lib "path to module" at the beginning of the bam2cfg script but I still keep getting the same error message! This is very frustrating.
      Is there a proper way to install these CPAN modules?

      Comment

      • godzilla07
        Member
        • Nov 2010
        • 17

        #4
        I was finally able to install the 2 modules Statistics:escriptive and Math::CDF modules correctly as root but now the bam2cfg program stops at line8 which is use GD::Graph::histogram. This module is not mentioned in the web page http://breakdancer.sourceforge.net/moreperl.html I tried to install this module using cpan but all of the make_tests are NO. How can I install this module correctly?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Originally posted by godzilla07 View Post
          I was finally able to install the 2 modules Statistics:escriptive and Math::CDF modules correctly as root but now the bam2cfg program stops at line8 which is use GD::Graph::histogram. This module is not mentioned in the web page http://breakdancer.sourceforge.net/moreperl.html I tried to install this module using cpan but all of the make_tests are NO. How can I install this module correctly?
          See if this helps: http://www.walkingrandomly.com/?p=55

          Comment

          • godzilla07
            Member
            • Nov 2010
            • 17

            #6
            breakdancer1.1.2 problems

            Thankyou GenoMax. I got bam2cfg.pl to finally work but now I can't get BreakDancerMax.cpp to work. When I use the command
            perl BreakDancerMax.cpp -t -q 10 -d config.ctx config.cfg > config.ctx, I get the below message. I had downloaded Breakdancer1.1.2 and this version does not have breakdancermax.pl. I don't know if this is the right command since I do not know what a .cpp file is.

            (Missing operator before main?)
            Operator or semicolon missing before *argv at BreakDancerMax.cpp line 11.
            Ambiguous use of * resolved as operator * at BreakDancerMax.cpp line 11.
            Bareword found where operator expected at BreakDancerMax.cpp line 14, near "// chromosome"
            (Missing operator before chromosome?)
            Bareword found where operator expected at BreakDancerMax.cpp line 20, near "//temporarily"
            (Missing operator before temporarily?)
            Bareword found where operator expected at BreakDancerMax.cpp line 21, near "//bool"
            (Missing operator before bool?)
            Bareword found where operator expected at BreakDancerMax.cpp line 23, near "//bool"
            (Missing operator before bool?)
            Bareword found where operator expected at BreakDancerMax.cpp line 24, near "//bool"
            (Missing operator before bool?)
            Bareword found where operator expected at BreakDancerMax.cpp line 25, near "// bool"
            (Missing operator before bool?)
            Bareword found where operator expected at BreakDancerMax.cpp line 26, near "// bool"
            (Missing operator before bool?)
            Bareword found where operator expected at BreakDancerMax.cpp line 28, near "//bool"
            (Missing operator before bool?)
            Bareword found where operator expected at BreakDancerMax.cpp line 29, near "//bool"
            (Missing operator before bool?)
            syntax error at BreakDancerMax.cpp line 11, near "// main function
            "
            syntax error at BreakDancerMax.cpp line 15, near "// chromosome
            "
            syntax error at BreakDancerMax.cpp line 20, near "//temporarily "
            syntax error at BreakDancerMax.cpp line 22, near "//bool
            float "
            syntax error at BreakDancerMax.cpp line 24, near "//bool
            "
            syntax error at BreakDancerMax.cpp line 25, near "//bool
            "
            syntax error at BreakDancerMax.cpp line 26, near "// bool
            "
            syntax error at BreakDancerMax.cpp line 27, near "// bool
            "
            syntax error at BreakDancerMax.cpp line 29, near "//bool
            "
            syntax error at BreakDancerMax.cpp line 30, near "//bool
            "
            BreakDancerMax.cpp has too many errors.

            Any help is appreciated. Thankyou

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              There are two versions of breakdancer. The one you are referencing now (*.cpp) is a C program file. This will not work with perl.

              Perl version: http://breakdancer.sourceforge.net/moreperl.html
              C version: http://breakdancer.sourceforge.net/morecpp.html See the section on differences from Perl version.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              40 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              29 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              41 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              45 views
              0 reactions
              Last Post SEQadmin2  
              Working...