6 from __future__
import print_function
12 e = modeller.environ()
13 e.edat.dynamic_sphere =
True
14 e.libs.topology.read(
'${LIB}/top_heav.lib')
15 e.libs.parameters.read(
'${LIB}/par.lib')
16 modmodel = modeller.model(e)
17 modmodel.build_sequence(
'GGCC')
19 sel = modeller.selection(modmodel)
20 modmodel.restraints.make(sel, restraint_type=
'STEREO', spline_on_site=
False)
26 protein = loader.load_atoms(m)
29 for r
in loader.load_static_restraints():
34 for r
in loader.load_dynamic_restraints():
37 print(m.evaluate(
False))
Interface to the Modeller comparative modeling package.
Read a Modeller model into IMP.
Class for storing model, its restraints, constraints, and particles.