From c549c34caa39cee0992da6268164e9a9ca739e84 Mon Sep 17 00:00:00 2001 From: asivache Date: Fri, 29 May 2009 21:59:03 +0000 Subject: [PATCH] still in development and testing; kinda works git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@860 348d0f76-0448-11de-a6fe-93d51630548a --- .../SomaticMutationFromGenotypeWalker.java | 93 ++++++++++++++++--- 1 file changed, 81 insertions(+), 12 deletions(-) diff --git a/java/src/org/broadinstitute/sting/playground/gatk/walkers/SomaticMutationFromGenotypeWalker.java b/java/src/org/broadinstitute/sting/playground/gatk/walkers/SomaticMutationFromGenotypeWalker.java index a47681268..27f0f1ff5 100644 --- a/java/src/org/broadinstitute/sting/playground/gatk/walkers/SomaticMutationFromGenotypeWalker.java +++ b/java/src/org/broadinstitute/sting/playground/gatk/walkers/SomaticMutationFromGenotypeWalker.java @@ -1,11 +1,10 @@ package org.broadinstitute.sting.playground.gatk.walkers; -import java.io.BufferedOutputStream; import java.io.FileWriter; -import java.io.OutputStream; import org.apache.log4j.Logger; +import org.broadinstitute.sting.gatk.GATKArgumentCollection; import org.broadinstitute.sting.gatk.LocusContext; import org.broadinstitute.sting.gatk.refdata.RefMetaDataTracker; import org.broadinstitute.sting.gatk.refdata.ReferenceOrderedDatum; @@ -14,10 +13,13 @@ import org.broadinstitute.sting.gatk.walkers.RefWalker; import org.broadinstitute.sting.gatk.walkers.Requires; import org.broadinstitute.sting.gatk.walkers.DataSource; import org.broadinstitute.sting.gatk.walkers.RMD; +import org.broadinstitute.sting.gatk.refdata.rodRefSeq; import org.broadinstitute.sting.playground.utils.GenotypingCallStats; import org.broadinstitute.sting.utils.GenotypeUtils; import org.broadinstitute.sting.utils.StingException; +import org.broadinstitute.sting.utils.Utils; import org.broadinstitute.sting.utils.cmdLine.Argument; +import org.broadinstitute.sting.utils.cmdLine.ArgumentException; //@Requires(value=DataSource.REFERENCE,referenceMetaData={@RMD(name="mother",type=rodSAMPileup.class), @@ -38,12 +40,21 @@ public class SomaticMutationFromGenotypeWalker extends RefWalker