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
        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
      27 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      31 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      27 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X