test: load prokaryotic config in nf-test instead of duplicating params#1736
Merged
Conversation
Add config "../conf/prokaryotic.config" to the prokaryotic test suite so that prokaryotic-specific settings (prokaryotic flag, aligner, gffread, featurecounts_feature_type, skip_bigwig, skip_rseqc, skip_dupradar, skip_qualimap) come from the profile config rather than being duplicated in each test's params block. Tests now only set: - Test data paths (input, fasta, gff, gtf=null, etc.) - Aligner override for star_salmon tests - Test-specific skips (bbsplit, preseq, biotype_qc, deseq2_qc) - min_trimmed_reads = 0 Addresses review feedback from @adamrtalbot in PR #1717. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.5.1. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
Author
|
Note that we don't have per-test profile config in CI, hence this workaround |
adamrtalbot
approved these changes
Feb 27, 2026
The prokaryotic config now applies skip_bigwig = true to all prokaryotic tests (including star_salmon), which is correct behavior but changes the expected output. Removing snapshots so CI regenerates them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove bigwig-related entries (BEDTOOLS_GENOMECOV_FW/REV, UCSC_BEDCLIP/BEDGRAPHTOBIGWIG, bigwig file paths) from the star_salmon prokaryotic snapshot since skip_bigwig=true is now applied via the prokaryotic config. Task count 58 -> 46. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses @adamrtalbot's PR #1717 feedback that prokaryotic nf-tests should not re-set params already defined in the prokaryotic profile.
Adds
config "../conf/prokaryotic.config"at thenextflow_pipelinelevel intests/prokaryotic.nf.test, so prokaryotic-specific settings are loaded from the config file rather than duplicated in each test's params block.Removed from params blocks (now inherited from
conf/prokaryotic.config):prokaryotic = truegffread_transcript_fasta = truealigner = 'bowtie2_salmon'featurecounts_feature_type = 'CDS'skip_rseqc,skip_dupradar,skip_qualimapskip_bigwigKept in params blocks (test-specific):
aligner = 'star_salmon'override for star_salmon testsskip_bbsplit,skip_preseq,skip_biotype_qc,skip_deseq2_qcmin_trimmed_reads = 0Follows up on #1734 which composed
test_prokaryoticonprokaryoticinnextflow.config.Test plan
🤖 Generated with Claude Code