Skip to content

Commit d6379de

Browse files
ramprasadnpeterpru
andauthored
Fix version string for mbuffer in bwafastalign (#11984)
* initial commit * update container * update test bwafastalign_mem * update test * merge multiple output channels * review suggestions * Update main.nf * use ext.args * fix config * update configs * update test * update bwameme * Update main.nf * remove "version" in mbuffer version string * update meta * remove "version" in mbuffer's version string * remove "version" string in mbuffer's version for bwafastalign/index --------- Co-authored-by: peterpru <peter.pruisscher@scilifelab.se>
1 parent ead2c49 commit d6379de

6 files changed

Lines changed: 30 additions & 30 deletions

File tree

modules/nf-core/bwafastalign/index/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ process BWAFASTALIGN_INDEX {
1515
tuple val("${task.process}"), val('bwafastalign'), val('1.0.0'), topic: versions, emit: versions_bwafastalign
1616
// WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
1717
tuple val("${task.process}"), val('samtools'), eval("samtools --version 2>&1 | sed '1!d;s/.* //'") , topic: versions, emit: versions_samtools
18-
tuple val("${task.process}"), val('mbuffer'), eval("mbuffer --version 2>&1 | sed -n 's/mbuffer //p'") , topic: versions, emit: versions_mbuffer
18+
tuple val("${task.process}"), val('mbuffer'), eval("mbuffer --version 2>&1 | sed -n 's/mbuffer version //p'") , topic: versions, emit: versions_mbuffer
1919

2020
when:
2121
task.ext.when == null || task.ext.when

modules/nf-core/bwafastalign/index/meta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ output:
6666
- mbuffer:
6767
type: string
6868
description: The name of the tool
69-
- mbuffer --version 2>&1 | sed -n 's/mbuffer //p':
69+
- mbuffer --version 2>&1 | sed -n 's/mbuffer version //p':
7070
type: eval
7171
description: The expression to obtain the version of the tool
7272
topics:
@@ -97,7 +97,7 @@ topics:
9797
- mbuffer:
9898
type: string
9999
description: The name of the tool
100-
- mbuffer --version 2>&1 | sed -n 's/mbuffer //p':
100+
- mbuffer --version 2>&1 | sed -n 's/mbuffer version //p':
101101
type: eval
102102
description: The expression to obtain the version of the tool
103103
authors:

modules/nf-core/bwafastalign/index/tests/main.nf.test.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
[
3838
"BWAFASTALIGN_INDEX",
3939
"mbuffer",
40-
"version 20160228"
40+
"20160228"
4141
]
4242
],
4343
"index": [
@@ -68,7 +68,7 @@
6868
[
6969
"BWAFASTALIGN_INDEX",
7070
"mbuffer",
71-
"version 20160228"
71+
"20160228"
7272
]
7373
],
7474
"versions_samtools": [
@@ -80,11 +80,11 @@
8080
]
8181
}
8282
],
83+
"timestamp": "2026-06-12T09:01:04.51149493",
8384
"meta": {
84-
"nf-test": "0.9.3",
85-
"nextflow": "25.04.0"
86-
},
87-
"timestamp": "2026-06-08T12:26:53.94075"
85+
"nf-test": "0.9.5",
86+
"nextflow": "25.10.4"
87+
}
8888
},
8989
"BWAFASTALIGN index": {
9090
"content": [
@@ -110,7 +110,7 @@
110110
[
111111
"BWAFASTALIGN_INDEX",
112112
"mbuffer",
113-
"version 20160228"
113+
"20160228"
114114
]
115115
],
116116
"versions_samtools": [
@@ -122,10 +122,10 @@
122122
]
123123
}
124124
],
125+
"timestamp": "2026-06-12T09:00:56.338215387",
125126
"meta": {
126-
"nf-test": "0.9.3",
127-
"nextflow": "25.04.0"
128-
},
129-
"timestamp": "2026-06-08T12:26:41.54578"
127+
"nf-test": "0.9.5",
128+
"nextflow": "25.10.4"
129+
}
130130
}
131131
}

