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
        Advancing Precision Medicine for Rare Diseases in Children
        by seqadmin




        Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
        12-16-2024, 07:57 AM
      • seqadmin
        Recent Advances in Sequencing Technologies
        by seqadmin



        Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

        Long-Read Sequencing
        Long-read sequencing has seen remarkable advancements,...
        12-02-2024, 01:49 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 12-17-2024, 10:28 AM
      0 responses
      27 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-13-2024, 08:24 AM
      0 responses
      43 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-12-2024, 07:41 AM
      0 responses
      29 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-11-2024, 07:45 AM
      0 responses
      42 views
      0 likes
      Last Post seqadmin  
      Working...
      X