mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
c1eb9cce44
* Trimmomatic main only first draft * Add test files * SE PE Adjustment * Remove extra reads input * chore: Remove TODOs * Apply suggestions from code review Co-authored-by: Edmund Miller <edmund.a.miller@gmail.com> * fix(trimmomatic): Handle SE output correctly Since there's never going to be unpaired reads for SE reads we can get away with it for SE * fix(trimmomatic): Use correct elvis operator to handle logic * fix(trimmomatic): Add hack to work with SE and PE reads * Update test.yml * use the PE and SE trimming correctly * Made user set adaptors * Add documentation * test(trimmomatic): Add files to pytest_modules * test(trimmomatic): Update name of failing test Co-authored-by: Edmund Miller <edmund.a.miller@protonmail.com> Co-authored-by: Edmund Miller <edmund.a.miller@gmail.com>
12 lines
405 B
Text
12 lines
405 B
Text
process {
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
|
|
withName: TRIMMOMATIC_SE {
|
|
ext.args2 = 'ILLUMINACLIP:TruSeq3-SE:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36'
|
|
}
|
|
|
|
withName: TRIMMOMATIC_PE {
|
|
ext.args2 = 'ILLUMINACLIP:TruSeq3-PE.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36'
|
|
}
|
|
}
|