diff --git a/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyper.java b/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyper.java index 3f4a02949..2bf421644 100755 --- a/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyper.java +++ b/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/UnifiedGenotyper.java @@ -205,7 +205,7 @@ public class UnifiedGenotyper extends LocusWalker UAC.MAX_DELETION_FRACTION ) + (double)pileup.getPileupWithoutMappingQualityZeroReads().getNumberOfDeletions() / (double)(pileup.size() - pileup.getNumberOfMappingQualityZeroReads()) > UAC.MAX_DELETION_FRACTION ) return null; // stratify the AlignmentContext and cut by sample diff --git a/java/src/org/broadinstitute/sting/utils/pileup/ReadBackedPileup.java b/java/src/org/broadinstitute/sting/utils/pileup/ReadBackedPileup.java index b7b18332d..4ae03cde0 100755 --- a/java/src/org/broadinstitute/sting/utils/pileup/ReadBackedPileup.java +++ b/java/src/org/broadinstitute/sting/utils/pileup/ReadBackedPileup.java @@ -382,7 +382,7 @@ public class ReadBackedPileup implements Iterable { * Get an array of the mapping qualities * @return */ - public byte[] getMapppingQuals() { + public byte[] getMappingQuals() { byte[] v = new byte[size()]; for ( ExtendedPileupElement pile : this.extendedForeachIterator() ) { v[pile.getPileupOffset()] = (byte)pile.getRead().getMappingQuality(); } return v; @@ -393,7 +393,7 @@ public class ReadBackedPileup implements Iterable { // Private functions for printing pileups // private String getMappingQualsString() { - return quals2String(getMapppingQuals()); + return quals2String(getMappingQuals()); } private static String quals2String( byte[] quals ) {