24 #define MaxMonoAtom 20 25 #define MaxMonoBond 20 27 #include <openbabel/babelconfig.h> 62 bool PerceiveChains(
OBMol &mol,
bool nukeSingleResidue =
false);
75 bool DetermineHetAtoms(
OBMol &);
89 bool DetermineConnectedChains(
OBMol &);
98 unsigned int RecurseChain(
OBMol &mol,
unsigned int i,
int c);
110 bool DeterminePeptideBackbone(
OBMol &);
121 void ConstrainBackbone(
OBMol &mol,
Template *templ,
int tmax);
125 bool MatchConstraint(
OBAtom *atom,
int mask);
150 void TracePeptideChain(
OBMol &mol,
unsigned int i,
int r);
161 bool DeterminePeptideSidechains(
OBMol &);
173 int IdentifyResidue(
void *tree,
OBMol &mol,
unsigned int seed,
int resno);
181 void AssignResidue(
OBMol &mol,
int r,
int c,
int i);
190 bool DetermineHydrogens(
OBMol &);
201 void SetResidueInformation(
OBMol &,
bool nukeSingleResidue);
213 bool DetermineNucleicBackbone(
OBMol &);
221 void TraceNucleicChain(
OBMol &,
unsigned int i,
int r);
228 bool DetermineNucleicSidechains(
OBMol &);
235 void SetupMol(
OBMol &);
239 void ClearResidueInformation(
OBMol &mol);
250 void DefineMonomer(
void **tree,
int resid,
const char *smiles);
255 int IdentifyElement(
char *ptr);
261 const char *ParseSmiles(
const char *smiles,
int prev);
273 std::vector<unsigned short> bitmasks;
274 std::vector<bool> visits;
275 std::vector<unsigned char> resids;
276 std::vector<unsigned char> flags;
277 std::vector<bool> hetflags;
278 std::vector<int> atomids;
279 std::vector<short> resnos;
280 std::vector<short> sernos;
281 std::vector<char> hcounts;
282 std::vector<char> chains;
289 #endif // OB_CHAINS_H OBChainsParser chainsparser
Global OBChainsParser for detecting macromolecular chains and residues.
Definition: chains.h:286
#define MaxMonoAtom
Definition: chains.h:24
Molecule Class.
Definition: mol.h:118
struct Template Template
Structure template for atomic patterns in residues for OBChainsParser.
Definition: chains.h:39
#define MaxMonoBond
Definition: chains.h:25
Perceives peptide or nucleotide chains and residues in an OBMol.
Definition: chains.h:49
Global namespace for all Open Babel code.
Definition: alias.h:22
Atom class.
Definition: atom.h:71