refactor: flatten pipeline assets back to top-level assets/#1852
Merged
Conversation
Move workflows/rnaseq/assets/* up to assets/, drop the multiqc/ subdirectory, and update path references so the pipeline matches the standard nf-core layout. This unblocks `nf-core pipelines bump-version`, which only knows about assets/multiqc_config.yml; previously the file lived at workflows/rnaseq/assets/multiqc/multiqc_config.yml and silently went untouched on every release bump. Also drops the now-redundant multiqc_config lint exemption and the files_exist exemption for assets/multiqc_config.yml from .nf-core.yml. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
nf-core lint's multiqc_config check requires `software_versions` and `nf-core-<pipeline>-summary` keys in `report_section_order` (no `-module` suffix). MultiQC accepts both the bare anchor and the `-module` form for these custom-content sections, so the rendered report ordering is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <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
workflows/rnaseq/assets/is moved up to the canonicalassets/directory so the pipeline matches the standard nf-core layout.Why
nf-core pipelines bump-versiononly knows aboutassets/multiqc_config.yml(see bump_version.py). Our config lived atworkflows/rnaseq/assets/multiqc/multiqc_config.ymlso the tool silently skipped it on every release bump, forcing manual edits to the report_comment URLs (which is exactly the bug @mashehu flagged on #1799 and applauded the manual fix for on #1844). With the file in the canonical location,nf-core pipelines bump-version 3.27.0now also touchesassets/multiqc_config.yml,.nf-core.yml,nextflow.config, andro-crate-metadata.jsonin one shot.What moves
All under
workflows/rnaseq/assets/are now flat underassets/:multiqc/multiqc_config.yml→multiqc_config.ymlmultiqc/methods_description_template.yml→methods_description_template.ymlmultiqc/biotypes_header.txt→biotypes_header.txtmultiqc/deseq2_clustering_header.txt→deseq2_clustering_header.txtmultiqc/deseq2_pca_header.txt→deseq2_pca_header.txtmultiqc/sample_status_header.txt→sample_status_header.txtmultiqc/strand_check_summary.yaml→strand_check_summary.yamlmultiqc/strand_check_composition.yaml→strand_check_composition.yamlrrna-db-defaults.txt→rrna-db-defaults.txtPath updates in
nextflow.config,nextflow_schema.json,workflows/rnaseq/main.nf, and the pipeline initialisation nf-test. Drops the now-redundantmultiqc_config: falselint skip and theassets/multiqc_config.ymlentry fromfiles_existin.nf-core.yml.Test plan
nf-core pipelines bump-version 3.27.0on a checked-out copy of this branch updatesassets/multiqc_config.yml(report_comment URLs),nextflow.config,.nf-core.yml, andro-crate-metadata.jsoncleanlyworkflows/rnaseq/assets🤖 Generated with Claude Code