glycosylator.resources.names package
These are name mappings for glycan residues between their PDB identifiers and IUPAC names.
-
glycosylator.resources.names.id_to_name(id: str) → str[source]
Translate a monosaccharide PDB id to a name
- Parameters:
id (str) – The PDB id of the monosaccharide
- Returns:
The name of the monosaccharide.
If the id is not found, it is returned as is.
- Return type:
str
-
glycosylator.resources.names.is_beta(id: str) → bool[source]
Check if a monosaccharide PDB id is beta-configured.
- Parameters:
id (str) – The PDB id of the monosaccharide
- Returns:
True if the monosaccharide is beta-configured, False otherwise.
- Return type:
bool