Bioplib
Protein Structure C Library
|
Header file for hbond determining code. More...
#include "deprecated.h"
Go to the source code of this file.
Data Structures | |
struct | _hblist |
Macros | |
#define | HBOND_BACK1 0x01 |
#define | HBOND_BACK2 0x02 |
#define | HBOND_SIDE1 0x04 |
#define | HBOND_SIDE2 0x08 |
#define | HBOND_BB (HBOND_BACK1 | HBOND_BACK2) |
#define | HBOND_BS (HBOND_BACK1 | HBOND_SIDE2) |
#define | HBOND_SS (HBOND_SIDE1 | HBOND_SIDE2) |
#define | HBOND_SB (HBOND_SIDE1 | HBOND_BACK2) |
#define | HBOND_SIDECHAIN (HBOND_SIDE1 | HBOND_SIDE2 | HBOND_BACK2) |
#define | HBOND_BACKBONE (HBOND_BACK1 | HBOND_SIDE2 | HBOND_BACK2) |
#define | HBOND_ANY (HBOND_BACK1 | HBOND_BACK2 | HBOND_SIDE1 | HBOND_SIDE2) |
#define | _HBOND_H_DEPRECATED |
Typedefs | |
typedef struct _hblist | HBLIST |
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 *p, PDB *q) |
Header file for hbond determining code.
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.
Definition in file hbond.h.
#define HBOND_ANY (HBOND_BACK1 | HBOND_BACK2 | HBOND_SIDE1 | HBOND_SIDE2) |
#define HBOND_BACKBONE (HBOND_BACK1 | HBOND_SIDE2 | HBOND_BACK2) |
#define HBOND_BB (HBOND_BACK1 | HBOND_BACK2) |
#define HBOND_BS (HBOND_BACK1 | HBOND_SIDE2) |
#define HBOND_SB (HBOND_SIDE1 | HBOND_BACK2) |
#define HBOND_SIDECHAIN (HBOND_SIDE1 | HBOND_SIDE2 | HBOND_BACK2) |
#define HBOND_SS (HBOND_SIDE1 | HBOND_SIDE2) |
[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