-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Change in Snakemake rerun behaviour #36
Comments
There is currently a discussion on the Snakemake discord server on whether to change the default behaviour of |
I think this is now dealt with, in that the latest version of the course now deals with the Snakemake 8 behaviour, which I hope is stable. I'm reticent to remove |
As outlined in this post and the snakemake manual under
--rerun-triggers
, snakemake >=7.8 now reruns by default after changes in code, parameter values, input files and software environments, in addition to file timestamps.Consequently, I believe the following statement needs to be updated in episode 4:
"But it doesn’t help us in the situation when rules in the Snakefile change, rather than input files, Snakemake won’t see that the results are out-of-date. For example, if we changed the quality cutoffs within the trimreads rule then Snakemake would not automatically re-run those rules, because it only checks that the output file is newer than the input file."
Perhaps the easiest way forward would be to skip teaching
-R
, as snakemake should now identify all the cases in which we would have used-R
in the course (I think). What are your thoughts Tim?The text was updated successfully, but these errors were encountered: