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

Document snakemake commands with required cores argument #599

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

huddlej
Copy link
Contributor

@huddlej huddlej commented Aug 7, 2020

Adds the required --cores 1 argument to all calls to snakemake in both scripts and documentation. This is the first step toward removing Snakemake as an augur dependency.

Adds the required `--cores 1` argument to all calls to snakemake in both scripts
and documentation.

This is the first step toward removing Snakemake as an augur dependency [1].

[1] #557
@codecov
Copy link

codecov bot commented Aug 7, 2020

Codecov Report

Merging #599 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #599   +/-   ##
=======================================
  Coverage   26.58%   26.58%           
=======================================
  Files          36       36           
  Lines        5278     5278           
  Branches     1306     1306           
=======================================
  Hits         1403     1403           
  Misses       3825     3825           
  Partials       50       50           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f58cf9...bdb8cde. Read the comment docs.

@huddlej huddlej merged commit 76c04eb into master Aug 7, 2020
@huddlej huddlej deleted the document-snakemake-cores branch August 7, 2020 20:42
@tsibley
Copy link
Member

tsibley commented Aug 7, 2020

@huddlej Why --cores 1 and not --cores?

@huddlej
Copy link
Contributor Author

huddlej commented Aug 11, 2020

@tsibley One core is a safer default for most environments (especially a shared environment like a rhino node on the Hutch cluster) and I prefer to have an explicit integer argument that hints to new users that there is a value they can change as they wish.

@tsibley
Copy link
Member

tsibley commented Aug 11, 2020

@huddlej Makes sense, thanks for the rationale! (FWIW, I think rationale like that is a great thing to put in commit messages. :-)

@huddlej huddlej added this to the Major release 10.0.0 milestone Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants