What Are The Differences Between Gatk'S Reducebam And Cram?
2
1
Entering edit mode
11.6 years ago

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

http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_compression_reducereads_ReduceReads.html

Are these essentially two different implementations towards the same goal?

next-gen bam gatk • 3.2k views
ADD COMMENT
3
Entering edit mode
11.6 years ago

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 https://github.com/enasequence/cramtools or C implementation done by James Bonfield from Sanger Institute http://staden.svn.sourceforge.net/

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 COMMENT
2
Entering edit mode
11.6 years ago

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 COMMENT

Login before adding your answer.

Traffic: 2376 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6