Skip to content

Commit

Permalink
updated logic for renaming sample id
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww95 committed Nov 5, 2024
1 parent 14653fb commit 9c0bad4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion subworkflows/local/input_check.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ workflow INPUT_CHECK {
parameters_schema: 'nextflow_schema.json',
skip_duplicate_check: true).map {
// Create grouping value
meta -> tuple(meta.id[0], meta[0])
meta -> println meta
if (meta[0].external_id != null) {
meta[0].id = meta[0].external_id
}
tuple(meta[0].id, meta[0])
}

if(params.opt_platforms.ont == params.platform && params.nanopore_chemistry == null){
Expand Down

0 comments on commit 9c0bad4

Please sign in to comment.