Browse Source

更新 'tasks/CNVkit.wdl'

master
meng 2 years ago
parent
commit
d441ee2c1c
1 changed files with 15 additions and 6 deletions
  1. +15
    -6
      tasks/CNVkit.wdl

+ 15
- 6
tasks/CNVkit.wdl View File

@@ -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…
Cancel
Save