19 #ifndef OST_CHAIN_TYPE_HH
20 #define OST_CHAIN_TYPE_HH
28 namespace ost {
namespace mol {
convenient datatype for referencing character data
#define DLLEXPORT_OST_MOL
String DLLIMPORT BranchedTypeFromChainType(ChainType type)
Return pdbx_entity_branch.type consistent with mmCIF dictionary (mmcif_pdbx_v50):
String DLLIMPORT EntityTypeFromChainType(ChainType type)
Return _entity.type consistent with respective mmCIF vocabulary (mmcif_pdbx_v50):
@ CHAINTYPE_POLY_RN
polyribonucleotide
@ CHAINTYPE_CYCLIC_PSEUDO_PEPTIDE
cyclic-pseudo-peptide
@ CHAINTYPE_NON_POLY
non-polymer
@ CHAINTYPE_POLY_PEPTIDE_DN_RN
peptide nucleic acid
@ CHAINTYPE_POLY_SAC_L
polysaccharide(L)
@ CHAINTYPE_BRANCHED
carbohydrate
@ CHAINTYPE_OLIGOSACCHARIDE
@ CHAINTYPE_POLY_SAC_D
polysaccharide(D)
@ CHAINTYPE_POLY_PEPTIDE_L
(L) amino acid sequence
@ CHAINTYPE_N_CHAINTYPES
no. of chain types
@ CHAINTYPE_POLY_DN
polydeoxyribonucleotide
@ CHAINTYPE_POLY_PEPTIDE_D
(D) amino acid sequence
@ CHAINTYPE_UNKNOWN
guess what
@ CHAINTYPE_MACROLIDE
macrolide
@ CHAINTYPE_POLY_DN_RN
polydeoxyribonucleotide/ -ribonucleotide hybrid
ChainType DLLIMPORT ChainTypeFromString(const StringRef identifier)
Create a ChainType item for a given string.
String DLLIMPORT EntityPolyTypeFromChainType(ChainType type)
Return _entity_poly.type consistent with mmCIF dictionary (mmcif_pdbx_v50):
String DLLIMPORT StringFromChainType(ChainType type)
Return the String identifier for a given type.