Why do BAM files have to be correctly formatted before Picard RevertSam?

jfikseljfiksel Member
edited June 2017 in Ask the GATK team

Hi all,

After completing tutorial #6483 on mapping and cleaning up short read data efficiently, I tried this with our lab's own BAM files. However, when completing the first step (generate a uBAM from an aligned BAM), I found that I had to use Picard CleanSam and AddOrReplaceReadGroups in order for RevertSam to properly work. I was under the impression that the workflow in the tutorial would be used, at least partially, for BAM files that are not properly formatted for GATK analysis. Is there an intuition as to why I had to format the original BAM file before beginning this process? It seems like those steps could be done after realigning with bwa mem.

Best,
Jacob

Issue · Github
by Sheila

Issue Number
2237
State
closed
Last Updated
Assignee
Array
Milestone
Array
Closed By
sooheelee

Answers

Sign In or Register to comment.