Browse Source

revise samtools sort -m

tags/v0.1.0
stead99 4 years ago
parent
commit
666f527e1e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasks/samtools.wdl

+ 1
- 1
tasks/samtools.wdl View File

@@ -16,7 +16,7 @@ task samtools {
set -e
nt=$(nproc)
/opt/conda/bin/samtools view -@ $nt -bS ${sam} > ${bam}
/opt/conda/bin/samtools sort -@ $nt -m 2G ${bam} -o ${sorted_bam}
/opt/conda/bin/samtools sort -@ $nt -m 2GiB ${bam} -o ${sorted_bam}
/opt/conda/bin/samtools index -@ $nt ${sorted_bam}
/opt/conda/bin/samtools stats -@ $nt ${sorted_bam} > ${samstats}
/opt/conda/bin/samtools stats -@ $nt -i ${insert_size} ${sorted_bam} |grep ^IS|cut -f 2- > ${ins_size}

Loading…
Cancel
Save