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

bwa: add params.bwa_mem_R variable

parent 40ebfabd
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ bwa index -p ${fasta.simpleName} ${fasta} \
}
params.bwa_mem_R = '@RG\\tID:${library}\\tSM:${library}\\tLB:lib_${library}\\tPL:illumina'
process mapping_fastq {
container = "${container_url}"
label "big_mem_multi_cpus"
......@@ -37,6 +38,7 @@ process mapping_fastq {
script:
"""
bwa mem -t ${task.cpus} \
-R ${bwa_mem_R} \
${index_id} ${reads[0]} ${reads[1]} 2> \
${file_id}_bwa_report.txt | \
samtools view -@ ${task.cpus} -Sb - > ${file_id}.bam
......
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