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} }
Metadata
Release files for mugo 0.1.1
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 |
|---|---|---|---|---|
| mugo-0.1.1.tar.gz | 2.7 kB | Without provenance | Details for mugo-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mugo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mugo-0.1.1-py3-none-any.whl |
Total release size: 5.6 kB
Release files / mugo-0.1.1.tar.gz
| Download URL | mugo-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
666fc902e2b36fbd049d3e776bf67c522bfdd6686f7fed6bfca7dd57391ff8b0
|
|
BLAKE2b-256 checksum How to use checksums |
ba5eeda94f435ff6a8c2b2db44db234e5e1ca0128f83fb61c4149c96c9cdde09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Release files / mugo-0.1.1-py3-none-any.whl
| Download URL | mugo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbd15a1637e41c0d421cfbdba70804d96d892f090f7ded1ccd13b339c1e7b1e9
|
|
BLAKE2b-256 checksum How to use checksums |
5f51de76ba0913c826603aed219b63d020e6d1a40f1fe7ff4b665dab161e0709
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Security for mugo 0.1.1
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.