Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rstarke
    Junior Member
    • Feb 2011
    • 7

    #1

    Multiprocessor samtools

    Hi folks -

    I'm wondering if anyone knows of a way to make samtools utilize all the processors and cores on a machine. I usually run merge, index, mpileup, and pass the results to bcftools on a machine with 16 cores, but top shows that these programs use only 1 core. For large bam files (~10GB merged), this can mean hours of extra compute time. And if you're paying for compute time by the hour, this means lots of extra $. Has anyone figured out a way to make samtools more "parallel"? Barring a straightforward way to do that, does anyone know of other tools that will merge, index, and do variant discovery/genotyping in a parallel manner from bam files? Thanks.
  • ashkot
    Member
    • Nov 2011
    • 59

    #2
    I am looking for the same answer, have you figured it out yet?

    Comment

    • colindaven
      Senior Member
      • Oct 2008
      • 417

      #3
      We just normally run many processes at once. I haven't heard of anyline parallelising Samtools.

      Comment

      • krobison
        Senior Member
        • Nov 2007
        • 734

        #4
        Most of the time, SAMTools is probably waiting on disk (IO-bound) & multithreading might offer little advantage.

        Comment

        • colindaven
          Senior Member
          • Oct 2008
          • 417

          #5
          Krobison : if samtools is IO limited do you know of any performance related settings to put more into memory ? As far as I know it does quite a lot of calculation eg local realignment of reads as well.

          Comment

          • jcgrenier
            Member
            • May 2011
            • 12

            #6
            One way to do it could be to run it per chromosome. You'll gain some time by this way.

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
              by SEQadmin2



              CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

              Despite this, “CRISPR helped turn genome editing from a specialized technique into
              ...
              07-31-2026, 11:01 AM
            • SEQadmin2
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 10:05 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-13-2026, 12:22 PM
            0 responses
            32 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-11-2026, 10:35 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-06-2026, 07:41 AM
            0 responses
            38 views
            0 reactions
            Last Post SEQadmin2  
            Working...