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
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 08:47 AM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Working...
      X