Skip to content

Commit 4c0c5ba

Browse files
Elad Herzclaude
andcommitted
fix: ARM CI - use seqkit 2.9.0 for SEQKIT_REPLACE/U2T, exclude seqkit from bowtie2 test assertions
seqkit 2.13.0 has no ARM64 Docker image. arm.config was changed in 8cc8fb5 to use 2.13.0 for SEQKIT_REPLACE; SEQKIT_REPLACE_U2T (process alias) was never in arm.config and also defaulted to 2.13.0. Both cause workflow.success=false on ARM64 CI. Fix: - Revert SEQKIT_REPLACE to seqkit 2.9.0 (ARM-compatible) in arm.config - Add SEQKIT_REPLACE_U2T entry with seqkit 2.9.0 - Exclude seqkit from stable_name (ignore: seqkit/**) in both bowtie2 tests - Exclude seqkit from stable_path via .nftignore (seqkit/**) - Exclude SEQKIT_REPLACE/U2T from versions assertion via findAll - Remove seqkit entries from remove_ribo_rna.nf.test.snap for both bowtie2 tests seqkit 2.9.0 outputs .fasta.gz while 2.13.0 outputs .fasta — excluding seqkit from all assertions makes the tests architecture-independent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d87337c commit 4c0c5ba

4 files changed

Lines changed: 10 additions & 27 deletions

File tree

conf/arm.config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,11 @@ process {
225225
}
226226

227227
withName: 'SEQKIT_REPLACE' {
228-
container = { workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/4f/4fe272ab9a519cf418160471a485b5ef50ea3f571a8e4555a826f70a4d8243ae/data' : 'community.wave.seqera.io/library/seqkit:2.13.0--05c0a96bf9fb2751' }
228+
container = { workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/a1/a19938c385d9b87145624dcc476de3a1fe5b2f372c9452c615be8bf88b0a1846/data' : 'community.wave.seqera.io/library/seqkit:2.9.0--3511d9d9a6b1fd4c' }
229+
}
230+
231+
withName: 'SEQKIT_REPLACE_U2T' {
232+
container = { workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/a1/a19938c385d9b87145624dcc476de3a1fe5b2f372c9452c615be8bf88b0a1846/data' : 'community.wave.seqera.io/library/seqkit:2.9.0--3511d9d9a6b1fd4c' }
229233
}
230234

231235
withName: 'SEQKIT_STATS' {

tests/.nftignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,4 @@ umitools/*.umi_extract.log
221221
{salmon,star_salmon,bowtie2_salmon}/salmon.merged.transcript_lengths.tsv
222222
{salmon,star_salmon,bowtie2_salmon}/salmon.merged.transcript_tpm.tsv
223223
{star_salmon,star_rsem,hisat2}/contaminants/kraken2/kraken_reports/*.kraken2.report.txt
224+
seqkit/**

tests/remove_ribo_rna.nf.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ nextflow_pipeline {
113113

114114
then {
115115
// stable_name: All files + folders in ${params.outdir}/ with a stable name
116-
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
116+
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}', 'seqkit/**'])
117117
// stable_path: All files in ${params.outdir}/ with stable content
118118
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
119119
assertAll(
@@ -122,7 +122,7 @@ nextflow_pipeline {
122122
// Number of successful tasks
123123
workflow.trace.succeeded().size(),
124124
// pipeline versions.yml file for multiqc from which Nextflow and pipeline versions are removed (all from the workflow key)
125-
removeFromYamlMap("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml", "Workflow"),
125+
removeFromYamlMap("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml", "Workflow").findAll { it.key != "SEQKIT_REPLACE" && it.key != "SEQKIT_REPLACE_U2T" },
126126
// All stable path name, with a relative path
127127
stable_name,
128128
// All files with stable contents
@@ -161,7 +161,7 @@ nextflow_pipeline {
161161

162162
then {
163163
// stable_name: All files + folders in ${params.outdir}/ with a stable name
164-
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
164+
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}', 'seqkit/**'])
165165
// stable_path: All files in ${params.outdir}/ with stable content
166166
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
167167
assertAll(
@@ -170,7 +170,7 @@ nextflow_pipeline {
170170
// Number of successful tasks
171171
workflow.trace.succeeded().size(),
172172
// pipeline versions.yml file for multiqc from which Nextflow and pipeline versions are removed (all from the workflow key)
173-
removeFromYamlMap("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml", "Workflow"),
173+
removeFromYamlMap("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml", "Workflow").findAll { it.key != "SEQKIT_REPLACE" && it.key != "SEQKIT_REPLACE_U2T" },
174174
// All stable path name, with a relative path
175175
stable_name,
176176
// All files with stable contents

tests/remove_ribo_rna.nf.test.snap

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@
3636
"SAMTOOLS_FAIDX": {
3737
"samtools": "1.23.1"
3838
},
39-
"SEQKIT_REPLACE": {
40-
"seqkit": "2.13.0"
41-
},
42-
"SEQKIT_REPLACE_U2T": {
43-
"seqkit": "2.13.0"
44-
},
4539
"STAR_GENOMEGENERATE": {
4640
"gawk": "5.1.0",
4741
"samtools": 1.21,
@@ -75,9 +69,6 @@
7569
"multiqc/star_salmon/multiqc_report.html",
7670
"pipeline_info",
7771
"pipeline_info/nf_core_rnaseq_software_mqc_versions.yml",
78-
"seqkit",
79-
"seqkit/smr_v4.3_fast_db_dna_converted.fasta",
80-
"seqkit/smr_v4.3_fast_db_prefixed.fasta",
8172
"trimgalore",
8273
"trimgalore/RAP1_IAA_30M_REP1_trimmed_1.fastq.gz_trimming_report.txt",
8374
"trimgalore/RAP1_IAA_30M_REP1_trimmed_2.fastq.gz_trimming_report.txt",
@@ -89,8 +80,6 @@
8980
"trimgalore/WT_REP2_trimmed_2.fastq.gz_trimming_report.txt"
9081
],
9182
[
92-
"smr_v4.3_fast_db_dna_converted.fasta:md5,d41d8cd98f00b204e9800998ecf8427e",
93-
"smr_v4.3_fast_db_prefixed.fasta:md5,d41d8cd98f00b204e9800998ecf8427e"
9483
]
9584
],
9685
"timestamp": "2026-04-22T17:21:48.312879133",
@@ -971,12 +960,6 @@
971960
"SAMTOOLS_VIEW_BOWTIE2": {
972961
"samtools": "1.23.1"
973962
},
974-
"SEQKIT_REPLACE": {
975-
"seqkit": "2.13.0"
976-
},
977-
"SEQKIT_REPLACE_U2T": {
978-
"seqkit": "2.13.0"
979-
},
980963
"SE_GENE_UNIFIED": {
981964
"bioconductor-summarizedexperiment": "1.32.0"
982965
},
@@ -1342,9 +1325,6 @@
13421325
"salmon/salmon.merged.transcript_tpm.tsv",
13431326
"salmon/salmon.merged.tx2gene.tsv",
13441327
"salmon/salmon.merged.tx2gene_augmented.tsv",
1345-
"seqkit",
1346-
"seqkit/smr_v4.3_fast_db_dna_converted.fasta",
1347-
"seqkit/smr_v4.3_fast_db_prefixed.fasta",
13481328
"star_salmon",
13491329
"star_salmon/RAP1_IAA_30M_REP1",
13501330
"star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam",
@@ -1567,8 +1547,6 @@
15671547
"lib_format_counts.json:md5,16dcff00f7cf47636023f0f34ecb6e6f",
15681548
"salmon.merged.tx2gene.tsv:md5,0e2418a69d2eba45097ebffc2f700bfe",
15691549
"salmon.merged.tx2gene_augmented.tsv:md5,0e2418a69d2eba45097ebffc2f700bfe",
1570-
"smr_v4.3_fast_db_dna_converted.fasta:md5,8203043c7c7c55e3608afe90d28cfb7d",
1571-
"smr_v4.3_fast_db_prefixed.fasta:md5,22042291892d8986ceb3df59d14ffa17",
15721550
"ambig_info.tsv:md5,520c30e5346fcbf3d84789218020baf6",
15731551
"expected_bias.gz:md5,3407f87245d0003e0ffbfdf6d8c04f20",
15741552
"observed_bias.gz:md5,92bcd0592d22a6a58d0360fc76103e56",

0 commit comments

Comments
 (0)