Entering edit mode
2.1 years ago
noodle
▴
590
Hi Biostars,
Can someone point me to documentation, or describe here, what the practical differences are for different compression levels of BAM files and why you might choose one over another? For example, in bedtools
functions you can pass -ubam
, or with picard
you can pass --COMPRESSION_LEVEL
, among others...
Thank you for pointing to these pages, do you know why you would use one compression level over another? For example, high compression for files that will be stored vs no compression for files regularly accessed? Is there any guidance for at what point (file size, access frequency, etc) different compression levels should be considered?
For archival purposes, you're better off using CRAM than BAM; and for individual bam files the difference in performance and space for various compression levels is, in my experience, negligible.