Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Bismark_methylation_extractor problem

    I am getting the following error running bismark_methylation_extractor:

    bismark_methylation_extractor --bedGraph --counts SS116_S1_L001_R1_001.fastq.gz_bismark_bt2_pe.bam
    .......
    Failed to open filehandle: Too many open files at /opt/bismark_v0.14.5/bismark2bedGraph line 266, <IN> line 145753.

    My guess is that the program is only designed to work with "nice" reference genomes where the assemblies consist of just a few chromosomes (scaffolds).

    Aside from concatenating multiple scaffolds and deconvoluting the results afterward, does anyone know of a work-around?

  • #2
    The easiest workaround is to increase your file handle limit, if it's not already at the max.

    Comment


    • #3
      Code:
      --scaffolds/--gazillion  Users working with unfinished genomes sporting tens or even hundreds of thousands of
                               scaffolds/contigs/chromosomes frequently encountered errors with pre-sorting reads to
                               individual chromosome files. These errors were caused by the operating system's limit
                               of the number of filehandle that can be written to at any one time (typically 1024; to
                               find out this limit on Linux, type: ulimit -a).
                               To bypass the limitation of open filehandles, the option --scaffolds does not pre-sort
                               methylation calls into individual chromosome files. Instead, all input files are
                               temporarily merged into a single file (unless there is only a single file), and this
                               file will then be sorted by both chromosome AND position using the Unix sort command.
                               Please be aware that this option might take a looooong time to complete, depending on
                               the size of the input files, and the memory you allocate to this process (see --buffer_size).
                               Nevertheless, it seems to be working.

      Comment

      Latest Articles

      Collapse

      • 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
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      49 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      67 views
      0 likes
      Last Post seqadmin  
      Working...
      X