Next: automodel.md_level control
Up: automodel reference
Previous: automodel reference
Contents
Index
automodel(env, alnfile, knowns, sequence, deviation=None, library_schedule=None, toplib=None, parlib=None, topology_model=None, csrfile=None, inifile=None, assess_methods=None)
alnfile is required, and specifies the PIR file which contains an alignment
between knowns (the templates) and sequence (the target sequence).
deviation controls the amount of randomization done by randomize.xyz
or randomize.dihedrals. (This can also be set after
the object is created, by assigning to 'automodel.deviation'.)
library_schedule selects the optimization schedule for model building.
This is usually one of the schedules from the autosched module
(autosched.slow, autosched.normal, autosched.fast,
autosched.very_fast, or autosched.fastest) or your own schedule
object (see Section 6.12).
(This can also be set after the object is created, by assigning to
'automodel.library_schedule'.)
If toplib and/or parlib are specified, the topology and parameters used
to build the model(s) are taken from these files; by default, heavy atom-only
parameters and topology are used. (If necessary, topology_model can also
be given to set topology.submodel, but in most cases this is read
automatically from the topology library, and so does not need to be set.)
If csrfile is set, restraints are not constructed, but are instead read
from the user-supplied file of the same name. See
section 2.2.7 for an example.
If inifile is set, an initial model is read from the user-supplied file of
the same name. See section 2.2.8 for an example.
assess_methods allows you to request assessment of the generated models
(by default, none is done). You can provide a function, or list of functions,
for this purpose, or use one or more of the standard functions provided in the
assess module -- assess.GA341, which uses the GA341 method (see
model.assess_ga341()), assess.DOPE, which uses the DOPE
method (see selection.assess_dope()), or assess.DOPEHR, which uses the
DOPE-HR method (see selection.assess_dopehr()).
(This can also be set after the object is created, by assigning to
'automodel.assess_methods'.) See section 2.2.2 for an
example. Note that only standard models are assessed in this way; if you are
also building loop models, see loopmodel.loop.assess_methods.
See section 2.1 for a general example of using this
class.
Next: automodel.md_level control
Up: automodel reference
Previous: automodel reference
Contents
Index
Ben Webb
2007-01-19