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

bwa: conditional definition of the library tag

parent 0db3382c
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,10 @@ process mapping_fastq {
tuple val(file_id), path("${file_id}_bwa_report.txt"), emit: report
script:
if (file_id.containsKey('library')):
library = file_id.library
else:
library = file_id
bwa_mem_R = "@RG\\tID:${library}\\tSM:${library}\\tLB:lib_${library}\\tPL:illumina"
"""
bwa mem -t ${task.cpus} \
......
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