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 ]

Download files

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

Source Distribution

coloc-0.1.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

coloc-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file coloc-0.1.2.tar.gz.

File metadata

  • Download URL: coloc-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for coloc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a6bc40ba24bfebbfdc9e7a1ba90b22c11e9bab5e152f4ff7690728fc9694a69a
MD5 70d2137833a786cb1462b99022ae68f2
BLAKE2b-256 6ae54dc6d1bd93494bd945f946ba7a7269a84492f4a039400d636d42b9c10cfc

See more details on using hashes here.

File details

Details for the file coloc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: coloc-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for coloc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba762c445279e031aaf45b551131d330aa175f6b9a7ff6bd31098f447d6d3947
MD5 9cf10f2d6e7917741deb64ef654d5640
BLAKE2b-256 71d9aaeaafa52e4bcde43b2b4e13feb83e4f8064cef6232a221c853ef083f440

See more details on using hashes here.

Supported by

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