Brütall hack: make the bam list creator job wait for the interval creator job, so that there is an implicit dependency of UG on the interval list, by way of the bam list

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4628 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
chartl 2010-11-04 20:43:11 +00:00
parent fc39377e6c
commit 0e40321a52
1 changed files with 3 additions and 0 deletions

View File

@ -365,6 +365,8 @@ class private_mutations extends QScript {
var inSample = sample
@Output(doc="foo")
var outList = oList
@Input(doc = "foo")
var waitForMe: File = _
def commandLine = {
"grep %s /humgen/1kg/processing/allPopulations_wholeGenome_august_release/bamLists/*.list | tr ':' '\\t' | awk '{print $2}' > %s".format(
@ -383,6 +385,7 @@ class private_mutations extends QScript {
add(sites)
var bamList : GetBamList = new GetBamList(s,new File(SCRATCH_DIR+"%s.bams.list".format(s)))
bamList.waitForMe = sites.out_list
add(bamList)