tmi icon indicating copy to clipboard operation
tmi copied to clipboard

Flask Interface to Thompson's Motif Index

TMI: Interface on Thompson's Motif Index

This collection of scripts provides a Python interface to Thompson's Motif Index. Currently, only python 2.7x is supported.

Dependencies:

Install with:

pip install networkx pattern flask whoosh ijson

Next create the index using:

python indexer.py

Finally start the web servive (locally) using:

python tmi_run.py

The following can be used as a starting point for a wsgi script to be used with Apache.

import sys
import glob
import os

sys.path.append('/path/to/folder/of/tmi')        
from tmi.tmi_run import app as application