diff --git a/scala/qscript/fullCallingPipeline.q b/scala/qscript/fullCallingPipeline.q index 138237f5d..2cd3aed45 100755 --- a/scala/qscript/fullCallingPipeline.q +++ b/scala/qscript/fullCallingPipeline.q @@ -284,7 +284,7 @@ def endToEnd(base: String, snps: UnifiedGenotyper, indels: UnifiedGenotyperIndel handFilter.unfilteredVCF = annotated.annotatedVCF handFilter.indelMask = indels.indelVCF handFilter.filterNames = List("StrandBias","AlleleBalance","QualByDepth","HomopolymerRun") - handFilter.filterExpressions = List("SB>=0.10","AB>=0.75","QD<5","HRun>=4") + handFilter.filterExpressions = List("\"SB>=0.10\"","\"AB>=0.75\"","QD<5","\"HRun>=4\"") handFilter.filteredVCF = swapExt(annotated.annotatedVCF,".vcf",".handfiltered.vcf") // 3.i generate gaussian clusters on the masked vcf val clusters = new GenerateVariantClusters diff --git a/scala/src/org/broadinstitute/sting/queue/function/scattergather/CreateTempDirsFunction.scala b/scala/src/org/broadinstitute/sting/queue/function/scattergather/CreateTempDirsFunction.scala index 1acdc2f75..de1a16652 100644 --- a/scala/src/org/broadinstitute/sting/queue/function/scattergather/CreateTempDirsFunction.scala +++ b/scala/src/org/broadinstitute/sting/queue/function/scattergather/CreateTempDirsFunction.scala @@ -14,5 +14,13 @@ class CreateTempDirsFunction extends CommandLineFunction { @Input(doc="Sleep seconds", required=false) var mkdirSleepSeconds: Option[Int] = None + // TODO: After port of LSF submitter use -cwd instead of trying to run from the directory + // For now, create the directory so that BroadCore can run bsub from it -kshakir July 27, 2010 on chartl's computer + + override def freeze = { + super.freeze + tempDirectories.foreach(_.mkdirs) + } + def commandLine = "mkdir -pv%s%s".format(repeat(" '", tempDirectories, "'"), optional(" && sleep ", mkdirSleepSeconds)) }