-
Notifications
You must be signed in to change notification settings - Fork 5
Upgrade to Snakemake version 9 #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Reviewer's GuideThe PR upgrades the Snakemake dependency to version 9.3.3 and standardizes all environment YAML dependencies to the conda-forge channel, including adding an explicit conda package in both development and production config files. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @fgypas - I've reviewed your changes and they look great!
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location> `install/environment.dev.yml:7` </location>
<code_context>
- - graphviz
- - unzip
+ - conda-forge::biopython
+ - conda-forge::conda
+ - conda-forge::graphviz
+ - conda-forge::pyopenssl>=23.2.0
</code_context>
<issue_to_address>
Including 'conda' as a dependency may be redundant within a conda environment.
Including 'conda' as a dependency can lead to conflicts since the environment is already managed by conda. Please verify if this is necessary.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
- conda-forge::conda
=======
>>>>>>> REPLACE
</suggested_fix>
### Comment 2
<location> `install/environment.yml:4` </location>
<code_context>
- - graphviz
- - unzip
+ - conda-forge::biopython
+ - conda-forge::conda
+ - conda-forge::graphviz
+ - conda-forge::pyopenssl>=23.2.0
</code_context>
<issue_to_address>
Adding 'conda' to the environment may introduce unnecessary complexity.
Only include the conda CLI if it's strictly needed to avoid potential version or path conflicts.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
- conda-forge::conda
- conda-forge::graphviz
=======
- conda-forge::graphviz
>>>>>>> REPLACE
</suggested_fix>
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the version update @fgypas. The zarp conda environment builds successfully, however, running tests with slurm fails as since version 8, Snakemake requires the use of executor plugins for cluster submission. Could you update slurm execution and corresponding docs?
Hi @ninsch3000 Thank very much for looking into it. I made an update to use the general executor plugin and updated the corresponding profiles. Can you please give it a try in the cluster? Thank you in advance for your help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fgypas
Thanks for implementing this.
I ran all the tests for which we have a test.slurm.sh
script and they all finished successfully.
As you're using the generic cluster plugin together with our old slurm*.py scripts - instead of using the snakemake slurm plugin - I assume this is because we have a highly customized setup for our HPC. Is that true? Do you assume this is portable to be used on other slurm clusters? Could you otherwise provide some comments on possible limitations in the README.
Thanks a lot again.
Description
Upgrade Snakemake version 9
Fixes #190
Type of change
Please delete options that are not relevant.
Conventional Commits guidelines
https://www.conventionalcommits.org/en/v1.0.0/
Changes to workflow inputs (sample table and/or configs)
Changes to workflow outputs
Everything else: patch
(add any other conventional commit in the beginning of the PR title)
Checklist:
Summary by Sourcery
Upgrade Snakemake requirement to version 9.3.3 and standardize core dependencies on the conda-forge channel in both development and production environment files.
Enhancements: