molsysmt.element.group.amino_acid.is_amino_acid#
- molsysmt.element.group.amino_acid.is_amino_acid(name)[source]#
Check whether a group name corresponds to an amino acid residue.
- Parameters:
name (str) – Residue name as stored in the topology (e.g.
'ALA','GLY','HID'). Variant names for protonation states and terminal prefixes are included in the recognised set.- Returns:
True if
namebelongs to the set of known amino acid group names, False otherwise.- Return type:
bool
Notes
The recognised names are defined in
molsysmt.element.group.amino_acid.group_names.Added in version 1.0.0.