Unconfigured Ad

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

    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
                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                by SEQadmin2



                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                Yesterday, 05:17 AM
              • GATTACAT
                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by GATTACAT
                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                07-01-2026, 11:43 AM
              • SEQadmin2
                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                by SEQadmin2


                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                Here are nine questions we think about, in roughly the order they matter, before...
                06-18-2026, 07:11 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 10:08 AM
              0 responses
              6 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-07-2026, 11:05 AM
              0 responses
              8 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-02-2026, 11:08 AM
              0 responses
              31 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-30-2026, 05:37 AM
              0 responses
              29 views
              0 reactions
              Last Post SEQadmin2  
              Working...