瀏覽代碼

alter command in batch.wdl

master
YaqingLiu 4 年之前
父節點
當前提交
d01d1e3a83
共有 1 個檔案被更改,包括 3 行新增4 行删除
  1. +3
    -4
      tasks/batch.wdl

+ 3
- 4
tasks/batch.wdl 查看文件

@@ -15,9 +15,8 @@ task batch {
String cluster_config
String disk_size

String command = if defined(ref_flat) && !defined(reference) then "--annotate ${ref_flat}" \
elif !defined(ref_flat) && defined(reference) then "--reference ${reference}" \
else "--annotate ${ref_flat} --reference ${reference}"
String --annotate = if defined(ref_flat) then "--annotate ${ref_flat}" else ""
String --reference = if defined(reference) then "--reference ${reference}" else ""

command <<<
set -o pipefail
@@ -32,7 +31,7 @@ task batch {
mkdir results
cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \
--targets ${bed} --method ${method} \
${command} \
${--annotate} ${--reference} \
--fasta hg38.fa --access ${access_bed} \
--output-reference ~/${sample_id}.reference.cnn \
--output-dir ./results/ \

Loading…
取消
儲存