IMP logo
IMP Reference Guide  develop.d97d4ead1f,2024/11/22
The Integrative Modeling Platform
IMP.pmi.mmcif.Entity Class Reference

A single entity in the system. More...

Inherits Entity.

Detailed Description

A single entity in the system.

This contains information (such as database identifiers) specific to a particular sequence rather than a copy (for example, when modeling a homodimer, two AsymUnits will point to the same Entity).

This functions identically to the base ihm.Entity class, but it allows identifying residues by either the PMI numbering scheme (which is always contiguous starting at 1, covering the entire sequence in the FASTA files, or the IHM scheme (seq_id, which also starts at 1, but which only covers the modeled subset of the full sequence, with non-modeled N-terminal or C-terminal residues removed). The actual offset (which is the integer to be added to the IHM numbering to get PMI numbering, or equivalently the number of not-represented N-terminal residues in the PMI sequence) is available in the pmi_offset member.

Note
This class is only available in Python.

Definition at line 1186 of file mmcif.py.

Public Member Functions

def pmi_range
 Return a range of IHM residues indexed using PMI numbering. More...
 
def pmi_residue
 Return a single IHM residue indexed using PMI numbering. More...
 

Member Function Documentation

def IMP.pmi.mmcif.Entity.pmi_range (   self,
  res_id_begin,
  res_id_end 
)

Return a range of IHM residues indexed using PMI numbering.

Definition at line 1212 of file mmcif.py.

def IMP.pmi.mmcif.Entity.pmi_residue (   self,
  res_id 
)

Return a single IHM residue indexed using PMI numbering.

Definition at line 1208 of file mmcif.py.


The documentation for this class was generated from the following file: