Run manager and status tools for Oxford Nanopore P2 Solo sequencers.
mingo/run_manager.py- interactive CLI to start runs from SLIMSmingo/gridion_status.py- show the current run status of all of the active flowcell positions in a local gridion (requires local guest mode enabled)mingo/flowcell_health.py- show latest pore count for a flowcell and on which hosts it has been checkedmingo/watch_gridion.py- dynamic monitoring of sequencer status
We use direnv and pip-tools for environment management.
- Ensure
python 3.12is available. direnv allowto set up the venv in.direnv/python-3.12.pip install -r requirements.txt- Run the manager in mock mode to test:
./.direnv/python-3.12/bin/python3 mingo/run_manager.py --mock
You can simulate a flowcell using the MinKnow API, which is quite fun!
First, install MinKnow, best done on (ONT offer packages for Ubuntu and MacOS).
Configure RPC access. If you have asecure env you can do:
/opt/ont/minknow/bin/config_editor --conf user --filename /opt/ont/minknow/conf/user_conf --set network_security.guest_rpc_enabled=enabled
/opt/ont/minknow/bin/config_editor --conf user --filename /opt/ont/minknow/conf/user_conf --set network_security.local_connection_only=all_open
Add a fake device
# set up venv - feel free to do it differently, e.g. I use direnv for this
python -m venv .env
. .env/bin/activate
pip install -r requirements.txt
# create fake device
python -m minknow_api.examples.manage_simulated_devices --prom --host <host|localhost> --port 9502 --add S0
# list fake devices
python -m minknow_api.examples.manage_simulated_devices --host <host|localhost> --port 9502 --list