Docker container for RISK, a Python toolkit for biological network annotation and visualization.
Horecka I, Rost H. RISK: a next-generation tool for biological network annotation and visualization. Bioinformatics. 2026;42(1):btaf669. doi:10.1093/bioinformatics/btaf669
docker pull picotainers/risk:latestOpen a Python session inside the container:
docker run --rm -it picotainers/risk:latest pythonMinimal import and annotation example:
docker run --rm picotainers/risk:latest python - <<'PY'
import networkx as nx
from risk import RISK
r = RISK(verbose=False)
g = nx.Graph()
g.add_edge("n1", "n2")
for node in g.nodes:
g.nodes[node]["x"] = 0.0
g.nodes[node]["y"] = 0.0
g.nodes[node]["label"] = node
net = r.load_network_networkx(g)
ann = r.load_annotation_dict(net, {"termA": ["n1"], "termB": ["n1", "n2"]})
print(sorted(ann.keys()))
PY- Upstream release pinned:
v0.1.3 - The image is intentionally Python-first because upstream exposes RISK as a package API rather than a standalone CLI.
# Pull the image
docker pull docker.io/picotainers/risk:latest
# Run the tool
docker run --rm docker.io/picotainers/risk:latest risk --help