This demonstrates using IMP Restraints as additional energy terms in the Modeller scoring function, so that IMP scoring terms can be incorporated into existing comparative modeling pipelines.
13 e = modeller.environ()
14 e.edat.dynamic_sphere =
False
15 e.libs.topology.read(
'${LIB}/top_heav.lib')
16 e.libs.parameters.read(
'${LIB}/par.lib')
17 modmodel = modeller.model(e)
18 modmodel.build_sequence(
'GGCC')
27 atoms[0].get_particle(),
28 atoms[-1].get_particle())
33 t = modmodel.env.edat.energy_terms
37 sel = modeller.selection(modmodel)