Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bwubb
    Member
    • Jan 2012
    • 61

    #1

    Merge bam files to create a consensus?

    Would there be a way to create a consensus bam from multiple input bam files without skewing coverage to a ridiculous size?

    Say I had several bams from exome sequencing of the exact same sample. It is my understanding that if I merge these files my overall coverage would be really high. Instead I might want to merge them but average the coverage across the bams rather then add them, however I can not think of a way to merge bam files in this way.

    Thanks.
  • dnusol
    Senior Member
    • Jul 2009
    • 136

    #2
    I'm probably going to write something wrong, but if you had to perform several lanes/runs/experiments for one single exome, that means that you could not get sufficient coverage across all the exome in one single lane/run/experiment. So if you merge the bams your coverage will not be that large. As I understand it, coverage for one bam will be "randomly" dispersed, so merging the different bams will only make your coverage homogeneous and will cover the exome completely.

    HTH

    Comment

    • volks
      Member
      • Jun 2010
      • 80

      #3
      Originally posted by bwubb View Post
      Would there be a way to create a consensus bam from multiple input bam files without skewing coverage to a ridiculous size?

      Say I had several bams from exome sequencing of the exact same sample. It is my understanding that if I merge these files my overall coverage would be really high. Instead I might want to merge them but average the coverage across the bams rather then add them, however I can not think of a way to merge bam files in this way.

      Thanks.
      please define ridiculous size. for whole-genome sequencing of human samples you can easily end up with alignments >100Gb.

      Comment

      • bwubb
        Member
        • Jan 2012
        • 61

        #4
        Beyond merging the same sample from multiple lanes/experiments...

        I was playing around with the idea of quickly/efficiently creating a "baseline" bam file, so that the coverage present represents the average coverage across all files.

        For instance, say I wanted to merge every exome.bam for CEO population samples of the 1000G data set into a single file. I could not think of a way to merge all of those files while averaging read depth or coverage instead of combining it.

        In the end though I think I wanted to use this created file in a way that would not be good science.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          The Factors Reshaping Genome Assembly
          by SEQadmin2



          When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
          11-24-2026, 07:04 AM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-23-2026, 11:11 AM
        0 responses
        39 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-17-2026, 06:27 AM
        0 responses
        47 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Working...