Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 902 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 902 Bytes

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