Bioplib
Protein Structure C Library
|
Routine to add C-terminal oxygens. More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "SysDefs.h"
#include "MathType.h"
#include "pdb.h"
#include "macros.h"
Go to the source code of this file.
Macros | |
#define | MAXBUFF 160 |
Functions | |
BOOL | blFixCterPDB (PDB *pdb, int style) |
Routine to add C-terminal oxygens.
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.
BOOL FixCterPDB(PDB *pdb, int style)
Renames Cter oxygens in the required style (CTER_STYLE_STD, CTER_STYLE_GROMOS or CTER_STYLE_CHARMM) and generates a second oxygen if required. If the style is CHARMM an extra CTER residue will be created. Input may be in any of the 3 styles.
Definition in file FixCterPDB.c.
#define MAXBUFF 160 |
Definition at line 96 of file FixCterPDB.c.
[in,out] | *pdb | PDB linked list to modify |
[in] | style | CTER_STYLE_STD, CTER_STYLE_GROMOS or CTER_STYLE_CHARMM |
Renames C-ter atoms in required style and calls CalcCterCoords() as required to calculate coordinates ans splices them in. The input PDB linked list may have standard, CHARMM or GROMOS style.
Definition at line 138 of file FixCterPDB.c.