|
|
@@ -11,9 +11,7 @@ task bamdst { |
|
|
|
command <<< |
|
|
|
set -o pipefail |
|
|
|
set -e |
|
|
|
mkdir -p /cromwell_root/tmp/bamdst/ |
|
|
|
/bamdst/bamdst -p ${bed} -o /cromwell_root/tmp/bamdst/ ${bam} |
|
|
|
cd /cromwell_root/tmp/bamdst/ |
|
|
|
/bamdst/bamdst -p ${bed} -o ./ ${bam} |
|
|
|
cp chromosomes.report ${sample}_chromosomes.report |
|
|
|
cp coverage.report ${sample}_coverage.report |
|
|
|
cp depth_distribution.plot ${sample}_depth_distribution.plot |
|
|
@@ -37,5 +35,12 @@ task bamdst { |
|
|
|
File insertsize_plot = "${sample}_insertsize.plot" |
|
|
|
File region_tsv_gz = "${sample}_region.tsv.gz" |
|
|
|
File uncover_bed = "${sample}_uncover.bed" |
|
|
|
File chromosomes_report1 = "chromosomes.report" |
|
|
|
File coverage_report1 = "coverage.report" |
|
|
|
File depth_distribution_plot1 = "depth_distribution.plot" |
|
|
|
File depth_tsv_gz1 = "depth.tsv.gz" |
|
|
|
File insertsize_plot1 = "insertsize.plot" |
|
|
|
File region_tsv_gz1 = "region.tsv.gz" |
|
|
|
File uncover_bed1 = "uncover.bed" |
|
|
|
} |
|
|
|
} |