
__author__ = "Magdalena A. Jonikas"
__version__ = "1.0"
__doc__ = """Example 3, part A. Use the P-C3' coarse grain template to generate working library of matches""" 

import sys, time
import simtk.c2a.c2a_findMatches as fm

t0 = time.time()
fm.findMatches(templateTrace = '6TNA-PC3.pdb',
                  centerAtoms = ["P  ", "C3'"],
                  fragmentFile = '6TNA-FD.txt',
                  conversionData = open('../baseConvert.pkl'),
                  searchStructureFile = '../1N32-subA.pdb',
                  nhradius = 0.1,
                  hradius = 0.1
                 )

sys.stdout.write("Total run time: %.1f Sec\n" % (time.time()-t0))

