Residue class¶
- class chemfiles.Residue(name, resid=None)¶
A
Residueis 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
Residuefrom anameand 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.