Core tools for working with polygenic scores (PGS) and the PGS Catalog
Project description
pgscatalog.core
This Python package contains:
- CLI applications to download scoring files from the PGS Catalog and normalise them into a consistent structure
- core library classes and functions for working with PGS data
| Application | Description | Link |
|---|---|---|
pgscatalog-download |
Download scoring files from the PGS Catalog in specific genome builds | README |
pgscatalog-combine |
Combine multiple scoring files into a consistent structure | README |
pgscatalog-relabel |
Relabel values in a column based on values in a column in another file | README |
If you want to write Python code to work with PGS data, the library may be helpful for you.
If you want to do automatic PGS calculation check out the PGS Catalog Calculator, which uses these tools internally.
Installation
or install via pip:
$ pipx install pgscatalog.core
Documentation
Documentation is available at https://pygscatalog.readthedocs.io/.
Developer instructions
You'll need nox and uv installed.
To get set up with a development environment run:
$ nox -s dev
$ source .venv/bin/activate
This will create a virtual environment in the current directory.
$ pgscatalog-download --help
nox can also be used to run tests and lint the package:
$ nox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pgscatalog_core-1.0.2.tar.gz.
File metadata
- Download URL: pgscatalog_core-1.0.2.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
657a468187ba084c623ef3d73f0e03ce38af7bdd1422568d789ec81c2929f793
|
|
| MD5 |
620b46966d25023d799293388ed7d2c1
|
|
| BLAKE2b-256 |
a5d43d37e1ea3e133369d28db055a4c7536fefe4e70d34576871533771f13e1b
|
Provenance
The following attestation bundles were made for pgscatalog_core-1.0.2.tar.gz:
Publisher:
publish.yml on PGScatalog/pygscatalog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pgscatalog_core-1.0.2.tar.gz -
Subject digest:
657a468187ba084c623ef3d73f0e03ce38af7bdd1422568d789ec81c2929f793 - Sigstore transparency entry: 757573384
- Sigstore integration time:
-
Permalink:
PGScatalog/pygscatalog@4500a75b8424cc8f93b1f62511ea11d5f6fbc2eb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PGScatalog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4500a75b8424cc8f93b1f62511ea11d5f6fbc2eb -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pgscatalog_core-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pgscatalog_core-1.0.2-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1733731d5c8dbf4e43188e0f27abeff4880b591c7ea00aea63b571e8fa46d0de
|
|
| MD5 |
d8bdb16685abb90ea02b5a1e0b2f4155
|
|
| BLAKE2b-256 |
2dfb53b77996a67a79a7dbf683db2c8cdec5d113ed5f1aa6528ed1b42addaea7
|
Provenance
The following attestation bundles were made for pgscatalog_core-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on PGScatalog/pygscatalog
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pgscatalog_core-1.0.2-py3-none-any.whl -
Subject digest:
1733731d5c8dbf4e43188e0f27abeff4880b591c7ea00aea63b571e8fa46d0de - Sigstore transparency entry: 757573391
- Sigstore integration time:
-
Permalink:
PGScatalog/pygscatalog@4500a75b8424cc8f93b1f62511ea11d5f6fbc2eb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PGScatalog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4500a75b8424cc8f93b1f62511ea11d5f6fbc2eb -
Trigger Event:
workflow_dispatch
-
Statement type: