Bioplib
Protein Structure C Library
|
Go to the source code of this file.
Functions | |
PDB * | blSelectCaPDB (PDB *pdb) |
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 SelectCaPDB.c.
[in] | *pdb | A PDB linked list |
[out] | * | The linked list reduced to CA atoms only |
Reduce a PDB linked list to CA atoms only. Returns the reduced PDB linked list. Note that the input linked list is modified (storage for non-CA atoms is freed) and that the pointer input to the routine is likely to become invalid since the first atom is generally no a CA and the first record will therefore be freed.
Normally you would call this routine with something like:
pdb = SelectCaPDB(pdb);
i.e. the same variable name is used for the input and the return.
This is used in place of the normal SelectAtomsPDB() since it is simpler and faster to call for this rather common requirement.
N.B. Unlike SelectAtomsPDB(), the routine is destructive; i.e. the original PDB linked list is NOT intact after the selection process.
Definition at line 124 of file SelectCaPDB.c.