Repository navigation
Merge prepare_genome subworkflows into a single prepare_genome - #162
Merged
Merged
Conversation
Combine PREPARE_GENOME_RNASEQ and PREPARE_GENOME_DNASEQ into one PREPARE_GENOME subworkflow. The two SAMTOOLS_FAIDX invocations collapse into one call with the union of their conditions, and workflows/references.nf calls the subworkflow once. Generated by OpenCode
|
Nextflow 26.10 publish no longer coerces strings, so the raw URL string in the splice_sites channel crashed the output block with 'No such variable: fileName'. Resolve it like every other datasheet field. Generated by OpenCode
4 of 11 tasks
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.
PR checklist
CHANGELOG.mdis updatednextflow_schema.jsonis updated (if needed)docs/usage.mdis updated (if needed)docs/output.mdis updated (if needed)assets/is updated (if needed)TODOcommentsDescription
Merge
PREPARE_GENOME_RNASEQandPREPARE_GENOME_DNASEQinto a singlePREPARE_GENOMEsubworkflow (roadmap PR 7).SAMTOOLS_FAIDXinvocations collapse into one call with the union of their conditions (('faidx' in tools || 'sizes' in tools) && meta.run_faidx, withgenerate_sizesdriven bysizes). The DNA condition was a strict subset of the RNA one, so behaviour is preserved, and duplicate faidx runs on the same genome no longer happen.workflows/references.nfincludes and calls the subworkflow once; all emit names are unchanged, so no downstream wiring ormain.nfchange was needed.join_by_meta_idmoves into the merged subworkflow.HISAT2_BUILDandSTAR_GENOMEGENERATEconsume the gffread-mixedgtfand the splice-sites mix, so they stay after those mixes.Scope note: the merged subworkflow is internal. It is not published to the registry and is not part of the consumer contract; consumers keep using the generated
params.yml.Testing
nextflow lintclean on the touched files; prek hooks pass.nf-core pipelines lint: 364 passed, 0 failed (21 pre-existing template TODO warnings).nf-test test tests/ --profile=+docker: 19/26 passing. The 7 remaining failures are pre-existing and unrelated: they fail ondevtoo (dev CI is red), caused bysplice_sitesURL strings fromreferences-datasheetsreaching the output block, on dataflow identical todev.Generated by OpenCode