Browse Source

更新 'tasks/CNVkit.wdl'

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

+ 7
- 2
tasks/CNVkit.wdl View File

#WES #WES
if [ ${bed_file} ]; then if [ ${bed_file} ]; then
echo "WES"
if [ ${normal_bam} ]; then if [ ${normal_bam} ]; then
echo "WES with normal"
/root/miniconda2/bin/cnvkit.py target ${bed_file} --annotate ${ref_flat} --split --short-names -o my_baits.bed /root/miniconda2/bin/cnvkit.py target ${bed_file} --annotate ${ref_flat} --split --short-names -o my_baits.bed
/root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \ /root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \
--normal ${normal_bam} \ --normal ${normal_bam} \
--drop-low-coverage \ --drop-low-coverage \
--output-dir ${sample}.reference.cnn --output-dir ${sample}.reference.cnn
else else
echo "WES no normal"
/root/miniconda2/bin/cnvkit.py access ${ref_dir} -o access.bed /root/miniconda2/bin/cnvkit.py access ${ref_dir} -o access.bed
# Prepare the target bed # Prepare the target bed
/root/miniconda2/bin/cnvkit.py target ${bed_file} --annotate ${ref_flat} --split --short-names -o my_baits.bed /root/miniconda2/bin/cnvkit.py target ${bed_file} --annotate ${ref_flat} --split --short-names -o my_baits.bed
#WGS #WGS
else: else:

if [ ${normal_bam} ]; then
echo "WGS"
if [ ${normal_bam} ]; then
echo "WGS with normal"
/root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \ /root/miniconda2/bin/cnvkit.py batch ${tumor_bam} \
--normal ${normal_bam} \ --normal ${normal_bam} \
--method wgs \ --method wgs \
--drop-low-coverage \ --drop-low-coverage \
--output-dir ${sample}.reference.cnn --output-dir ${sample}.reference.cnn
else else
echo "WGS no normal"
/root/miniconda2/bin/cnvkit.py access ${ref_dir} -o access.bed /root/miniconda2/bin/cnvkit.py access ${ref_dir} -o access.bed
# Prepare the target bed # Prepare the target bed
#/root/miniconda2/bin/cnvkit.py --annotate ${ref_flat} --split --short-names -o my_baits.bed #/root/miniconda2/bin/cnvkit.py --annotate ${ref_flat} --split --short-names -o my_baits.bed

Loading…
Cancel
Save