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
                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                by SEQadmin2



                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                ...
                07-31-2026, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 08-06-2026, 07:41 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 08-03-2026, 10:13 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              41 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Working...