Browse Source

samtools command line

master
LUYAO REN 4 years ago
parent
commit
3471965bc9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/getBam.wdl

+ 1
- 1
tasks/getBam.wdl View File

@@ -8,7 +8,7 @@ task getBam {
String disk_size
command <<<
/opt/conda/bin/samtools view ${bam} -H ${sep=" " pos} | /opt/conda/bin/samtools view -bS - | /opt/conda/bin/samtools sort > ${sample}.bam
/opt/conda/bin/samtools view -b ${bam} ${sep=" " pos} | opt/conda/bin/samtools sort - > ${sample}.bam
/opt/conda/bin/samtools index ${sample}.bam
>>>


Loading…
Cancel
Save