MCPcopy Index your code
hub / github.com/drugilsberg/interact

github.com/drugilsberg/interact @0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.1 ↗ · + Follow
61 symbols 148 edges 11 files 48 documented · 79% updated 3y ago0.0.1 · 2019-02-25★ 38
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status

INtERAcT

The interact package provide an implementation of INtERAcT (Interaction networks from vector representation of words) together with a selection of different metrics. Additionally, it exposes various utilities parse data from STRING DB, UniProt and files in gmt format.

INtERAcT is also available as a service on IBM Cloud. For details check the paper.

Installation

Setup of the virtual environment

We strongly recommend to work inside a virtual environment (venv).

Create the environment:

python3 -m venv venv

Activate it:

source venv/bin/activate

Install dependencies

pip3 install -r requirements.txt

Module installation

The module can be installed either in editable mode:

pip3 install -e .

Or as a normal package:

pip3 install .

Check the folder examples for a quick start on inferring interaction from an embedding using interact.

Core symbols most depended-on inside this repo

download_from_url
called by 5
interact/generic.py
_map_indices_with_series
called by 4
interact/nn_tree.py
_filter_indices_with_labels
called by 2
interact/roc.py
filter_interaction_table_by_labels
called by 2
interact/generic.py
interactions_to_edges
called by 2
interact/generic.py
install
called by 1
setup.py
run
called by 1
setup.py
_nn_data_to_clusters_counts
called by 1
interact/core.py

Shape

Function 44
Method 9
Class 8

Languages

Python100%

Modules by API surface

setup.py10 symbols
interact/core.py10 symbols
interact/generic.py9 symbols
interact/stringdb.py8 symbols
interact/roc.py7 symbols
interact/nn_tree.py7 symbols
interact/embedding.py5 symbols
interact/graph.py4 symbols
interact/uniprot.py1 symbols

For agents

$ claude mcp add interact \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page