snakemake
snakemake copied to clipboard
feat: Initial attempt at adding a --any-of feature
Make it possible to perform a subset of the requested jobs
QC
- [x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
- [ ] The documentation (
docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).
Summary by CodeRabbit
Summary by CodeRabbit
Release Notes
-
New Features
- Introduced
--any-ofcommand-line argument for flexible rule or file execution. - Enhanced
DAGclass to manage additional command-line options for job execution. - Updated
Workflowclass to incorporateany_ofsettings for improved DAG processing. - Added new rules in the Snakemake workflow for better file processing.
- Improved validation in
DAGSettingsto prevent conflicting options.
- Introduced
-
Tests
- Added
test_anyof()to validate the newany_offunctionality in workflows.
- Added