14 e = modeller.Environ()
15 e.edat.dynamic_sphere =
True
16 e.libs.topology.read(
'${LIB}/top_heav.lib')
17 e.libs.parameters.read(
'${LIB}/par.lib')
18 modmodel = modeller.Model(e)
19 modmodel.build_sequence(
'GGCC')
21 sel = modeller.Selection(modmodel)
22 modmodel.restraints.make(sel, restraint_type=
'STEREO', spline_on_site=
False)
28 protein = loader.load_atoms(m)
33 list(loader.load_static_restraints())
34 + list(loader.load_dynamic_restraints()))
36 print(sf.evaluate(
False))
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
Create a scoring function on a list of restraints.
Class for storing model, its restraints, constraints, and particles.
Interface to the Modeller comparative modeling package.
Read a Modeller model into IMP.