Misc cleanup

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5453 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
rpoplin 2011-03-16 17:33:19 +00:00
parent c6ef6ee8b7
commit 8d0880d33e
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class TiTvVariantEvaluator extends VariantEvaluator implements StandardEv
if (vc1 != null) updateTiTv(vc1, false);
if (vc2 != null) updateTiTv(vc2, true);
return null; // we don't capture any intersting sites
return null; // we don't capture any interesting sites
}
@Override

View File

@ -157,7 +157,7 @@ public class ContrastiveRecalibrator extends RodWalker<ExpandingArrayList<Varian
datum.annotations = dataManager.decodeAnnotations( ref.getGenomeLocParser(), vc, true ); //BUGBUG: when run with HierarchicalMicroScheduler this is non-deterministic because order of calls depends on load of machine
datum.pos = context.getLocation();
datum.originalQual = vc.getPhredScaledQual();
datum.isTransition = vc.isSNP() && vc.isBiallelic() && ( VariantContextUtils.getSNPSubstitutionType(vc).compareTo(BaseUtils.BaseSubstitutionType.TRANSITION) == 0 );
datum.isTransition = vc.isSNP() && vc.isBiallelic() && VariantContextUtils.isTransition(vc);
dataManager.parseTrainingSets( tracker, ref, context, vc, datum, TRUST_ALL_POLYMORPHIC );
final double priorFactor = QualityUtils.qualToProb( datum.prior );
datum.prior = Math.log10( priorFactor ) - Math.log10( 1.0 - priorFactor );