Skip to content

Commit

Permalink
Merge pull request #487 from genomic-medicine-sweden/changeplatform
Browse files Browse the repository at this point in the history
Update RG generation string
  • Loading branch information
ramprasadn authored Jan 25, 2024
2 parents 539a739 + f086c5b commit 106ad82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/raredisease.nf
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ workflow RAREDISEASE {
.combine( ch_original_input )
.map { counts, meta, fastq1, fastq2 ->
new_meta = meta + [num_lanes:counts[meta.id],
read_group:"\'@RG\\tID:"+ fastq1.toString().split('/')[-1] + "\\tPL:ILLUMINA\\tSM:"+meta.id+"\'"]
read_group:"\'@RG\\tID:"+ fastq1.toString().split('/')[-1] + "\\tPL:" + params.platform.toUpperCase() + "\\tSM:" + meta.id + "\'"]
if (!fastq2) {
return [ new_meta + [ single_end:true ], [ fastq1 ] ]
} else {
Expand Down

0 comments on commit 106ad82

Please sign in to comment.