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
                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
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM
              • 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...
                07-08-2026, 05:17 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-20-2026, 11:10 AM
              0 responses
              20 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-13-2026, 10:26 AM
              0 responses
              33 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-09-2026, 10:04 AM
              0 responses
              44 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-08-2026, 10:08 AM
              0 responses
              30 views
              0 reactions
              Last Post SEQadmin2  
              Working...