Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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


    • #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


      • #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


        • #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


          • #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


            • #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

              • seqadmin
                Current Approaches to Protein Sequencing
                by seqadmin


                Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                04-04-2024, 04:25 PM
              • seqadmin
                Strategies for Sequencing Challenging Samples
                by seqadmin


                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                03-22-2024, 06:39 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 04-11-2024, 12:08 PM
              0 responses
              30 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              32 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 09:21 AM
              0 responses
              28 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-04-2024, 09:00 AM
              0 responses
              53 views
              0 likes
              Last Post seqadmin  
              Working...
              X