Service note: Geraldine is on vacation this week; other members of GSA will be responding to questions, but they have a lot of work besides this, so be aware that responses may be a little slower than usual. Thank you for your patience.

GATK indel realignment: recomputing the MD field

julianjulian Posts: 2Member

Hi,

When doing an indel realignment with GATK, the 'MD' field in the SAM/BAM record gets dropped for realigned reads. Is it possible to recompute them directly with GATK? I know that 'samtools calmd' does this, but are there alternative options?

Tagged:

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Posts: 2,239Administrator, GSA Official Member admin

    No, that's not possible with the built-in tools. When reads get realigned, the MD field becomes obsolete. We have no interest in recomputing it since the MD is meant to enable variant calling without looking at the reference, which we consider a bad idea. That said, you are welcome to write an annotation module for VariantAnnotator to achieve this.

    Geraldine Van der Auwera, PhD

Sign In or Register to comment.