Fix copy-paste error from previous commit
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5878 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
7a43673599
commit
efe6602827
|
|
@ -216,6 +216,11 @@ public class VariantDataManager {
|
||||||
value = Double.parseDouble( (String)vc.getAttribute( annotationKey ) );
|
value = Double.parseDouble( (String)vc.getAttribute( annotationKey ) );
|
||||||
if (Double.isInfinite(value))
|
if (Double.isInfinite(value))
|
||||||
value = Double.NaN;
|
value = Double.NaN;
|
||||||
|
else
|
||||||
|
if( jitter && ( annotationKey.equalsIgnoreCase("HRUN") || annotationKey.equalsIgnoreCase("FS") ) ) { // Integer valued annotations must be jittered a bit to work in this GMM
|
||||||
|
value += -0.25 + 0.5 * GenomeAnalysisEngine.getRandomGenerator().nextDouble();
|
||||||
|
}
|
||||||
|
|
||||||
} catch( final Exception e ) {
|
} catch( final Exception e ) {
|
||||||
value = Double.NaN; // The VQSR works with missing data now by marginalizing over the missing dimension when evaluating clusters.
|
value = Double.NaN; // The VQSR works with missing data now by marginalizing over the missing dimension when evaluating clusters.
|
||||||
if( !warnedUserMissingValue ) {
|
if( !warnedUserMissingValue ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue