Online Tutorial

https://mybinder.org/badge_logo.svg

Click the icon above and run the demonstrated example; or alternatively upload user-customized input files to the input directory on File Browser tab (upper left corner) of Binder.

This interactive jupyter notebook walks you though all of the code and functions to:
  • Get familiar with and parse the input files including baseline model spreadsheet and machine reading extracted events.

  • Create ECLG, process it using network algorithm and assign weights.

  • Cluster the ECLG using the community detection algorithm and possibly merge clusters.

Offline Installation

CLARINET requires Python installed on local machine (MacOS, Linux and Windows are all supported). If users want to explore the interactive notebook we provided locally, Jupyter notebook installation is also required.

  1. Clone the CLARINET repository, to your computer.

git clone https://github.com/pitt-miskov-zivanov-lab/CLARINET.git
  1. Navigate into the directory, install CLARINET and its python dependencies.

cd CLARINET
pip install -e .
  1. Run the provided notebook.

jupyter notebook examples/use_CLARINET.ipynb

Input and Output

Input includes:
  • a .xlsx file containing the model to extend, in BioRECIPES model format, see example

  • a machine reading output file, in BioRECIPES interaction format, see example

  • number of return paths

  • a parameter for frequency class

Output includes:
  • a frequent class file that contains ECLG nodes and their freqClass level, see example

  • the ECLG file containing nodes and edges before the removal of less frequent nodes, see example

  • the ECLG file containing nodes and edges after the removal of less frequent nodes, see example

  • a LSS file that contains ECLG edges and their weights, see example

  • a pickle file containing grouped (clustered) extensions, specified as nested lists. Each group starts with an integer, followed by interactions specified as [regulator element, regulated element, Interaction type: Activation (+) or Inhibition (-)], see example

  • another pickle file containing the merged clusters (different than _grouped_ext_ which is not merged), clusters are merged based on user-selected number of return paths, see example

  • directory containing the resulting uninterpreted clusters, see example

  • a .csv file showing the basic information of each uninterpreted cluster, see example

  • directory containing the resulting interpreted clusters, see example

Dependency Resources