-
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
some snakemake principles - #45
Comments
Mostafa Shokrof
Mostafa Shokrof
|
Also
Not the |
(well, you can remove it but snakemake might rerun stuff that you'd prefer not to be rerun ;) |
if you didn’t create the file, snakemake did; you can safely remove it and snakemake will recreate it!
if running with
--use-conda
, don’t run snakemake/genome-grist/charcoal/sgc in a new directory every time; snakemake puts the conda environment stuff under.snakemake/conda
in the current working directory, and this will be recreated every time you start in a new directory.-k
is a good default - it will run all steps possible, before exiting with errors. This prevents a few errors from stopping a multi-day run!if after running with
snakemake -k ...
you get an error exit and you want to find the error message, rerun with-j 1 -k
and you will see the error message much more clearly!TODO: discuss how -j and memory-intensive steps interact, and how you can specify available (memory) resources on command line.
note that genome-grist, charcoal, and spacegraphcats all are built around snakemake and accept any valid snakemake argument on the command line.
The text was updated successfully, but these errors were encountered: