Skip to content

Commit ee99097

Browse files
Removed arguments from bbmap_reformat_standardise module so they can rather be defined in the config
1 parent c525259 commit ee99097

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

modules/ebi-metagenomics/bbmap/reformat_standardise/main.nf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ process BBMAP_REFORMAT_STANDARDISE {
3939
$interleaved_cmd \\
4040
$paired_cmd \\
4141
threads=${task.cpus} \\
42-
allowidenticalnames=t \\
43-
trimreaddescription=t \\
4442
${args} \\
4543
&> ${prefix}.reformat.sh.log
4644

modules/ebi-metagenomics/bbmap/reformat_standardise/tests/main.nf.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ nextflow_process {
1010

1111
test("paired-end fastq") {
1212

13+
config "./nextflow.config"
14+
1315
when {
1416
process {
1517
"""
@@ -37,6 +39,7 @@ nextflow_process {
3739
test("paired-end fastq - stub") {
3840

3941
options "-stub"
42+
config "./nextflow.config"
4043

4144
when {
4245
process {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
process {
2+
withName: BBMAP_REFORMAT_STANDARDISE {
3+
ext.args = "allowidenticalnames=t trimreaddescription=t"
4+
}
5+
}

0 commit comments

Comments
 (0)