To celebrate the release of GATK 4.0, we are giving away free credits for running the GATK4 Best Practices pipelines in FireCloud, our secure online analysis portal. It’s first come first serve, so sign up now to claim your free credits worth $250. Sponsored by Google Cloud. Learn more at

Does GATK honor the SO BAM header tag?

This is not specifically answered in the Collected FAQs about BAM files so need a confirmation.

Do all GATK tools use the SO tag in the header to indicate if the BAM file is sorted? In other words, if the input BAM to a tool is sorted, but the output is not, would GATK alter the SO tag?

As an example, does IndelRealigner produce a sorted BAM?

The SO tag of the ouptput says SO:coordinate, but my input was also sorted. I'd like to assume that all is well, but would like a human confirmation.

Best Answers


Sign In or Register to comment.