Replacing BAM with CRAM Files
0
0
Entering edit mode
2.5 years ago
joe_genome ▴ 40

I'm starting to explore mapped sequence data formats. Specifically the possibility of replacing bam files with cram files, as bam and/or ubam files are generally quite heavy. Thus can affect transfer and computational times used in my linux systems.

However I wanted to know if other users have any experience with similar situations where the cram files will closely resemble the original bam/ubam files. In other words, can cram files be used as alternative to bam/ubam files in the input analysis.

CRAM • 1.1k views
ADD COMMENT
1
Entering edit mode

can cram files be used as alternative to bam/ubam files in the input analysis.

Not as a general replacement far as I know. You may be able to pipe them in to some tools by converting them on fly using samtools. A quick scan seems to indicate that Picard tools and IGV can natively understand CRAM files.

ADD REPLY
0
Entering edit mode

Hey thanks for the clarification, was wondering if I could convert CRAM to BAM with samtools then?

ADD REPLY
1
Entering edit mode

yes, samtools view can convert CRAM files to BAM.

ADD REPLY

Login before adding your answer.

Traffic: 1964 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