Skip to content

fbkarsdorp/tmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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