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

bugfix: error when setting case_control_gwas=true #291

Merged
merged 1 commit into from
May 30, 2024

Conversation

jaamarks
Copy link
Collaborator

@jaamarks jaamarks commented May 28, 2024

Issue: When setting case_control_gwas = true in the config file, an error
occurred due to a missing subject_level/gwas.txt file.

Cause: The gwas rule requires subject_level/gwas.txt as input. However,
the script used by the agg_population_qc_tables rule generates
this file, but it wasn't listed as an output.

Solution: This commit explicitly adds gwas.txt as an output of the
agg_population_qc_tables rule, ensuring the gwas rule correctly
waits for its dependency before execution.



Fixes #280

Issue: When setting case_control_gwas = true in the config file, an error
       occurred due to a missing subject_level/gwas.txt file.

Cause: The gwas rule requires subject_level/gwas.txt as input. However,
       the script used by the agg_population_qc_tables rule generates
       this file, but it wasn't listed as an output.

Solution: This commit explicitly adds gwas.txt as an output of the
          agg_population_qc_tables rule, ensuring the gwas rule correctly
          waits for its dependency before execution.
@jaamarks jaamarks merged commit d5cf957 into default May 30, 2024
2 checks passed
@jaamarks jaamarks deleted the issue-280-case-control-gwas branch May 30, 2024 15:29
@jaamarks jaamarks changed the title Fix error when setting case_control_gwas=true bugfix: error when setting case_control_gwas=true Jun 4, 2024
@jaamarks jaamarks linked an issue Jun 5, 2024 that may be closed by this pull request
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.

case_control_gwas option error: Missing input files for rule gwas
1 participant