chore: clean up Nextflow selector warnings and dead config#472
Open
m-huertasp wants to merge 17 commits into
Open
chore: clean up Nextflow selector warnings and dead config#472m-huertasp wants to merge 17 commits into
m-huertasp wants to merge 17 commits into
Conversation
- MUTRATE.*:MUTRATE* - OMEGA.*:ESTIMATOR_-* - OMEGA.*:(PREPROCESSING|ESTIMATOR).*
22 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.
What this does
Removes accumulated Nextflow "no matching selector" warnings that appeared after recent feature additions deleted or renamed processes. The fix has two parts: stripping dead
withNameblocks for processes that no longer exist, and simplifying overly-qualified selector paths so they match the actual module names. Feature-gated processes (regressions, introns, non-prot) get explicit comments so the expected warning is documented rather than treated as a regression.Changes
withNameselectors for deleted processes:CREATESAMPLEPANELS,SUBSETPANEL,MUTRATE,SUBSETPILEUP,READSPOSBEDbase.config,exome.config,modules.config,panels.config(drop redundant namespace prefixes that no longer match)workflows/deepcsa.nfand subworkflows; remove redundant.first()callsWhat to review
Run in Seqera to make sure no errors are raised there.
There are still some warnings from selectors:
What I did to remove most of these "selector" warnings was to follow what is done in here. Basically, for those selectors that can be distinguished on their own, use only their name:
For these selectors that I couldn't use the explicit module name, it is because some logic is used to use specific subfolders based on the name (e.g. .INTRONS., etc) or because same module name is used (e.g.
BBGTOOLS:DEEPCSA:OMEGAMULTI:SITECOMPARISONandBBGTOOLS:DEEPCSA:OMEGA:SITECOMPARISONFor the
.first()redundant calls, I think I fix most of them. There are some missing related with theclonal_structureand theget_signaturesmodes that I couldn't find.Testing
Verified by running the pipeline. No functional behaviour change found.
closes #468