gatk icon indicating copy to clipboard operation
gatk copied to clipboard

LeftAlignAndTrimVariants doesn't work on MNPs

Open jonn-smith opened this issue 3 years ago • 2 comments

The documentation for LeftAlignAndTrimVariants indicates that it only works for indels. It should be updated to work for MNPs as well.

This operation would simply remove any common leading bases from all alleles of a VariantContext and update the start position by however many bases were removed. It would be implemented in LeftAlignAndTrimVariants.java:289 replacing the noop for non-indels.

jonn-smith avatar Oct 21 '21 15:10 jonn-smith

(related to Zendesk ticket #204638)

GATKSupportTeam avatar Oct 22 '21 17:10 GATKSupportTeam

@gbrandt6 Here's another GATK ticket that might be suitable for learning GATK development.

droazen avatar Nov 15 '21 19:11 droazen