Skip to content
Snippets Groups Projects
Verified Commit 0e7adae3 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

bwa: replace sambamba by sambools

parent c6189ba3
Branches
Tags
No related merge requests found
FROM lbmc/sambamba:0.6.9 FROM lbmc/samtools:1.11
MAINTAINER Laurent Modolo MAINTAINER Laurent Modolo
ENV BWA_VERSION=0.7.17 ENV BWA_VERSION=0.7.17
......
...@@ -39,7 +39,8 @@ process mapping_fastq { ...@@ -39,7 +39,8 @@ process mapping_fastq {
bwa mem -t ${task.cpus} \ bwa mem -t ${task.cpus} \
${index_id} ${reads[0]} ${reads[1]} 2> \ ${index_id} ${reads[0]} ${reads[1]} 2> \
${file_id}_bwa_report.txt | \ ${file_id}_bwa_report.txt | \
sambamba view -S -t ${task.cpus} -f bam - > ${file_id}.bam samtools view -S -t ${task.cpus} -f bam - > ${file_id}.bam
samtools view -@ ${task.cpus} -Sb - > ${pair_id}.bam
""" """
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment