A self-tuning sliding-window framework for phenotype-linked regional poly-methylation architecture in sparse wildlife methylomes.
Project description
poly-CpG: Sliding window analysis of methylomes
This is a lightweight package to accompany the sliding window method for the analysis of methylomes.
Additional scripts and data can be found in the "Supplementary" branch. Herein the data and code used within the study are provided.
The package call be installed as:
pip install poly_cpg
The program can quickly be performed using the commands:
import poly_cpg as pc
# Load synthetic example data
M, pos, gamma, beta, y, cpg_names = pc.load_example()
# Run sliding-window algorithm
df_windows = pc.self_tuning_windows_dual(M, gamma, beta, pos, y)
# Classify windows
df_windows = pc.classify_windows(df_windows)
print(df_windows.head())
This produces a table of windows with the genomic coordinates, number of CpGs, R^2 values, directional agreement and trust classificaiton
The script folder contains the necessary script for the synthetic data generation.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poly_cpg-1.0.5.tar.gz.
File metadata
- Download URL: poly_cpg-1.0.5.tar.gz
- Upload date:
- Size: 58.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
205b97592b407728fb15ea66835bfdeec09e8ed8d899071dfca4dbc608bcef67
|
|
| MD5 |
de47634d56f11dfa0c7899c437620feb
|
|
| BLAKE2b-256 |
d8c55ab62c58655950b0020275164891feb5f70bb11aee7ce6660f68cf0fc485
|
File details
Details for the file poly_cpg-1.0.5-py3-none-any.whl.
File metadata
- Download URL: poly_cpg-1.0.5-py3-none-any.whl
- Upload date:
- Size: 57.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3702f13d189e7e01a5850af2b1a725ce4ccd3420ee406f8992050cc95d115644
|
|
| MD5 |
47633073ce14c56496f84ad066266323
|
|
| BLAKE2b-256 |
11d0a626a7c146c8a08881e261b9fae993a442d14209e5869aca86421c2775b3
|