Differentiable Combinatorial Optimization for Genomics
Project description
MUGO: Multi-Head Genomic Optimization
MUGO is a differentiable combinatorial optimization framework designed for discovering causal variants in the non-coding genome. By leveraging Gumbel-Softmax relaxation and Straight-Through Estimators (STE), MUGO enables end-to-end gradient-based optimization on discrete DNA sequences.
Key Features
- 🧬 Model-Agnostic: Compatible with Borzoi, Enformer, HyenaDNA, and other PyTorch-based genomic models.
- 🎯 Multi-Modal Objectives: Optimize for Gene Expression, Chromatin Accessibility (ATAC), or TF Binding.
- 📉 Variance Reduction: Built-in Multi-Head Consensus strategy to filter stochastic noise.
- 🚀 Production Ready: Easy-to-use Python API for high-performance computing.
Installation
pip install mugo
Quick Start
import torch
from mugo import MultiHeadSelector
# Initialize the optimizer
selector = MultiHeadSelector(num_snps=1000, snp_positions=positions, k=20)
# Optimization loop
for step in range(200):
input_seq, mask, _ = selector(ref_seq, alt_seq, tau=1.0)
# ... compute loss and backward ...
Documentation
Comprehensive documentation, tutorials, and API references are available at: 👉 https://mugo-framework.netlify.app
Citations
If you use MUGO in your research, please cite: @software{mugo2026, author = {SciML Team}, title = {MUGO: Differentiable Combinatorial Optimization for Genomics}, year = {2026}, url = {https://github.com/anonymous/mugo} }
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 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 mugo-0.1.1.tar.gz.
File metadata
- Download URL: mugo-0.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
666fc902e2b36fbd049d3e776bf67c522bfdd6686f7fed6bfca7dd57391ff8b0
|
|
| MD5 |
5c90375d95f9c8a24b5df9a36fed3fe7
|
|
| BLAKE2b-256 |
ba5eeda94f435ff6a8c2b2db44db234e5e1ca0128f83fb61c4149c96c9cdde09
|
File details
Details for the file mugo-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mugo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbd15a1637e41c0d421cfbdba70804d96d892f090f7ded1ccd13b339c1e7b1e9
|
|
| MD5 |
1c8fc40c3f3e0cf955c50f95ef030f82
|
|
| BLAKE2b-256 |
5f51de76ba0913c826603aed219b63d020e6d1a40f1fe7ff4b665dab161e0709
|