Simple tool to run Machine Learning based imputation techniques
- pixi (v0.5+)
- NVIDIA-based GPU hardware with CUDA (v12+)
- For
gpuenvironment only (see next section)
- For
- Linux or macOS OS environment preferred
Retrieve project code
git clone https://github.com/maize-genetics/MLImpute.git
cd MLImputeOption A (preferred) - set up virtual environment (pixi)
# For CPU only
pixi install
# For Linux + GPU machines
pixi install --environment gpuOption B - set up virtual environment (conda)
conda env create -f environment.ymlConda:
python impute.py --input <input_file> --output <output_file> --model <imputation_method>Pixi:
pixi run -- python impute.py --input <input_file> --output <output_file> --model <imputation_method>- Node.js
- Rust
If running this for the first time:
# First install pixi
# Next, run the pixi install script
pixi install
# Initialize npm environment
npm install
# Set up wheelhouse
npm run download-python
npm run build-wheelhouse
# Run the dev container of the Tauri app
npm run tauri devFor subsequent runs, just use npm run tauri dev
pytest --cov=src --cov-report=term-missing --cov-report=html