Skip to main content

RHE

Randomized Haseman–Elston regression for Multi-variance Components: Python wrappers for Gene-ENviroment Interaction Estimator

Installation

pip install rhe

This package provides basic Python wrappers for the GENIE executables. Full documentation for the GENIE project, as well as sample data necessary to run the toy examples below, is available here: https://github.com/sriramlab/GENIE

Interface

This package provides the following functions:

  • rhe.run_genie
  • rhe.run_genie_mem
  • rhe.run_genie_multi_pheno

Run GENIE with a list of command line arguments

from rhe import run_genie

gen = 'path/to/test'
phen = 'path/to/test.pheno'
covar = 'path/to/test.cov'
annot = 'path/to/single.annot'
env = 'path/to/test.env'

run_genie(
    ['-g', gen, '-p', phen, '-c', covar, '-e', env, '-m', 'G+GxE+NxE', '-k', '10', '-jn', '10', '-o',
     'path/to/analysis.out', '-annot', annot, '-t', '6']
)

Run GENIE with a single string of command line arguments

from rhe import run_genie

gen = 'path/to/test'
phen = 'path/to/test.pheno'
covar = 'path/to/test.cov'
annot = 'path/to/single.annot'
env = 'path/to/test.env'

run_genie(
    f'-g {gen} -p {phen} -c {covar} -e {env} -m G+GxE+NxE -k 10 -jn 10 -o path/to/analysis.out -annot {annot} -t 6'
)

Run GENIE with using a config file

from rhe import run_genie_mem

with open('config.txt', 'w') as f:
    f.write('genotype=path/to/test\n')
    f.write('phenotype=path/to/test.pheno\n')
    f.write('covariate=path/to/test.cov\n')
    f.write('environment=path/to/test.env\n')
    f.write('annotation=path/to/single.annot\n')
    f.write('output=path/to/test.py.list.3.out\n')
    f.write('nthreads=6\n')
    f.write('num_vec=20\n')
    f.write('num_jack=10\n')
    f.write('trace=1\n')
    f.write('model=G\n')
    f.write('verbose=1\n')

run_genie_mem(
    ['--config', 'config.list.txt']
)

Citation

1. Ali Pazokitoroudi, Andrew Dahl, Noah Zaitlen, Saharon Rosset, Sriram Sankararaman.
bioRxiv 2023.12.12.571316; doi: https://doi.org/10.1101/2023.12.12.571316
2. Ali Pazokitoroudi, Yue Wu, Kathryn S. Burch, Kangcheng Hou, Aaron Zhou, 
Bogdan Pasaniuc, Sriram Sankararaman. Nature Communications (2020); doi: https://doi.org/10.1101/522003

Version

v1.0.0

Metadata

Release files for rhe 1.0.0

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

Built distributions (wheels)

Table of built distributions (wheels) for rhe 1.0.0
File
rhe-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
rhe-1.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
rhe-1.0.0-cp312-cp312-macosx_10_15_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.15+ x86-64 Details
rhe-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
rhe-1.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
rhe-1.0.0-cp311-cp311-macosx_10_15_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.15+ x86-64 Details
rhe-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
rhe-1.0.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
rhe-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.15+ x86-64 Details
rhe-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
rhe-1.0.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
rhe-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.15+ x86-64 Details
rhe-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
rhe-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.15+ x86-64 Details

Total release size: 10.1 MB

Release files / rhe-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rhe-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 690.9 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2994ade5fba678c8eedd9b6857c6f81348d5667531b6135461fe5a99281a104b
BLAKE2b-256 checksum
How to use checksums
e6df37349ae039d0ee5d15ca5a6141f45ac71a7cfd9e3f445f330991513bb4ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL rhe-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 649.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e22c6a984117daaf26b64603b04c3ff120ee0a4c82260f72052904e494972371
BLAKE2b-256 checksum
How to use checksums
490225cdb1477e7e4615748e8482feaa33579be25feeab408866b7d1aff9a293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp312-cp312-macosx_10_15_x86_64.whl

