nf-core_modules/tests/modules/seqkit/replace/nextflow.config
Michael J Cipriano 24f0bdd14e
added module seqkit replace (#1382)
* 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>
2022-03-09 10:36:05 -07:00

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()}" }
}
}