Skip to main content

coloc

An implementation of the COLOC method for colocalization of GWAS and/or eQTL signals by Giambartolomei et al.

Installation

pip3 install coloc

or

pip3 install --user coloc

Example usage

from coloc import coloc, print_coloc_result
help(coloc)
print_coloc_result('not colocalized', *coloc([1, 4, 9], [9, 4, 1]))
not colocalized

PP0: [|||||               ] [ 0.26540194014704316 ]
PP1: [||||                ] [ 0.21657860877712054 ]
PP2: [||||                ] [ 0.21657860877712054 ]
PP3: [|||                 ] [ 0.17661198683565493 ]
PP4: [||                  ] [ 0.12482885546306076 ]
print_coloc_result('colocalized', *coloc([1, 4, 9], [1, 4, 9]))
colocalized

PP0: [                    ] [ 0.0015168270421050444 ]
PP1: [                    ] [ 0.001237791593959775 ]
PP2: [                    ] [ 0.001237791593959775 ]
PP3: [                    ] [ 1.4094001056824932e-05 ]
PP4: [||||||||||||||||||| ] [ 0.9959934957689188 ]

Metadata

Release files for coloc 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coloc 0.4.2
File Size Uploaded Provenance Actions
coloc-0.4.2.tar.gz 4.0 kB Without provenance Details for coloc-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for coloc 0.4.2
File Interpreter ABI Platform Actions
coloc-0.4.2-py3-none-any.whl Python 3 none any Details for coloc-0.4.2-py3-none-any.whl

Total release size: 8.5 kB

Release files / coloc-0.4.2.tar.gz

Download URL coloc-0.4.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a0e2b6c7d0528a4bdc8d91671de45fc01f2e1b004978d5e1272cd42b03519a78
BLAKE2b-256 checksum
How to use checksums
2652eeb9a7c4da3ad0bc6983112ce14b11dd88d84c555226c19ee4e2a51c8439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Release files / coloc-0.4.2-py3-none-any.whl

Download URL coloc-0.4.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ae10d4e4e99f93828ad8379dc914ce17dd5e480c5f6032883839aa046416b11
BLAKE2b-256 checksum
How to use checksums
fb1c67e7b832a3bbca68d7861853d8d023f654c6d13c6061ac65e34077e58f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Security for coloc 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page