modules/nf-core/bwafastalign/mem/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ process BWAFASTALIGN_MEM {
1818
tuple val(meta), path("${prefix}.{csi,crai}") , emit: index , optional: true
1919
tuple val("${task.process}"), val('bwafastalign'), val('1.0.0'), topic: versions, emit: versions_bwafastalign
2020
tuple val("${task.process}"), val('samtools'), eval("samtools --version 2>&1 | sed '1!d;s/.* //'") , topic: versions, emit: versions_samtools
21-
tuple val("${task.process}"), val('mbuffer'), eval("mbuffer --version 2>&1 | sed -n 's/mbuffer //p'") , topic: versions, emit: versions_mbuffer
21+
tuple val("${task.process}"), val('mbuffer'), eval("mbuffer --version 2>&1 | sed -n 's/mbuffer version//p'") , topic: versions, emit: versions_mbuffer
2222

2323
when:
2424
task.ext.when == null || task.ext.when

modules/nf-core/bwafastalign/mem/meta.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ output:
6363
description: |
6464
Groovy Map containing sample information
6565
e.g. [ id:'test', single_end:false ]
66-
- "${prefix}.{sam,bam,cram}":
66+
- ${prefix}.{sam,bam,cram}:
6767
type: file
6868
description: Output alignment file (SAM, BAM, or CRAM)
6969
pattern: "*.{sam,bam,cram}"
@@ -74,7 +74,7 @@ output:
7474
description: |
7575
Groovy Map containing sample information
7676
e.g. [ id:'test', single_end:false ]
77-
- "${prefix}.{csi,crai}":
77+
- ${prefix}.{csi,crai}:
7878
type: file
7979
description: Index file for BAM (.csi) or CRAM (.crai) output
8080
pattern: "*.{csi,crai}"
@@ -106,7 +106,7 @@ output:
106106
- mbuffer:
107107
type: string
108108
description: The name of the tool
109-
- mbuffer --version 2>&1 | sed -n 's/mbuffer //p':
109+
- mbuffer --version 2>&1 | sed -n 's/mbuffer version//p':
110110
type: eval
111111
description: The expression to obtain the version of the tool
112112
topics:
@@ -135,7 +135,7 @@ topics:
135135
- mbuffer:
136136
type: string
137137
description: The name of the tool
138-
- mbuffer --version 2>&1 | sed -n 's/mbuffer //p':
138+
- mbuffer --version 2>&1 | sed -n 's/mbuffer version//p':
139139
type: eval
140140
description: The expression to obtain the version of the tool
141141
authors:

modules/nf-core/bwafastalign/mem/tests/main.nf.test.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[
1616
"BWAFASTALIGN_MEM",
1717
"mbuffer",
18-
"version 20160228"
18+
" 20160228"
1919
]
2020
],
2121
"versions_samtools": [
@@ -27,7 +27,7 @@
2727
]
2828
}
2929
],
30-
"timestamp": "2026-06-11T15:15:59.311623833",
30+
"timestamp": "2026-06-12T08:29:18.833924106",
3131
"meta": {
3232
"nf-test": "0.9.5",
3333
"nextflow": "25.10.4"
@@ -72,7 +72,7 @@
7272
[
7373
"BWAFASTALIGN_MEM",
7474
"mbuffer",
75-
"version 20160228"
75+
" 20160228"
7676
]
7777
],
7878
"index": [
@@ -104,7 +104,7 @@
104104
[
105105
"BWAFASTALIGN_MEM",
106106
"mbuffer",
107-
"version 20160228"
107+
" 20160228"
108108
]
109109
],
110110
"versions_samtools": [
@@ -116,7 +116,7 @@
116116
]
117117
}
118118
],
119-
"timestamp": "2026-06-11T15:40:28.793626766",
119+
"timestamp": "2026-06-12T08:32:15.456124051",
120120
"meta": {
121121
"nf-test": "0.9.5",
122122
"nextflow": "25.10.4"
@@ -138,7 +138,7 @@
138138
[
139139
"BWAFASTALIGN_MEM",
140140
"mbuffer",
141-
"version 20160228"
141+
" 20160228"
142142
]
143143
],
144144
"versions_samtools": [
@@ -150,7 +150,7 @@
150150
]
151151
}
152152
],
153-
"timestamp": "2026-06-11T15:40:18.344456977",
153+
"timestamp": "2026-06-12T08:32:05.037964846",
154154
"meta": {
155155
"nf-test": "0.9.5",
156156
"nextflow": "25.10.4"
@@ -172,7 +172,7 @@
172172
[
173173
"BWAFASTALIGN_MEM",
174174
"mbuffer",
175-
"version 20160228"
175+
" 20160228"
176176
]
177177
],
178178
"versions_samtools": [
@@ -184,7 +184,7 @@
184184
]
185185
}
186186
],
187-
"timestamp": "2026-06-11T15:10:31.399321129",
187+
"timestamp": "2026-06-12T08:23:56.737918563",
188188
"meta": {
189189
"nf-test": "0.9.5",
190190
"nextflow": "25.10.4"
@@ -206,7 +206,7 @@
206206
[
207207
"BWAFASTALIGN_MEM",
208208
"mbuffer",
209-
"version 20160228"
209+
" 20160228"
210210
]
211211
],
212212
"versions_samtools": [
@@ -218,7 +218,7 @@
218218
]
219219
}
220220
],
221-
"timestamp": "2026-06-11T15:34:49.432709311",
221+
"timestamp": "2026-06-12T08:26:37.839861629",
222222
"meta": {
223223
"nf-test": "0.9.5",
224224
"nextflow": "25.10.4"

0 commit comments

Comments
 (0)