Residue class¶
- class chemfiles.Residue(name, resid=None)¶
A
Residue
is a group of atoms belonging to the same logical unit. They can be small molecules, amino-acids in a protein, monomers in polymers, etc.Create a new
Residue
from aname
and optionally a residue idresid
.- list_properties()¶
Get the name of all properties in this residue.
- properties_count()¶
Get the number of properties in this residue.