|
|
@@ -17,6 +17,7 @@ task batch { |
|
|
|
|
|
|
|
String annotate_opt = if (ref_flat != "") then "--annotate ${ref_flat}" else "" |
|
|
|
String reference_opt = if (reference != "") then "--reference ${reference}" else "" |
|
|
|
String access_opt = if (method == "amplicon") then "--access ${bed}" else "--access ${access_bed}" |
|
|
|
|
|
|
|
command <<< |
|
|
|
set -o pipefail |
|
|
@@ -30,9 +31,9 @@ task batch { |
|
|
|
|
|
|
|
mkdir results |
|
|
|
cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \ |
|
|
|
--targets ${bed} --method ${method} \ |
|
|
|
${annotate_opt} ${reference_opt} \ |
|
|
|
--fasta hg38.fa --access ${access_bed} \ |
|
|
|
--method ${method} \ |
|
|
|
--targets ${bed} ${annotate_opt} \ |
|
|
|
--fasta hg38.fa ${access_opt} ${reference_opt} \ |
|
|
|
--output-reference ~/${sample_id}.reference.cnn \ |
|
|
|
--output-dir ./results/ \ |
|
|
|
--drop-low-coverage --diagram --scatter |