浏览代码

更新 'tasks/battenberg.wdl'

master
biochenglinliu 1年前
父节点
当前提交
3809805de5
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. +7
    -3
      tasks/battenberg.wdl

+ 7
- 3
tasks/battenberg.wdl 查看文件

@@ -12,12 +12,16 @@ task battenberg {

set -o pipefail
set -e
samtools view -h ${normal_bam} |sed 's/chr//g'|samtools view -bS > ./${normal_id}.sorted.deduped.nochr.bam
samtools view -h ${tumor_bam} |sed 's/chr//g'|samtools view -bS > ./${sample_id}.sorted.deduped.nochr.bam
cp ${normal_bam} ./${normal_id}.bam
cp ${tumor_bam} ./${sample_id}.bam
samtools view -h ./${normal_id}.bam |sed 's/chr//g'|samtools view -bS > ./${normal_id}.sorted.deduped.nochr.bam
samtools view -h ./${sample_id}.bam |sed 's/chr//g'|samtools view -bS > ./${sample_id}.sorted.deduped.nochr.bam
samtools index ./${normal_id}.sorted.deduped.nochr.bam
samtools index ./${sample_id}.sorted.deduped.nochr.bam
cp /opt/battenberg_reference/battenberg_wgs.R ./
Rscript ./battenberg_wgs.R -t ${sample_id} -n ${normal_id} --nb ${normal_id}.sorted.deduped.nochr.bam --tb ${sample_id}.sorted.deduped.nochr.bam --cpu 4 --sex female -o ./
Rscript ./battenberg_wgs.R -t ${sample_id} -n ${normal_id} --nb ./${normal_id}.sorted.deduped.nochr.bam --tb ./${sample_id}.sorted.deduped.nochr.bam --cpu 4 --sex female -o ./
mkdir ${sample_id}_chr_png
cp ${sample_id}_subclones_chr*.png ./${sample_id}_chr_png/
tar zcvf ./${sample_id}_chr_png.tgz ./${sample_id}_chr_png/

正在加载...
取消
保存