mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 23:43:19 -05:00
24f0bdd14e
* added module seqkit replace * added when * removed extra line * Update modules/seqkit/replace/main.nf Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com> * Updated meta * updated indents Co-authored-by: Cipriano <rrn8@cdc.gov> Co-authored-by: Sateesh Peri <33637490+sateeshperi@users.noreply.github.com> Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
14 lines
448 B
Text
14 lines
448 B
Text
process {
|
|
|
|
withName: 'SEQKIT_REPLACE' {
|
|
ext.args = "-s -p 'A' -r 'N'"
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
}
|
|
|
|
withName: 'SEQKIT_REPLACEUNCOMP' {
|
|
ext.args = "-s -p 'T' -r 'N'"
|
|
ext.suffix = ".fasta"
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
}
|
|
|
|
}
|