Question: What Are The Differences Between Gatk'S Reducebam And Cram?
gravatar for 14134125465346445
7.3 years ago by
United Kingdom
141341254653464453.5k 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.5k views
ADD COMMENTlink modified 7.3 years ago by vadim.zalunin40 • written 7.3 years ago by 141341254653464453.5k
gravatar for vadim.zalunin
7.3 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 7.3 years ago by vadim.zalunin40
gravatar for Pierre Lindenbaum
7.3 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum129k 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 7.3 years ago by Pierre Lindenbaum129k
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: 1421 users visited in the last hour