Skip to main content

No project description provided

Project description

The updated README.md file should provide a clear and concise overview of the repository, its purpose, installation instructions, usage, and any other relevant information. Here is a suggested structure for the updated README.md:

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-imputation
  • cython == 0.29.32
  • numpy >= 1.20.2
  • pandas
  • tqdm

These dependencies will be installed automatically when you install the package.

Usage

Running the Imputation

To run the imputation process, use the RunGrim.py script. You can configure the process using a JSON configuration file. Here is an example of how to run the script:

python src/py-graph-imputation-MLO/RunGrim.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.

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

py_graph_imputation_mlo-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

py_graph_imputation_MLO-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file py_graph_imputation_mlo-0.1.0.tar.gz.

File metadata

  • Download URL: py_graph_imputation_mlo-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for py_graph_imputation_mlo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1286cb25a3612c067c30f1b227225c9706f9f39315640de58976b507c51bd578
MD5 c3713a70d9ec27de5c0e25e63e4f8c4f
BLAKE2b-256 14d02e39d7c488c21c971f229cf2bda4ca4dc5d6ae1f192be1093d80b61779e7

See more details on using hashes here.

File details

Details for the file py_graph_imputation_MLO-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_graph_imputation_MLO-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d61b7fd0a442f442a333b1730eab0685f044cc5050250cac334ff383323d206e
MD5 6072e024bc4667e0a7d851ba85a5bdd3
BLAKE2b-256 8b7545249b8ec7bb50a9500b9168f57a02054e340a2120bd7990b59fa45129ba

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 Pingdom Monitoring Sentry Error logging StatusPage Status page