Skip to content

Commit 000df41

Browse files
committed
minor fix
1 parent 628dff0 commit 000df41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

wdl/Regenotype.wdl

+3-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ task RegenotypeChunk {
312312
elif [ ~{use_delly} -eq 1 ]; then
313313
${TIME_COMMAND} /delly call --svtype ALL --genome ~{reference_fa} --vcffile ~{vcf_to_genotype} --outfile genotypes.bcf ${LOCAL_FILE}
314314
bcftools view --output-type v --output genotypes.vcf genotypes.bcf
315-
rm -f genotypes.bcf
315+
#rm -f genotypes.bcf
316316
fi
317317
N_LINES=$(grep '#' genotypes.vcf | wc -l)
318318
rm -f $(basename ${FILE}) && echo 0 || echo 1
@@ -340,12 +340,14 @@ task RegenotypeChunk {
340340
mv tmp.txt genotypes.txt; rm -f tmp.txt
341341
fi
342342
head genotypes.txt
343+
touch genotypes.bcf
343344
done < ~{chunk}
344345
>>>
345346

346347
output {
347348
File format = "format.txt"
348349
File genotypes = "genotypes.txt"
350+
File debug = "genotypes.bcf"
349351
}
350352
runtime {
351353
docker: "fcunial/lr-genotyping"

0 commit comments

Comments
 (0)