瀏覽代碼

更新 'tasks/CNVkit.wdl'

master
meng 2 年之前
父節點
當前提交
d441ee2c1c
共有 1 個文件被更改,包括 15 次插入6 次删除
  1. +15
    -6
      tasks/CNVkit.wdl

+ 15
- 6
tasks/CNVkit.wdl 查看文件

@@ -16,20 +16,29 @@ task cnvkit{

command <<<

set -o pipefail
set -e
nt=$(nproc)
set -o pipefail
set -e
nt=$(nproc)
echo ${sample}
echo ${sample}

/root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \
if [ ${normal_bam} ]; then
/root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \
--normal ${normal_bam} \
--method wgs \
--fasta ${ref_dir} \
--annotate ${ref_flat} -p $nt \
--targets ${bed_file} \
--drop-low-coverage \
--output-dir ${sample}.reference.cnn
else
/root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \
--method wgs \
--fasta ${ref_dir} \
--annotate ${ref_flat} -p $nt \
--drop-low-coverage \
--output-dir ${sample}.reference.cnn
fi
ls ./

Loading…
取消
儲存