Is saccharide#
Validating whether a residue is a recognized carbohydrate or saccharide unit.
The function molsysmt.element.group.saccharide.is_saccharide() checks group names against standard carbohydrate definitions.
Added in version 1.0.0.
API documentation
Follow this link for a detailed description of the input arguments, raised errors, and returned objects of this function: molsysmt.element.group.saccharide.is_saccharide().
Basic usage#
Let’s test saccharide names:
import molsysmt as msm
print('Is GLC a saccharide?:', msm.element.group.saccharide.is_saccharide('GLC'))
print('Is NAG a saccharide?:', msm.element.group.saccharide.is_saccharide('NAG'))
print('Is ALA a saccharide?:', msm.element.group.saccharide.is_saccharide('ALA'))
Is GLC a saccharide?: True
Is NAG a saccharide?: True
Is ALA a saccharide?: False
See also
Related Tools & References
Is group type: Check group types with
molsysmt.element.group.is_group_type().