Skip to main content

Core tools for working with polygenic scores (PGS) and the PGS Catalog

Project description

pgscatalog.core

Run pytest on pgscatalog.core Documentation Status

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

install with bioconda

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgscatalog_core-1.1.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pgscatalog_core-1.1.1-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file pgscatalog_core-1.1.1.tar.gz.

File metadata

  • Download URL: pgscatalog_core-1.1.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pgscatalog_core-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a8448ed29e7a418999e8fc6a1f1a96454bd9e65d7092ffddd3f4e2767935a1d6
MD5 4aa25e6fac83dadaa548f0fc4b7fb8c6
BLAKE2b-256 facb31962707d4af63c1816b6180a6f55bcbc1fbdc06fd3f80da57c486727d13

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgscatalog_core-1.1.1.tar.gz:

Publisher: publish.yml on PGScatalog/pygscatalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pgscatalog_core-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pgscatalog_core-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pgscatalog_core-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ed661143f479c21e1b5529c92050239d851c34d70c478c82a0b4743ce85ee26
MD5 c4e53977d2ea2bb44c6478784660c5a5
BLAKE2b-256 fa2b89f34c9e95ee8d403f4d3e75498171e1d25301a959e97eb9c9cffd54101e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgscatalog_core-1.1.1-py3-none-any.whl:

Publisher: publish.yml on PGScatalog/pygscatalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page