Skip to content

Commit

Permalink
Update main.nf
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Feb 20, 2024
1 parent f6e4e3e commit cd45318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ workflow {
])

if (params.samplesheet_input != 'NO_FILE') {
ch_assemblies = Channel.fromPath(params.samplesheet_input).splitCsv(header: true).map{ it -> [it['ID'], it['ASSEMBLY']] }
ch_assemblies = Channel.fromPath(params.samplesheet_input).splitCsv(header: true).map{ it -> [it['ID'], it['ASSEMBLY']] }
} else {
ch_assemblies = Channel.fromPath( params.assembly_search_path ).map{ it -> [it.baseName.split('_')[0], it] }.unique{ it -> it[0] }
ch_assemblies = Channel.fromPath( params.assembly_search_path ).map{ it -> [it.baseName.split('_')[0], it] }.unique{ it -> it[0] }
}

main:
Expand Down

0 comments on commit cd45318

Please sign in to comment.