finish the math for RMS
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1362 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
8bc925a216
commit
ba07f057ac
|
|
@ -107,6 +107,8 @@ public class SSGGenotypeCall implements GenotypeCall, GenotypeOutput {
|
|||
for (SAMRecord r : pileup.getReads()) {
|
||||
rms += r.getMappingQuality() * r.getMappingQuality();
|
||||
}
|
||||
rms /= pileup.getReads().size();
|
||||
rms = Math.sqrt(rms);
|
||||
return rms;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue