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
        Understanding Genetic Influence on Infectious Disease
        by seqadmin




        During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

        Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
        09-09-2024, 10:59 AM
      • seqadmin
        Addressing Off-Target Effects in CRISPR Technologies
        by seqadmin






        The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
        08-27-2024, 04:44 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 02:44 PM
      0 responses
      8 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-06-2024, 08:02 AM
      0 responses
      145 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-03-2024, 08:30 AM
      0 responses
      152 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 08-27-2024, 04:40 AM
      0 responses
      159 views
      0 likes
      Last Post seqadmin  
      Working...
      X