Download URL rhe-1.0.0-cp312-cp312-macosx_10_15_x86_64.whl
Size 813.6 kB
Tags CPython 3.12 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
8d5ae5994c8193ec0208b82760419daec2d6219d05408bc6509ccb2802d10820
BLAKE2b-256 checksum
How to use checksums
d183eeb7d1daf531745a3f7238dc49b22f74e86066a31b627d5ed6da5efc5a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rhe-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 690.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c043e054e04b8aee87fd1ca6f0937efbba47b4421229905a6eb064fe57534899
BLAKE2b-256 checksum
How to use checksums
716dd08f3801f3edcc58aa2620500e0e85e31f06343469b04e9c509a6131d706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL rhe-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 649.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7f9cabd42fbe27f7fec1b6c85c26b150b6d965383ad40167296c852963ab42dd
BLAKE2b-256 checksum
How to use checksums
60ea139771130b940b7966b813534e7526395eff21ab9038eae265fb145d5b86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp311-cp311-macosx_10_15_x86_64.whl

Download URL rhe-1.0.0-cp311-cp311-macosx_10_15_x86_64.whl
Size 813.6 kB
Tags CPython 3.11 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
1426e3cb3adaff5ebd3e66465bacdaaa08d77b4c9c37d01445e4e63880c7e910
BLAKE2b-256 checksum
How to use checksums
cadcc1c0b619032cccce75e96f0de87e2b6585a1ef3787dfb3cf24d32aed2250
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rhe-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 690.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4f1af278def2d52fee36148aa4dcc34172ce4728da97454dedef0a6e34022613
BLAKE2b-256 checksum
How to use checksums
75bdd0776163fba4216ace11457cb6c5c10aee87c0fd0c3f57a3a15c18baccc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL rhe-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Size 649.6 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6627f532462ad5ef68b0d5c0a75499fc93d3d65130f5c629cdca22f4a46108d6
BLAKE2b-256 checksum
How to use checksums
a217c048a0d1c937881288a6a99d9deabed371b6902a134b49b8c9aadcdd305d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl

Download URL rhe-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl
Size 813.6 kB
Tags CPython 3.10 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
2366e2634e2b6cc2069a9ad2538cb833a32afce1a9eb54e57e7d571ddd38cce5
BLAKE2b-256 checksum
How to use checksums
85c1c822d0484b4998f092c97c23c9cb33494234aa6095916078fe842a2ec6f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rhe-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 690.9 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
16acce8cf9ae17039a9183e7606e161d61797653022f3a4ea215d8a2f9af365d
BLAKE2b-256 checksum
How to use checksums
a369dfed2c1d37ffbf7c5b20f0cf0ad93f00e8bc7781389712d02086d2bfd660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL rhe-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
Size 649.6 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5d1f512d0a484fe8469d1d3cdf4737445dad542379963b07e4068cb9187ad090
BLAKE2b-256 checksum
How to use checksums
ffb60757be440f148791938d14f7339867060bc184306c0b72f99168130a405b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl

Download URL rhe-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl
Size 813.6 kB
Tags CPython 3.9 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
e58353dc005c2542c13125ea74d3806a0f0c20eeeb2f0fa6640d4f36667ae031
BLAKE2b-256 checksum
How to use checksums
be83be48f71e33381e8034604570b3955a10d553e79dc080547048fab3916e0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rhe-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 690.9 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d7145b38fe545265b835e334583584947bcce6b237d06a84afdf2001db364a61
BLAKE2b-256 checksum
How to use checksums
6ac01fc2ada4d7a723043e92e5afc08bcc7e92b33f67247209079bf30d67ceea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / rhe-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl

Download URL rhe-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl
Size 813.6 kB
Tags CPython 3.8 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
4238f7faa162b37ea6f44dbb3f5d01396f10cad5ab94bca8cbc270d1c85212ad
BLAKE2b-256 checksum
How to use checksums
d19e10b7b9875dc1533dc049659c2c19e771d552c1934afe2fe03cbd60db8e53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

1.0.0 This release

14 release files

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