소스 검색

更新 '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…
취소
저장