Skip to content

Commit 524a7d5

Browse files
authored
fix tabix/tabix stub (#9544)
* fix tabix stub * bump max shards to 16
1 parent d6672e7 commit 524a7d5

5 files changed

Lines changed: 17 additions & 36 deletions

File tree

.github/workflows/nf-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
env:
7878
NFT_VER: ${{ env.NFT_VER }}
7979
with:
80-
max_shards: 15
80+
max_shards: 16
8181
paths: "${{ join(fromJson(steps.list.outputs.components ), ' ') }}"
8282

8383
- name: debug

modules/nf-core/tabix/tabix/main.nf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ process TABIX_TABIX {
3030
def args = task.ext.args ?: ''
3131
def index = args.contains("-C ") || args.contains("--csi") ? "csi" : "tbi"
3232
"""
33-
touch ${tab}.tbi
34-
touch ${tab}.csi
33+
touch ${tab}.${index}
3534
"""
3635
}

modules/nf-core/tabix/tabix/tests/main.nf.test.snap

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@
130130
{
131131
"id": "vcf_csi_stub"
132132
},
133-
[
134-
"test.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e",
135-
"test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
136-
]
133+
"test.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e"
137134
]
138135
],
139136
"1": [
@@ -148,10 +145,7 @@
148145
{
149146
"id": "vcf_csi_stub"
150147
},
151-
[
152-
"test.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e",
153-
"test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
154-
]
148+
"test.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e"
155149
]
156150
],
157151
"versions_tabix": [
@@ -164,10 +158,10 @@
164158
}
165159
],
166160
"meta": {
167-
"nf-test": "0.9.3",
168-
"nextflow": "25.04.7"
161+
"nf-test": "0.9.2",
162+
"nextflow": "25.10.2"
169163
},
170-
"timestamp": "2025-11-20T13:47:46.12436"
164+
"timestamp": "2025-12-10T14:31:29.90297082"
171165
},
172166
"sarscov2_vcf_csi": {
173167
"content": [

subworkflows/nf-core/vcf_annotate_ensemblvep/tests/main.nf.test.snap

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@
3232
"id": "test"
3333
},
3434
"test.vep.vcf.gz:md5,68b329da9893e34099c7d8ad5cb9c940",
35-
[
36-
"test.vep.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e",
37-
"test.vep.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
38-
]
35+
"test.vep.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
3936
]
4037
],
4138
"1": [
@@ -65,10 +62,7 @@
6562
"id": "test"
6663
},
6764
"test.vep.vcf.gz:md5,68b329da9893e34099c7d8ad5cb9c940",
68-
[
69-
"test.vep.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e",
70-
"test.vep.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
71-
]
65+
"test.vep.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
7266
]
7367
],
7468
"versions": [
@@ -77,9 +71,9 @@
7771
}
7872
],
7973
"meta": {
80-
"nf-test": "0.9.3",
81-
"nextflow": "25.10.0"
74+
"nf-test": "0.9.2",
75+
"nextflow": "25.10.2"
8276
},
83-
"timestamp": "2025-11-28T09:51:42.245769"
77+
"timestamp": "2025-12-10T14:35:25.633650675"
8478
}
8579
}

subworkflows/nf-core/vcf_gather_bcftools/tests/main.nf.test.snap

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@
5353
{
5454
"id": "test"
5555
},
56-
[
57-
"test.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e",
58-
"test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
59-
]
56+
"test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
6057
]
6158
],
6259
"2": [
@@ -68,10 +65,7 @@
6865
{
6966
"id": "test"
7067
},
71-
[
72-
"test.vcf.gz.csi:md5,d41d8cd98f00b204e9800998ecf8427e",
73-
"test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
74-
]
68+
"test.vcf.gz.tbi:md5,d41d8cd98f00b204e9800998ecf8427e"
7569
]
7670
],
7771
"vcf": [
@@ -101,9 +95,9 @@
10195
]
10296
],
10397
"meta": {
104-
"nf-test": "0.9.3",
105-
"nextflow": "25.10.0"
98+
"nf-test": "0.9.2",
99+
"nextflow": "25.10.2"
106100
},
107-
"timestamp": "2025-11-27T16:36:39.797305"
101+
"timestamp": "2025-12-10T14:41:23.392663555"
108102
}
109103
}

0 commit comments

Comments
 (0)