Browse Source

更新 'tasks/CNVkit.wdl'

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

+ 5
- 1
tasks/CNVkit.wdl View File

nt=$(nproc) nt=$(nproc)
echo ${sample} echo ${sample}
center=`awk -v vv=${center_at} 'BEGIN {print log(2/vv)/log(2)}'`
echo $center


if [ ${normal_bam} ]; then if [ ${normal_bam} ]; then
/root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \ /root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \
-p $nt -p $nt
ls ./ ls ./
/root/miniconda2/bin/cnvkit.py call ${sample}.cns/${sample}.cns --center-at ${center_at} \
/root/miniconda2/bin/cnvkit.py call ${sample}.cns/${sample}.cns --center-at $center \
-o ${sample}.call.cns -o ${sample}.call.cns

Loading…
Cancel
Save