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

Threads via variable. #361

Open
wants to merge 2 commits into
base: default
Choose a base branch
from
Open

Threads via variable. #361

wants to merge 2 commits into from

Conversation

rajwanir
Copy link

@rajwanir rajwanir commented Nov 25, 2024

  1. Renames the max_threads parameter to cores (925d5c6).
  2. Uses workflow.cores to define threads in rules convert_bcf_to_plink_bed and merge_gtc_to_bcf_batches instead of hardcoded 44 (acc7df7).

The max_threads seems inaccessible at the rule level. The cores does the trick. They both seem synonymous anyway per the Snakemake documentation.

Please let me know if you encounter any issues. Thanks.

rajwanir2 added 2 commits November 25, 2024 16:22
Rules `merge_gtc_to_bcf_batches` and `convert_bcf_to_plink_bed` adopt the use of `workflow.cores` instead of hardcoded 44.
@jaamarks
Copy link
Collaborator

ACK - will test.

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.

Defining threads via variable instead of hardcoding. Include max_threads into cluster_profile.
2 participants