Stress Knowledge Map


skm-tools: analysing PSS and CKN in Python

Overview

skm-tools is a Python package for questions about PSS and CKN that go beyond what the PSS and CKN Explorers offer. It loads the networks from the SKM downloads into networkX, so that all of networkX's graph analyses can be used, and adds functions for the typical steps of an SKM analysis: filtering the networks, neighbourhoods, shortest paths, subnetworks, adding experimental data, translating CKN to other species, and showing the results in Cytoscape or DiNAR.

A PSS subnetwork in Cytoscape: the shortest paths from ABA to RD29 in blue, and where SA (orange) and JA (purple) reach them

Example: the shortest paths from ABA to RD29 in PSS, and where SA and JA reach them, shown in Cytoscape with skm-tools.

Install and start

pip install "skm-tools @ git+https://github.com/NIB-SI/skm-tools.git"
from skm_tools.pss import pss_interaction_network_to_networkx

pss = pss_interaction_network_to_networkx(data_dir="data")   # downloads the public PSS on first use

Optional extras (e.g. Cytoscape automation) and the other networks are described in the documentation.

Documentation

The two case studies of the SKM publication (ABA, JA and SA in the activation of RD29, Ca2+-dependent peroxide responses in CKN) are kept as they were published, with the skm-tools and PSS/CKN versions of that time (the publication branch).

Please note that NEWT is a client-side application, and therefore relies on your local computer capabilities. Given the relatively large size of PSS, rendering the network may take a while.