Bioplib
Protein Structure C Library
|
Report whether two residues are H-bonded using Baker & Hubbard criteria. More...
#include <math.h>
#include "MathType.h"
#include "SysDefs.h"
#include "pdb.h"
#include "macros.h"
#include "general.h"
#include "angle.h"
#include "hbond.h"
Go to the source code of this file.
Macros | |
#define | DADIST 3.5 |
#define | DADISTSQ (DADIST*DADIST) |
#define | HADIST 2.5 |
#define | HADISTSQ (HADIST*HADIST) |
Functions | |
int | blIsHBonded (PDB *res1, PDB *res2, int type) |
BOOL | blValidHBond (PDB *AtomH, PDB *AtomD, PDB *AtomA, PDB *AtomP) |
int | blIsMCDonorHBonded (PDB *res1, PDB *res2, int type) |
int | blIsMCAcceptorHBonded (PDB *res1, PDB *res2, int type) |
void | blSetMaxProteinHBondDADistance (REAL dist) |
HBLIST * | blListAllHBonds (PDB *res1, PDB *res2) |
Report whether two residues are H-bonded using Baker & Hubbard criteria.
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
NOTE, explicit hydrogens must be added to the PDB linked list before calling this routine.
The only external entry points are blIsHBonded() and blValidHBond()
Definition in file hbond.c.
[in] | *res1 | First residue |
[in] | *res2 | Second residue |
[in] | type | HBond type to search for |
Determines whether 2 residues are H-bonded using the crude criteria of Baker & Hubbard, 1984 (Prog. Biophys. & Mol. Biol, 44, 97-179)
N.B. Explicit hydrogens must be added to the PDB linked list before calling this routine!
Searches may be made for any H-bond, or just for those involving backbone or sidechain. These requirements may be combined in any way for the two residues by ORing the appropriate flags in the type variable.
The flags are: HBOND_BACK1 (res1 b/b) HBOND_BACK2 (res2 b/b) HBOND_SIDE1 (res1 s/c) HBOND_SIDE2 (res2 s/c) The most common flag combinations are already provided: HBOND_BB (b/b -- b/b) HBOND_BS (b/b -- s/c) HBOND_SS (s/c -- s/c) HBOND_SB (s/c -- b/b) HBOND_SIDECHAIN (s/c -- any) HBOND_BACKBONE (b/b -- any) HBOND_ANY (any -- any)
[in] | *res1 | First residue |
[in] | *res2 | Second residue |
[in] | type | HBond type to search for |
Determines whether 2 residues are H-bonded using the crude criteria of Baker & Hubbard, 1984 (Prog. Biophys. & Mol. Biol, 44, 97-179)
N.B. Explicit hydrogens must be added to the PDB linked list before calling this routine!
Searches for HBonds, in which the first residue is a mainchain acceptor and the second residue is a donor. Type should be HBOND_BACK2 or HBOND_SIDE2 depending whether the second residue (the acceptor) is backbond or sidechain
[in] | *res1 | First residue |
[in] | *res2 | Second residue |
[in] | type | HBond type to search for |
Determines whether 2 residues are H-bonded using the crude criteria of Baker & Hubbard, 1984 (Prog. Biophys. & Mol. Biol, 44, 97-179)
N.B. Explicit hydrogens must be added to the PDB linked list before calling this routine!
Searches for HBonds, in which the first residue is a mainchain donor and the second residue is an acceptor. Type should be HBOND_BACK2 or HBOND_SIDE2 depending whether the second residue (the acceptor) is backbond or sidechain
[in] | *res1 | Pointer to first residue |
[in] | *res2 | Pointer to second residue |
Finds all HBonds between two specified residues
void blSetMaxProteinHBondDADistance | ( | REAL | dist | ) |
[in] | *AtomH | The hydrogen |
[in] | *AtomD | The donor (to which the H is attached) |
[in] | *AtomA | The acceptor |
[in] | *AtomP | The antecedent to the acceptor |
Determines whether a set of atoms form a valid H-bond using the Baker and Hubbard criteria