|
|
@@ -18,7 +18,10 @@ task battenberg { |
|
|
|
samtools index ./${tumor_id}.sorted.deduped.nochr.bam |
|
|
|
cp /opt/battenberg_reference/battenberg_wgs.R ./ |
|
|
|
Rscript ./battenberg_wgs.R -t ${tumor_id} -n ${normal_id} --nb ${normal_id}.sorted.deduped.nochr.bam --tb ${tumor_id}.sorted.deduped.nochr.bam --cpu 10 --sex female -o ./ |
|
|
|
|
|
|
|
mkdir ${tumor_id}_chr_png |
|
|
|
cp ${tumor_id}_subclones_chr*.png ./${tumor_id}_chr_png/ |
|
|
|
tar zcvf ./${tumor_id}_chr_png.tgz ./${tumor_id}_chr_png/ |
|
|
|
|
|
|
|
>>> |
|
|
|
|
|
|
|
runtime { |
|
|
@@ -38,7 +41,7 @@ task battenberg { |
|
|
|
File germline_png = "${tumor_id}.germline.png" |
|
|
|
File coverage_png = "${tumor_id}_coverage.png" |
|
|
|
File alleleratio_png = "${tumor_id}_alleleratio.png" |
|
|
|
|
|
|
|
File chr_png = "${tumor_id}_chr_png.tgz" |
|
|
|
} |
|
|
|
|
|
|
|
} |