Browse Source

更新 'tasks/battenberg.wdl'

{sample_id}.sorted.deduped.nochr.bam
master
biochenglinliu 1 year ago
parent
commit
4abd59a3ed
1 changed files with 2 additions and 8 deletions
  1. +2
    -8
      tasks/battenberg.wdl

+ 2
- 8
tasks/battenberg.wdl View File

cp ${normal_bam} ./${normal_id}.bam cp ${normal_bam} ./${normal_id}.bam
cp ${tumor_bam} ./${sample_id}.bam cp ${tumor_bam} ./${sample_id}.bam


samtools view -h -@ 16 -o ${normal_id}.sorted.deduped.sam ./${normal_id}.bam
samtools view -h -@ 16 -o ${sample_id}.sorted.deduped.sam ./${sample_id}.bam

sed -i 's/chr//g' ${normal_id}.sorted.deduped.sam
sed -i 's/chr//g' ${sample_id}.sorted.deduped.sam

samtools sort -@ 16 -o ${normal_id}.sorted.deduped.nochr.bam ${normal_id}.sorted.deduped.sam
samtools sort -@ 16 -o ${sample_id}.sorted.deduped.nochr.bam ${sample_id}.sorted.deduped.sam
samtools view -h ./${normal_id}.bam |sed 's/chr//g'|samtools view -bS -o ./${normal_id}.sorted.deduped.nochr.bam
samtools view -h ./${sample_id}.bam |sed 's/chr//g'|samtools view -bS -o ./${sample_id}.sorted.deduped.nochr.bam


>>> >>>



Loading…
Cancel
Save