Py-Graph-Imputation-MLO
Overview
py-graph-imputation-MLO is a Python package for graph-based imputation of missing data in genetic datasets. It leverages the py-graph-imputation library and provides additional functionality for filtering and processing imputed results.
Installation
To install the package, use the following command:
pip install py-graph-imputation-MLO
Dependencies
The package requires the following dependencies:
py-graph-imputationcython == 0.29.32numpy >= 1.20.2pandastqdm
These dependencies will be installed automatically when you install the package.
Usage
Running the Imputation
To run the imputation process, use the run_grim.py script. You can configure the process using a JSON configuration file. Here is an example of how to run the script:
python run_grim.py
Configuration
The configuration file should be in JSON format and include the following fields:
freq_file: Path to the frequency file.imputation_in_file: Path to the input file for imputation.imputation_out_path: Path to the output directory for imputation results.imputation_out_hap_freq_filename: Filename for the haplotype frequency output.imputation_out_umug_freq_filename: Filename for the UMUG frequency output.imputation_out_umug_pops_filename: Filename for the UMUG populations output.imputation_out_hap_pops_filename: Filename for the haplotype populations output.imputation_out_miss_filename: Filename for the missing data output.output_MUUG: Boolean flag to enable/disable MUUG output.output_haplotypes: Boolean flag to enable/disable haplotype output.number_of_results: Number of results to output.number_of_pop_results: Number of population results to output.
Example Configuration
Here is an example of a minimal configuration file:
{
"freq_file": "path/to/frequency/file",
"imputation_in_file": "path/to/input/file",
"imputation_out_path": "path/to/output/directory",
"imputation_out_hap_freq_filename": "hap_freq.csv",
"imputation_out_umug_freq_filename": "umug_freq.csv",
"imputation_out_umug_pops_filename": "umug_pops.csv",
"imputation_out_hap_pops_filename": "hap_pops.csv",
"imputation_out_miss_filename": "miss.csv",
"output_MUUG": true,
"output_haplotypes": true,
"number_of_results": 10,
"number_of_pop_results": 5
}
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Contact
For any questions or inquiries, please contact Regev Yehezkel Imra at regevel2006@gmail.com.
Metadata
Release files for py-graph-imputation-MLO 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_graph_imputation_mlo-0.1.5.tar.gz | 7.9 kB | Without provenance | Details for py_graph_imputation_mlo-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_graph_imputation_MLO-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for py_graph_imputation_MLO-0.1.5-py3-none-any.whl |
Total release size: 16.8 kB
Release files / py_graph_imputation_mlo-0.1.5.tar.gz
| Download URL | py_graph_imputation_mlo-0.1.5.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bed9f3718eed1779edfa55b208abe15230d6973c102454edb49bf64adacb03a4
|
|
BLAKE2b-256 checksum How to use checksums |
5193fd6852695ef51935506a5c11174b3d9a92376ac428f0e5989c592c769bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.7
|
Release files / py_graph_imputation_MLO-0.1.5-py3-none-any.whl
| Download URL | py_graph_imputation_MLO-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a221aa24a83b25d436ee241f82766221ceeb19204568edce3aa6bd8db2cd7ba9
|
|
BLAKE2b-256 checksum How to use checksums |
95e2802db9c1fc4ce0ea2ff71f3318d895ad7bea3bc09f36a43f7b48e1cb199e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.7
|
Security for py-graph-imputation-MLO 0.1.5
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.