Skip to content
Snippets Groups Projects
Unverified Commit 209416f2 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

SNP_calling.nf: sambamba change tmp dir

parent 01aba97f
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ sambamba view -t ${task.cpus} -S -f bam -l 0 ${sam} -o ${file_id}.bam
process sort_bam {
tag "$file_id"
cpus 4
cpus 10
input:
set file_id, file(bam) from dedup_bam_files
......@@ -148,7 +148,7 @@ process sort_bam {
script:
"""
sambamba sort -t ${task.cpus} -o ${file_id}_sorted.bam ${bam}
sambamba sort -t ${task.cpus} --tmpdir=./tmp -o ${file_id}_sorted.bam ${bam}
"""
}
......@@ -191,7 +191,7 @@ process index_bam {
script:
"""
sambamba index -t ${task.cpus} ${bam}
sambamba index -t ${task.cpus} --tmpdir=./tmp ${bam}
"""
}
......@@ -259,3 +259,4 @@ gatk Mutect2 --native-pair-hmm-threads ${task.cpus} -R ${fasta} \
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment