浏览代码

更新 'tasks/manta.wdl'

master
meng 2 年前
父节点
当前提交
d2f3512d49
共有 1 个文件被更改,包括 14 次插入6 次删除
  1. +14
    -6
      tasks/manta.wdl

+ 14
- 6
tasks/manta.wdl 查看文件

command <<< command <<<
set -exo pipefail set -exo pipefail
nt=$(nproc) nt=$(nproc)
if [ ${normal_bam} ]; then
INPUT="--normalBam ${normal_bam} --tumorBam ${tumor_bam}"
else
INPUT="--tumorBam ${tumor_bam}"
fi
/home/biosoft/manta-1.6.0.centos6_x86_64/bin/configManta.py \ /home/biosoft/manta-1.6.0.centos6_x86_64/bin/configManta.py \
--normalBam ${normal_bam} \
--tumorBam ${tumor_bam} \
$INPUT \
--referenceFasta ${ref_dir}/${ref_fasta} \ --referenceFasta ${ref_dir}/${ref_fasta} \
--runDir ${out_dir} --runDir ${out_dir}


ls ${out_dir} ls ${out_dir}


tar cvf ${out_dir}.tar ${out_dir}
if [ ${normal_bam} ]; then
cp ${out_dir}/results/variants/somaticSV.vcf.gz ${sample_id}.Manta.somaticSV.vcf.gz
cp ${out_dir}/results/variants/diploidSV.vcf.gz ${sample_id}.Manta.germlineSV.vcf.gz
else
cp ${out_dir}/results/variants/tumorSV.vcf.gz ${sample_id}.Manta.somaticSV.vcf.gz
fi
>>> >>>


runtime{ runtime{
} }


output{ output{
File out_file = "${out_dir}.tar"
File manta_indel_vcf = "${out_dir}/results/variants/candidateSmallIndels.vcf.gz"
File manta_indel_vcf_index = "${out_dir}/results/variants/candidateSmallIndels.vcf.gz.tbi"
File somatic_vcf = "${sample}.Manta.somaticSV.vcf.gz"
File? germline_vcf = "${sample}.Manta.germlineSV.vcf.gz"
} }
} }

正在加载...
取消
保存