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

fix: Apply max_time_hr to sample_level_ibd rule (issue #334) #342

Merged

Conversation

jaamarks
Copy link
Collaborator

@jaamarks jaamarks commented Oct 3, 2024

What

  • Apply the max_time_hr feature to the sample_level_ibd rule within the sample_qc.smk sub-workflow.
  • Update the workflow_params.py file to state all of the rules that max_time_hr affects.

Why
The sample_level_ibd rule is another time-intensive step in the pipeline, and can users have experienced timeout issues at this step when running it on large datasets with the standard time-allocation method. So this update ensures that if a user specifies max_time_hr in the config.yml, it will allso apply to this rule.

This is and extension of PR #335.
Fixes #334

The ``sample_level_ibd`` rule within the ``sample_qc.smk`` sub-workflow
needs the ``max_time_hr`` feature applied to it too because it is quite
time-intensive.

We also updated the description in the ``workflow_params.py`` file to
state all of the rules that this feature applies to.
@jaamarks jaamarks merged commit 9cebe6c into NCI-CGR:default Oct 3, 2024
2 checks passed
jaamarks added a commit that referenced this pull request Oct 3, 2024
feat: Apply ``max_time_hr`` to sample_level_ibd rule (issue #334)

**What**
- Apply the ``max_time_hr`` feature to the ``sample_level_ibd`` rule
  within the ``sample_qc.smk`` sub-workflow.
- Update the ``workflow_params.py`` file to state all of the rules that
  ``max_time_hr`` affects.

**Why**
- The ``sample_level_ibd`` rule is another time-intensive step in the
  pipeline, and can users have experienced timeout issues at this step
  when running it on large datasets with the standard time-allocation
  method. So this update ensures that if a user specifies ``max_time_hr``
  in the ``config.yml``, it will allso apply to this rule.

  This is an extension of PR #335
  Fixes #334
@jaamarks jaamarks changed the title feat: Apply max_time_hr to sample_level_ibd rule (issue #334) bugfix: Apply max_time_hr to sample_level_ibd rule (issue #334) Oct 3, 2024
@jaamarks jaamarks changed the title bugfix: Apply max_time_hr to sample_level_ibd rule (issue #334) bugfix: Apply max_time_hr to sample_level_ibd rule (issue #334) Oct 3, 2024
@jaamarks jaamarks deleted the issue334-apply-maxtime-to-ibd-rule branch October 3, 2024 20:54
@jaamarks jaamarks changed the title bugfix: Apply max_time_hr to sample_level_ibd rule (issue #334) fix: Apply max_time_hr to sample_level_ibd rule (issue #334) Oct 11, 2024
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.

Add new config option to set max wall-time for cluster
1 participant