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

bwa: handle dict as file_id for mapping_fastq

parent b5b2bda7
Branches
Tags
No related merge requests found
...@@ -47,14 +47,11 @@ process mapping_fastq { ...@@ -47,14 +47,11 @@ process mapping_fastq {
script: script:
if (file_id instanceof List){ if (file_id instanceof List){
library = file_id[0]
file_prefix = file_id[0] file_prefix = file_id[0]
if (file_id.containsKey('library')) { else if (file_id.containsKey('library')) {
library = file_id.library library = file_id.library
file_prefix = file_id.id file_prefix = file_id.id
} else {
library = file_id[0]
file_prefix = file_id[0]
}
} else { } else {
library = file_id library = file_id
file_prefix = file_id file_prefix = file_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment