16e.edat.dynamic_sphere =
False
17e.libs.topology.read(
'${LIB}/top_heav.lib')
18e.libs.parameters.read(
'${LIB}/par.lib')
19modmodel = modeller.Model(e)
20modmodel.build_sequence(
'GGCC')
23feat = modeller.features.Distance(modmodel.atoms[0], modmodel.atoms[-1])
24r = modeller.forms.Gaussian(feature=feat, mean=10.0, stdev=1.0,
25 group=modeller.physical.xy_distance)
26modmodel.restraints.add(r)
39print(sf.evaluate(
False))
Class for storing model, its restraints, constraints, and particles.
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
Gather all the molecular particles of a certain level in the hierarchy.
Create a scoring function on a list of restraints.
Read a Modeller model into IMP.
An IMP restraint using all defined Modeller restraints.
Interface to the Modeller comparative modeling package.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.