Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


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

      Comment


      • #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


        • #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

          • seqadmin
            Advancing Precision Medicine for Rare Diseases in Children
            by seqadmin




            Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
            12-16-2024, 07:57 AM
          • seqadmin
            Recent Advances in Sequencing Technologies
            by seqadmin



            Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

            Long-Read Sequencing
            Long-read sequencing has seen remarkable advancements,...
            12-02-2024, 01:49 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-17-2024, 10:28 AM
          0 responses
          33 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-13-2024, 08:24 AM
          0 responses
          48 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-12-2024, 07:41 AM
          0 responses
          34 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-11-2024, 07:45 AM
          0 responses
          46 views
          0 likes
          Last Post seqadmin  
          Working...
          X