The modelcif.data Python module¶
Classes to track inputs/outputs of modeling protocols.
See also modelcif.protocol.Step.
- class modelcif.data.Data(name, details=None)[source]¶
Some part of the system that is input or output by part of the modeling protocol, and/or stored in a file.
Usually a subclass is passed to
modelcif.protocol.Stepto describe the input or output, or tomodelcif.associated.Fileto point to where the data are stored:A database of possible template sequences/structures to construct or search (
modelcif.ReferenceDatabase)A template structure (
modelcif.Template)The sequence of the target (
modelcif.Entity)A target-template alignment (
modelcif.alignment)Target structure coordinates (
modelcif.model.Model)
However, this class can also be used directly to describe other kinds of input/output data.
- class modelcif.data.DataGroup(iterable=(), /)[source]¶
A number of
Dataobjects that are grouped together.This class can be used to group together multiple
Dataobjects if a given modeling protocol step consumes or generates multiple pieces of data. Seemodelcif.protocol.Step. It behaves like a regular Python list.