From 3b1e966b4c34ee35883b617f8d9f913065334ffb Mon Sep 17 00:00:00 2001 From: kiran Date: Wed, 9 Sep 2009 17:35:45 +0000 Subject: [PATCH] Lowercases the sequencing platform so that a difference in case doesn't lead to the failure to look up an entry in the hash. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1565 348d0f76-0448-11de-a6fe-93d51630548a --- .../genotyper/EmpiricalSubstitutionGenotypeLikelihoods.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/EmpiricalSubstitutionGenotypeLikelihoods.java b/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/EmpiricalSubstitutionGenotypeLikelihoods.java index 548e57732..8eaf4e72a 100755 --- a/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/EmpiricalSubstitutionGenotypeLikelihoods.java +++ b/java/src/org/broadinstitute/sting/gatk/walkers/genotyper/EmpiricalSubstitutionGenotypeLikelihoods.java @@ -43,8 +43,9 @@ public class EmpiricalSubstitutionGenotypeLikelihoods extends GenotypeLikelihood } public static SequencerPlatform standardizeSequencerPlatform( final String sequencerString ) { - if ( sequencerString != null && PLFieldToSequencerPlatform.containsKey(sequencerString) ) { - return PLFieldToSequencerPlatform.get(sequencerString); + String lcSequencerString = sequencerString.toLowerCase(); + if ( sequencerString != null && PLFieldToSequencerPlatform.containsKey(lcSequencerString) ) { + return PLFieldToSequencerPlatform.get(lcSequencerString); } else { return SequencerPlatform.UNKNOWN; }