Skip to main content

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

Reason this release was yanked:

__version__ mismatch

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.0.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.0-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgscatalog_core-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 4c2110c2cf72c8deea759fcab43dd4324c63531f8ec9f84e0211fde7e3e3f0fc
MD5 977dad43c606fdc446a2b4910e281df7
BLAKE2b-256 8ec1fc568152708d0d76987578e8662ac3b932d1712c044d8fe5e05f412ec2dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgscatalog_core-1.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: pgscatalog_core-1.1.0-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.12

File hashes

Hashes for pgscatalog_core-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4665bd1cf02c1dabe6c3630b8676c1302ee16472754d087a3219c9539d638a57
MD5 667be90958468a2726fb1a33e2bde979
BLAKE2b-256 81890f9d06d7207c8c86375f6974f0873656489be274d816e16c3af0ea089d93

See more details on using hashes here.

Provenance

The following attestation bundles were made for pgscatalog_core-1.1.0-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