The ihm.dataset
Python module¶
Classes for handling experimental datasets used by mmCIF models.
-
class
ihm.dataset.
Dataset
(location, details=None)[source]¶ A set of input data, for example, a crystal structure or EM map.
Parameters: - location (
ihm.location.Location
) – a pointer to where the dataset is stored. This is usually a subclass ofDatabaseLocation
if the dataset is deposited in a database such as PDB or EMDB, orInputFileLocation
if the dataset is stored in an external file. - details (str) – Text giving more information about the dataset.
-
add_primary
(dataset)[source]¶ Add another Dataset from which this one was ultimately derived, i.e. it is added as a parent, unless a parent already exists, in which case it is added as a grandparent, and so on.
-
parents
= None¶ A list of
Dataset
and/orTransformedDataset
objects from which this one was derived. For example, a 3D EM map may be derived from a set of 2D images.
- location (
-
class
ihm.dataset.
TransformedDataset
(dataset, transform)[source]¶ A
Dataset
that should be rotated or translated before using. This is typically used for derived datasets (seeDataset.parents
) where the derived dataset lies in a different dataset from the parent (for example, it was moved to better align with the model’s reference frame or other experimental data). The transformation that places the derived dataset on the parent is recorded here.Parameters: - dataset (
Dataset
) – The (parent) dataset. - transform (
ihm.geometry.Transformation
) – The rotation and translation that places a derived dataset on this dataset.
- dataset (
-
class
ihm.dataset.
DatasetGroup
(elements=(), name=None, application=None, details=None)[source]¶ A set of
Dataset
objects that are handled together. This is implemented as a simple list.Parameters: - elements (sequence) – Initial set of datasets.
- name (str) – Short text name of this group.
- application (str) – Text that shows how this group is used.
- details (str) – Longer text that describes this group.
Normally a group is passed to one or more
Protocol
orAnalysis
objects, although unused groups can still be included in the file if desired by adding them toihm.System.orphan_dataset_groups
.
-
class
ihm.dataset.
CXMSDataset
(location, details=None)[source]¶ Processed cross-links from a CX-MS experiment
-
class
ihm.dataset.
MassSpecDataset
(location, details=None)[source]¶ Raw mass spectrometry files such as peaklists
-
class
ihm.dataset.
HDXDataset
(location, details=None)[source]¶ Data from a hydrogen/deuterium exchange experiment
-
class
ihm.dataset.
PDBDataset
(location, details=None)[source]¶ An experimentally-determined 3D structure as a set of a coordinates, usually in a PDB or mmCIF file
-
class
ihm.dataset.
ComparativeModelDataset
(location, details=None)[source]¶ A 3D structure determined by comparative modeling
-
class
ihm.dataset.
IntegrativeModelDataset
(location, details=None)[source]¶ A 3D structure determined by integrative modeling
-
class
ihm.dataset.
DeNovoModelDataset
(location, details=None)[source]¶ A 3D structure determined by de novo modeling
-
class
ihm.dataset.
NMRDataset
(location, details=None)[source]¶ A nuclear magnetic resonance (NMR) dataset
-
class
ihm.dataset.
EMDensityDataset
(location, details=None)[source]¶ A 3D electron microscopy dataset
-
class
ihm.dataset.
FRETDataset
(location, details=None)[source]¶ Single molecule data from a Förster resonance energy transfer (FRET) experiment