瀏覽代碼

更新 'tasks/ASCAT.wdl'

master
meng 2 年之前
父節點
當前提交
abd9714d23
共有 1 個檔案被更改,包括 8 行新增1 行删除
  1. +8
    -1
      tasks/ASCAT.wdl

+ 8
- 1
tasks/ASCAT.wdl 查看文件

@@ -5,6 +5,7 @@ task ASCAT{
File tumor_bam_index
File? normal_bam
File? normal_bam_index
File? bed_file
String gender
String ref_genome
String docker
@@ -16,8 +17,14 @@ task ASCAT{
set -e
out_dir='./'
/root/miniconda3/envs/hrd/bin/Rscript /home/ASCAT/ascat.r ${tumor_bam} ${normal_bam} ${sample}'_T' ${sample}'_N' ${sample} WGS $out_dir ${gender} ${ref_genome}
if [ ${bed_file} ]; then
/root/miniconda3/envs/hrd/bin/Rscript /home/ASCAT/ascat.r ${tumor_bam} ${normal_bam} ${sample}'_T' ${sample}'_N' ${sample} WES $out_dir ${gender} ${ref_genome} ${bed_file}
else
/root/miniconda3/envs/hrd/bin/Rscript /home/ASCAT/ascat.r ${tumor_bam} ${normal_bam} ${sample}'_T' ${sample}'_N' ${sample} WGS $out_dir ${gender} ${ref_genome}

fi
ls ./

tar cvf ${sample}.tar ./

Loading…
取消
儲存