PatternCode is a Python tool for design of optimal labeling patterns for optical genome mapping via information theory. See the paper for details.
Assuming anaconda python 3.10 is installed:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
jupyter notebook ./paper_figures.ipynb
Usage example in jupyter notebook: example.ipynb
jupyter notebook ./example.ipynb