Trivial update

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4229 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2010-09-08 14:02:38 +00:00
parent cd2bfb09ef
commit 29f7b1e6d6
1 changed files with 3 additions and 3 deletions

View File

@ -589,12 +589,12 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
// fix the attribute tags
if ( read.getAttribute(SAMTag.NM.name()) != null )
read.setAttribute("NM", SequenceUtil.calculateSamNmTag(read, reference, (int)leftmostIndex-1));
read.setAttribute(SAMTag.NM.name(), SequenceUtil.calculateSamNmTag(read, reference, (int)leftmostIndex-1));
if ( read.getAttribute(SAMTag.UQ.name()) != null )
read.setAttribute("UQ", SequenceUtil.sumQualitiesOfMismatches(read, reference, (int)leftmostIndex-1));
read.setAttribute(SAMTag.UQ.name(), SequenceUtil.sumQualitiesOfMismatches(read, reference, (int)leftmostIndex-1));
// TODO -- this is only temporary until Tim adds code to recalculate this value
if ( read.getAttribute(SAMTag.MD.name()) != null )
read.setAttribute("MD", null);
read.setAttribute(SAMTag.MD.name(), null);
}
}
}