|
|
@@ -4,7 +4,7 @@ task batch { |
|
|
|
Array[File] tumor_bai |
|
|
|
Array[File] normal_bam |
|
|
|
Array[File] normal_bai |
|
|
|
File? bed |
|
|
|
File bed |
|
|
|
File faidx |
|
|
|
File fasta |
|
|
|
File? ref_flat |
|
|
@@ -31,7 +31,7 @@ task batch { |
|
|
|
cp ${faidx} /cromwell_root/tmp/cnvkit/hg38.fai |
|
|
|
cp ${access_bed} /cromwell_root/tmp/cnvkit/access-mappable.bed |
|
|
|
# optional parameters |
|
|
|
if [ ${bed} != "" ]; then cp ${bed} /cromwell_root/tmp/cnvkit/amplicon.bed; fi |
|
|
|
if [ ${method} == "amplicon" ]; then cp ${bed} /cromwell_root/tmp/cnvkit/amplicon.bed; fi |
|
|
|
if [ ${ref_flat} != "" ]; then cp ${ref_flat} /cromwell_root/tmp/cnvkit/ref_flat.txt; fi |
|
|
|
if [ ${reference} != "" ]; then cp ${reference} /cromwell_root/tmp/cnvkit/my_reference.cnn; fi |
|
|
|
cd /cromwell_root/tmp/cnvkit |
|
|
@@ -39,7 +39,7 @@ task batch { |
|
|
|
mkdir results |
|
|
|
cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \ |
|
|
|
--method ${method} --segment-method ${segment_method} \ |
|
|
|
--targets amplicon.bed ${access_opt} ${annotate_opt} \ |
|
|
|
--targets ${bed} ${access_opt} ${annotate_opt} \ |
|
|
|
--fasta hg38.fa ${reference_opt} \ |
|
|
|
--output-reference ${sample_id}.reference.cnn \ |
|
|
|
--output-dir ./results/ \ |