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

feat: implement UKB PPP (EUR) ingestion & harmonisation #652

Merged
merged 12 commits into from
Jun 25, 2024

Conversation

tskir
Copy link
Contributor

@tskir tskir commented Jun 20, 2024

✨ Context

Closes opentargets/issues#3234.

🛠 What does this PR implement

All components necessary for ingesting and harmonising the UKB PPP (EUR) datasource.

🙈 Missing

N/A.

🚦 Before submitting

  • Do these changes cover one single feature (one change at a time)?
  • Did you read the contributor guideline?
  • Did you make sure to update the documentation with your changes?
  • Did you make sure there is no commented out code in this PR?
  • Did you follow conventional commits standards in PR title and commit messages?
  • Did you make sure the branch is up-to-date with the dev branch?
  • Did you write any new necessary tests?
  • Did you make sure the changes pass local tests (make test)?
  • Did you make sure the changes pass pre-commit rules (e.g poetry run pre-commit run --all-files)?

docs/python_api/datasources/ukb_ppp_eur/summary_stats.md Outdated Show resolved Hide resolved
docs/python_api/ukb_ppp_eur.md Outdated Show resolved Hide resolved
docs/python_api/ukb_ppp_eur_sumstat_preprocess.md Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
src/gentropy/datasource/ukb_ppp_eur/summary_stats.py Outdated Show resolved Hide resolved
src/gentropy/ukb_ppp_eur_sumstat_preprocess.py Outdated Show resolved Hide resolved
src/gentropy/ukb_ppp_eur_sumstat_preprocess.py Outdated Show resolved Hide resolved
@tskir tskir merged commit 8ff4bfc into dev Jun 25, 2024
4 checks passed
@tskir tskir deleted the tskir-3234-ukb-ppp-eur branch June 25, 2024 12:46
project-defiant added a commit that referenced this pull request Jul 12, 2024
* feat: implement UKB PPP (EUR) ingestion & harmonisation

* fix: correct module name for docs

* fix: definitely correct module name for docs

* test: update output of neglog_pvalue_to_mantissa_and_exponent

* fix: test syntax with <BLANKLINE>

* Update src/gentropy/datasource/ukb_ppp_eur/summary_stats.py

Co-authored-by: Szymon Szyszkowski <69353402+project-defiant@users.noreply.github.com>

* fix: code review updates for docs and version

* fix: syntax for concat_ws

* style: list harmonisation steps in the docstring

* style: rename freq to MAF

* style: use concat_ws

* style: use two distinct parameters for study index and summary stats output paths

---------

Co-authored-by: Szymon Szyszkowski <69353402+project-defiant@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Harmonise UKB PPP data
2 participants