Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lre1234
    Senior Member
    • Aug 2011
    • 110

    #1

    bam file increases in size following base recalibration

    I am doing some whole genomes and after the alignments, I am doing the indel-realign and base reaclibration steps. I am seeing an odd result. The bam file after the base recalibration increases in size as below:

    After the indel re-align, which is the same size as the originally mapped file:
    114G Aug 23 08:51 Nrml_IndelRealin.bam
    96G Aug 23 21:59 umr_IndelRealin.bam

    After base quality recalibration:
    126G Aug 25 20:40 Nrml_IndelRealin.BQSR.bam
    127G Aug 25 15:44 Tumr_IndelRealin.BQSR.bam

    Is this normal? Should the file size increase?

    Thanks
  • Heisman
    Senior Member
    • Dec 2010
    • 534

    #2
    I haven't used it in forever but it may be keeping the old quality scores as well as the recalibrated ones. If that is default now there is an option to have it not do that (at least there was over a year ago when I last looked at this).

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      Perhaps this is applicable in your case as well: http://gatkforums.broadinstitute.org...-recalibration

      Comment

      • thedamian
        Member
        • Feb 2012
        • 50

        #4
        I guess the size increase because the output qualities are less homogenous, ie the number of different letters coded as qualities increased and hence it's "harder" to compress.
        I guess such sequence is easier to compress:
        ",:,:,F,::F,,FFFF,,F,,,F:F::,F,F,F,F,F,FFF:,FF,F,:,:FF,F,F:FFFFFFFFF,FFFF:FFFFFF:FFFFFFFFFFFFFFFFFF,FF"
        than
        "/>-=-H'@>;/-BGCF-/B0.-F>B@@.J-B0C-F/B0CFF?'GC-F/70>FF/B0C=FHBHCFFHB0CGFH7GDGGHC@CFFHBGCFFHBGCFFGDI0GE" like in my case after recalibration.

        Comment

        • Genom
          Junior Member
          • Jan 2022
          • 7

          #5
          merge bam

          I am trying to create a combined bam file, from 8 files, to view on IGV

          I get this error

          What I can do ?

          base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.bam V350019555_L03_B5GHUMqcnrRAABA-551.bam V350019555_L03_B5GHUMqcnrRAAB(base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.bam V350019555_L03_B5GHUMqcnrR(base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.(base) javier@iMac-de-JAVIER BWA % samtools merge -o merged.bam V350019555_L03_B5GHUMqcnrRAABA-549.bam V350019555_L03_B5GHUMqcnrRAABA-550.bam V350019555_L03_B5GHUMqcnrRAABA-551.bam V350019555_L03_B5GHUMqcnrRAABA-552.bam V350019555_L03_B5GHUMqcnrRAABA-553.bam V350019555_L03_B5GHUMqcnrRAABA-554.bam V350019555_L03_B5GHUMqcnrRAABA-555.bam V350019555_L03_B5GHUMqcnrRAABA-556.bam




          samtools: invalid option -- o

          the version es 1.3.1

          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
            ...
            Yesterday, 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
          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 02:55 AM
          0 responses
          8 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-24-2026, 12:17 PM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-23-2026, 11:41 AM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-20-2026, 11:10 AM
          0 responses
          24 views
          0 reactions
          Last Post SEQadmin2  
          Working...