Skip to content
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

hyperfine with snakemake #659

Open
TdzBAS opened this issue Jun 12, 2023 · 1 comment
Open

hyperfine with snakemake #659

TdzBAS opened this issue Jun 12, 2023 · 1 comment
Labels
question Further information is requested

Comments

@TdzBAS
Copy link

TdzBAS commented Jun 12, 2023

Hi,

i want to benchmark a snakemake-pipeline of mine. In snakemake one specifies a higher rule, called rule all, which must be achieved by smaler rules. after finishing rule all, a re-execution cannot happen if the outputfiles are already generated. so therefore i always have to delete the output files to run snakemake again, in order to benchmark the pipeline. How can i subtract the execution time for the removal of the outputfiles from my final results?

thanks,
Tolga

@sharkdp
Copy link
Owner

sharkdp commented Jun 14, 2023

This is exactly what --prepare and --cleanup are for. Please see the man page / README for more information.

@sharkdp sharkdp added the question Further information is requested label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants