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:
parent
cd2bfb09ef
commit
29f7b1e6d6
|
|
@ -589,12 +589,12 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
|
||||||
|
|
||||||
// fix the attribute tags
|
// fix the attribute tags
|
||||||
if ( read.getAttribute(SAMTag.NM.name()) != null )
|
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 )
|
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
|
// TODO -- this is only temporary until Tim adds code to recalculate this value
|
||||||
if ( read.getAttribute(SAMTag.MD.name()) != null )
|
if ( read.getAttribute(SAMTag.MD.name()) != null )
|
||||||
read.setAttribute("MD", null);
|
read.setAttribute(SAMTag.MD.name(), null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue