Question: What Are The Differences Between Gatk'S Reducebam And Cram?
gravatar for 14134125465346445
6.0 years ago by
United Kingdom
141341254653464453.4k wrote:

What are the differences between GATK's reducebam and CRAM?

Are these essentially two different implementations towards the same goal?

gatk next-gen bam • 2.2k views
ADD COMMENTlink modified 6.0 years ago by vadim.zalunin40 • written 6.0 years ago by 141341254653464453.4k
gravatar for vadim.zalunin
6.0 years ago by
vadim.zalunin40 wrote:

Reads in a reduced BAM are made up of differences between the original reads and the reference sequence used for alignment whereas CRAM format preserves placement and bases of original reads. Basically lossless CRAM can be restored to original BAM. Reduced BAM approach allows to analyze more sample at once than regular BAM but the data cannot be re-aligned afaik, therefore it is reference biased.

To use CRAM files you would need a special software: java implementation or C implementation done by James Bonfield from Sanger Institute

There is a notion to make CRAM files compatible with existing tools using common CRAM-BAM API. For example picard tools should work on CRAM and BAM files given the cramtools jar is used.

ADD COMMENTlink written 6.0 years ago by vadim.zalunin40
gravatar for Pierre Lindenbaum
6.0 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum119k wrote:

The GATK produces a file that is still a BAM.

CRAM is another format, your tools (samtools) migth not be able to handle it.

ADD COMMENTlink written 6.0 years ago by Pierre Lindenbaum119k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1041 users visited in the last hour