From 225b9bccc16ae5dadcd3e7966d9817921ae476a8 Mon Sep 17 00:00:00 2001 From: chartl Date: Wed, 7 Oct 2009 13:45:12 +0000 Subject: [PATCH] Modifications to NQSClusteredZScoreWalker to output empirical mismatch rates on bins by both Z-score and reported Q-score, rather than averaging over all Q-score bins for each Z-score. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1773 348d0f76-0448-11de-a6fe-93d51630548a --- .../NQSClusteredZScoreWalker.java | 35 ++++++++----------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/java/src/org/broadinstitute/sting/playground/gatk/walkers/Recalibration/NQSClusteredZScoreWalker.java b/java/src/org/broadinstitute/sting/playground/gatk/walkers/Recalibration/NQSClusteredZScoreWalker.java index e858deb12..9a7c40e60 100755 --- a/java/src/org/broadinstitute/sting/playground/gatk/walkers/Recalibration/NQSClusteredZScoreWalker.java +++ b/java/src/org/broadinstitute/sting/playground/gatk/walkers/Recalibration/NQSClusteredZScoreWalker.java @@ -21,8 +21,8 @@ import net.sf.samtools.SAMRecord; */ public class NQSClusteredZScoreWalker extends LocusWalker { static final int WIN_SIDE_SIZE = 5; - static final int Z_SCORE_MAX = 7; - static final int Z_SCORE_MULTIPLIER = 30; // bins are Z_SCORE * (this) rounded to the nearst int + static final int Z_SCORE_MAX = 8; + static final int Z_SCORE_MULTIPLIER = 50; // bins are Z_SCORE * (this) rounded to the nearst int static final int MM_OFFSET = 1; static final int MATCH_OFFSET = 0; static final int MAX_Q_SCORE = 2 + QualityUtils.MAX_REASONABLE_Q_SCORE; @@ -68,7 +68,9 @@ public class NQSClusteredZScoreWalker extends LocusWalker