Gene Environment Interaction Estimator
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file rhe-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 690.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2994ade5fba678c8eedd9b6857c6f81348d5667531b6135461fe5a99281a104b |
|
MD5 | dff17e90ad7f6a518fc02d325e2a7dd5 |
|
BLAKE2b-256 | e6df37349ae039d0ee5d15ca5a6141f45ac71a7cfd9e3f445f330991513bb4ac |
File details
Details for the file rhe-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 649.6 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e22c6a984117daaf26b64603b04c3ff120ee0a4c82260f72052904e494972371 |
|
MD5 | 4f8d57e19f2d2f23dbff84643144544e |
|
BLAKE2b-256 | 490225cdb1477e7e4615748e8482feaa33579be25feeab408866b7d1aff9a293 |
File details
Details for the file rhe-1.0.0-cp312-cp312-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp312-cp312-macosx_10_15_x86_64.whl
- Upload date:
- Size: 813.6 kB
- Tags: CPython 3.12, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5ae5994c8193ec0208b82760419daec2d6219d05408bc6509ccb2802d10820 |
|
MD5 | a63e29e0ce17ed3b93bb870969a79195 |
|
BLAKE2b-256 | d183eeb7d1daf531745a3f7238dc49b22f74e86066a31b627d5ed6da5efc5a4a |
File details
Details for the file rhe-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 690.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c043e054e04b8aee87fd1ca6f0937efbba47b4421229905a6eb064fe57534899 |
|
MD5 | ba365fb4be234c02125d4c7aeefb1aa5 |
|
BLAKE2b-256 | 716dd08f3801f3edcc58aa2620500e0e85e31f06343469b04e9c509a6131d706 |
File details
Details for the file rhe-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 649.6 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f9cabd42fbe27f7fec1b6c85c26b150b6d965383ad40167296c852963ab42dd |
|
MD5 | 1f020015065975b3b65b9e2dbf2124e0 |
|
BLAKE2b-256 | 60ea139771130b940b7966b813534e7526395eff21ab9038eae265fb145d5b86 |
File details
Details for the file rhe-1.0.0-cp311-cp311-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp311-cp311-macosx_10_15_x86_64.whl
- Upload date:
- Size: 813.6 kB
- Tags: CPython 3.11, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1426e3cb3adaff5ebd3e66465bacdaaa08d77b4c9c37d01445e4e63880c7e910 |
|
MD5 | 45bfac48569c3dc82d77f16c6cd66c19 |
|
BLAKE2b-256 | cadcc1c0b619032cccce75e96f0de87e2b6585a1ef3787dfb3cf24d32aed2250 |
File details
Details for the file rhe-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 690.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f1af278def2d52fee36148aa4dcc34172ce4728da97454dedef0a6e34022613 |
|
MD5 | 8bd9deedd70b3f9a5e04f30c6ebf012c |
|
BLAKE2b-256 | 75bdd0776163fba4216ace11457cb6c5c10aee87c0fd0c3f57a3a15c18baccc7 |
File details
Details for the file rhe-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 649.6 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6627f532462ad5ef68b0d5c0a75499fc93d3d65130f5c629cdca22f4a46108d6 |
|
MD5 | e9cb3cc330c6db52a1ad8fc9b585dc80 |
|
BLAKE2b-256 | a217c048a0d1c937881288a6a99d9deabed371b6902a134b49b8c9aadcdd305d |
File details
Details for the file rhe-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 813.6 kB
- Tags: CPython 3.10, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2366e2634e2b6cc2069a9ad2538cb833a32afce1a9eb54e57e7d571ddd38cce5 |
|
MD5 | c203d782525e53b995e60ec722acf5cd |
|
BLAKE2b-256 | 85c1c822d0484b4998f092c97c23c9cb33494234aa6095916078fe842a2ec6f1 |
File details
Details for the file rhe-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 690.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16acce8cf9ae17039a9183e7606e161d61797653022f3a4ea215d8a2f9af365d |
|
MD5 | 5d65443dd17f21a3d0d6ac61ee5d27c5 |
|
BLAKE2b-256 | a369dfed2c1d37ffbf7c5b20f0cf0ad93f00e8bc7781389712d02086d2bfd660 |
File details
Details for the file rhe-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 649.6 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d1f512d0a484fe8469d1d3cdf4737445dad542379963b07e4068cb9187ad090 |
|
MD5 | 9ec8b8e1c408aab24593d745062c2d36 |
|
BLAKE2b-256 | ffb60757be440f148791938d14f7339867060bc184306c0b72f99168130a405b |
File details
Details for the file rhe-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 813.6 kB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58353dc005c2542c13125ea74d3806a0f0c20eeeb2f0fa6640d4f36667ae031 |
|
MD5 | fe8153455e8fa9bce68cefd990f314e0 |
|
BLAKE2b-256 | be83be48f71e33381e8034604570b3955a10d553e79dc080547048fab3916e0c |
File details
Details for the file rhe-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 690.9 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7145b38fe545265b835e334583584947bcce6b237d06a84afdf2001db364a61 |
|
MD5 | 63187a08ccf2ce0d36ce6c5fecb3ccd6 |
|
BLAKE2b-256 | 6ac01fc2ada4d7a723043e92e5afc08bcc7e92b33f67247209079bf30d67ceea |
File details
Details for the file rhe-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: rhe-1.0.0-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 813.6 kB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4238f7faa162b37ea6f44dbb3f5d01396f10cad5ab94bca8cbc270d1c85212ad |
|
MD5 | acf1db48b00495956a3541cdb896e57c |
|
BLAKE2b-256 | d19e10b7b9875dc1533dc049659c2c19e771d552c1934afe2fe03cbd60db8e53 |