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
This commit is contained in:
parent
d82d6c0665
commit
3b1e966b4c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue