Repository navigation
GUI
commec gui provides a browser interface for screening. It is available in
Commec 2.1.0 or later and supports two modes:
- Kiosk mode opens the interface on the same computer and listens only on localhost.
- LAN mode serves the interface over HTTPS to other computers on a trusted network or VPN.
Activate the conda environment containing Commec and download the screening databases if needed:
conda activate commec-env
commec setup -d /path/to/databasesThe examples below use port 8765 because the default HTTPS port, 443, usually requires additional operating-system permission.
Start the GUI and open it in the local browser:
commec gui --kiosk --port 8765 --databases /path/to/databasesLocalhost access does not require a GUI password by default because kiosk mode
assumes physical access to the computer. Add --require-local-auth if local
users must also log in.
LAN access is blocked until a password hash exists. With the Commec conda environment active, locate and run the packaged password helper:
GUI_DIR="$(python -c 'from pathlib import Path; import commec.gui; print(Path(commec.gui.__file__).parent)')"
COMMEC_CONDA_ENV="$CONDA_DEFAULT_ENV" "$GUI_DIR/set-password.sh"Start the HTTPS server:
commec gui --lan --tls-auto --port 8765 --databases /path/to/databasesOpen https://<server-address>:8765/ from another computer and enter the GUI
password. The automatically generated certificate is signed by a CA created on
the server. Remote browsers will show a certificate warning until the server's
rootCA.pem is installed in their trust store. Distribute only rootCA.pem;
never copy the CA private key or the server private key to client computers.
- Enter a unique run label.
- Paste a sequence or select a FASTA, CSV, or spreadsheet file.
- Select a screening preset and, when applicable, regulatory jurisdictions.
- Start the run and follow its progress in the browser.
- Open the result summary, HTML report, or retained output files.
Only one screen runs at a time. If the server or computer stops during a run, the Results panel marks it Interrupted and offers Resume after the GUI starts again.
- Keep TLS enabled for LAN access. Passwords and submitted sequences must not be sent over plain HTTP.
-
--lanlistens on every network interface. Use the host firewall to allow only trusted LAN or VPN clients. - Submitted sequences, search intermediates, logs, and reports persist under
--runs-dir. The default retention period keeps completed runs indefinitely. Protect the directory and configure retention when inputs are sensitive. - Treat the machine as a screening system, not a public web service. Do not expose the GUI port directly to the internet.
The repository's detailed GUI guide covers configuration, TLS, presets, inputs, results, resume, and retention.