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

Merge dev for release v0.1.1 #9

Merged
merged 53 commits into from
Aug 23, 2022
Merged

Merge dev for release v0.1.1 #9

merged 53 commits into from
Aug 23, 2022

Conversation

nebfield
Copy link
Member

@nebfield nebfield commented Aug 23, 2022

First proper release of pgscatalog_utils

nebfield and others added 30 commits August 8, 2022 17:43
Using the chromosome causes it to fail if you list of pvar files doesn’t
work if there is a chromosome in the scoring file that it’s present in
the target. I re-wrote it to loop through pvars instead.
and harmonized files in builds GRCh37/38. Ensures scorefile naming
matches the files on the FTP (e.x. PGS002237):
- Build = None -> PGS002237.txt.gz
- Build = GRCh37 -> PGS002237_hmPOS_GRCh37.txt.gz
- Build = GRCh38 -> PGS002237_hmPOS_GRCh38.txt.gz
Adapt download_scorefile to download both author-reported scoring files and harmonized files
…ith missing chromosomal positions or non-standard alleles (e.g. HLA)
…mplex alleles that don't match valid DNA string.

Examples:
- null -> null
- G*06:02 -> G*06:02
- A -> T
- AC -> TG
- CT -> GA
- C -> G
- etc.
@nebfield nebfield requested a review from smlmbrt August 23, 2022 15:25
Copy link
Member

@smlmbrt smlmbrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made minor edits to the doc strings. These should represent the minimum featureset needed to calculate most PGS within pgsc_calc

@smlmbrt smlmbrt merged commit c1b5290 into main Aug 23, 2022
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