-
Notifications
You must be signed in to change notification settings - Fork 16
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
fix: Update scheduler script #1372
Conversation
|
How has this been resolved? Is it just that we increased the sleep? : ) |
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.
Amazing effort 🌟 👍 👍
Do you think there will be any effects on production from the increased submission times in this update? Will it decrease the need for sleep time because it's slower?
Co-authored-by: Mathias Johansson <math.joh.bio@gmail.com>
Co-authored-by: Mathias Johansson <math.joh.bio@gmail.com>
Unfortunately nothing has changed regarding the Key Error :( I think if we want to get rid of it we would need to fork snakemake and catch the Key Error |
I think it could make it worse. Slower submission times, even by just around one minute, will increase the chances of encountering a Key Error. Should be OK since we also increased the sleep time but I will test it once more to make sure the submission times align with what I have tested before. We can scrap this PR, but if we would like to add memory allocation in the future this PR would make it way easier |
|
I'm in favour of deploying it, I don't think adding a few more minutes to the sleep rule would be an issue anyway! Probably better to be able to add memory allocation! |
I've tested it again, same results as the ones I included before |
Description
Refactors the scheduler script and removes the qsub option, currently non-functional in production. If we choose to reintroduce it in the future, the process will be straightforward as the code and models are easily extendable.
This guide explains the need for overwriting the Snakemake scheduler and could help in understanding the code execution flow: https://r3.pages.uni.lu/school/snakemake-tutorial/HPC#immediate_submit
Changed
Removed
Documentation
user_guide.rst
Tests
Feature Tests
3m2.062s
,2m23.637s
3m48.636s
,2m47.884s
slurm_jobids.yaml
file (for job parsing by trailblazer)cg workflow balsamic start <case_id>
Pipeline Integrity Tests
.hk
file)Clinical Genomics Stockholm
Documentation
User Changes
Infrastructure Changes
Integration Tests
Checklist
Important
Ensure that all checkboxes below are ticked before merging.
For Developers
For Reviewers
conditions where applicable, with satisfactory results.