Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shocker8786
    Member
    • Jan 2013
    • 28

    #1

    Problem running BSmooth

    I'm trying to use BSmooth to align RRBS reads. I keep getting an error after the program processes 70000 reads:

    Processed 65000 reads (19.171 knt/s, 28.502% align in 1 orientation, 48.277% in >1, 23.222% in 0)..
    .
    Processed 70000 reads (19.058 knt/s, 28.486% align in 1 orientation, 48.230% in >1, 23.284% in 0)..
    .
    Can't locate Scalar/Util.pm: Too many open files at /usr/share/perl/5.14/overload.pm line 97, <$al_cri_fh> line 78708.
    bowtie2-align died with signal 13 (PIPE)
    bowtie2-align died with signal 13 (PIPE)

    Line 97 states:

    require Scalar::Util;

    I looked up Scalar::Util and found the path:

    Scalar/Util.pm => /usr/lib/perl/5.14/Scalar/Util.pm

    But I can't seem to get the program to locate Scalar/Util.pm. This is my first time trying to use BSmooth, does anyone know how to fix this issue? Thanks!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    If the module is indeed installed at the path you are referring to above (and that path is not in @INC variable) then you can extend the perl library path to include that location as indicated here: http://www.perlhowto.com/extending_the_library_path. Use one of the three options indicated on that page.

    Comment

    • shocker8786
      Member
      • Jan 2013
      • 28

      #3
      Thanks for your reply. I tried extending the library using those options in the link, but I still have the same error. I checked the @INC paths and the path to the Scalar/Util.pm (/usr/lib/perl/5.14/Scalar/Util.pm) is there.

      /usr/local/lib/perl/5.14.2
      /usr/local/share/perl/5.14.2
      /usr/lib/perl5
      /usr/share/perl5
      /usr/lib/perl/5.14
      /usr/share/perl/5.14
      /usr/local/lib/site_perl

      Is there anything else I can check?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        What OS are you running this on? I am wondering if the "Too many open files at /usr/share/perl/5.14/" error is coming from OS.

        Comment

        • brentp
          Member
          • Apr 2010
          • 72

          #5
          Yes, that's a message from the OS. On linux you can increase that like so: http://www.cyberciti.biz/faq/linux-i...of-open-files/

          you could also try reducing the number of threads that BSmooth => bowtie is using.

          Comment

          • shocker8786
            Member
            • Jan 2013
            • 28

            #6
            Thanks. I do not have administrative privilages, so I'm unable to increase the maximum number of open files (16384).

            How would I go about reducing the number of threads used?

            Comment

            • genefan
              Junior Member
              • Nov 2013
              • 7

              #7
              Hi Shocker, does the command perl bswc_bowtie2_align.pl work in your case?
              Thanks!

              #############################
              I was aligning short reads obtained from Illumina but always got an error as following:
              perl bswc_bowtie2_align.pl --out=./outReadslevel/ --sam=./outputSAM/chr ./h.sapiens.bsIndex/chr ./h.sapiens.ref/chr*.fa ./SRA/sra_data.fastq
              Error: <mate1s/reads> not specified

              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, Today, 11:13 AM
              0 responses
              12 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Today, 10:48 AM
              0 responses
              11 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              32 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              40 views
              0 reactions
              Last Post SEQadmin2  
              Working...