7 from __future__
import print_function
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')
21 feat = modeller.features.distance(modmodel.atoms[0], modmodel.atoms[-1])
22 r = modeller.forms.gaussian(feature=feat, mean=10.0, stdev=1.0,
23 group=modeller.physical.xy_distance)
24 modmodel.restraints.add(r)
37 print(m.evaluate(
False))
An IMP restraint using all defined Modeller restraints.
Interface to the Modeller comparative modeling package.
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
Read a Modeller model into IMP.
Class for storing model, its restraints, constraints, and particles.