mstk.topology.Residue¶
- class mstk.topology.Residue(name='UNK')¶
A residue is a group of consecutive atoms, e.g. the amino acid in protein, the repeating unit in polymer.
It can be considered as a special connectivity without energy contribution. It is mainly for the convenience of visualization of polymers. Small molecule usually contains one single residue.
Methods
__init__([name])Attributes
- property n_atom¶
- property atoms¶