Bioplib
Protein Structure C Library
|
Go to the source code of this file.
Functions | |
PDB * | blDeleteAtomRangePDB (PDB *pdb, PDB *start, PDB *stop) |
PDB * | blDeleteAtomPDB (PDB *pdb, PDB *atom) |
PDB * | blKillPDB (PDB *pdb, PDB *prev) |
PDB * | blDeleteResiduePDB (PDB **pPDB, PDB *res) |
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 KillPDB.c.
[in] | *pdb | Start of PDB linked list |
[in] | *atom | Atom to delete |
Deletes an atom from the PDB linked list. Should be called as pdb=blDeleteAtomPDB(pdb, atom); to allow for the first atom in the linked list being deleted.
Returns NULL of all atoms have been deleted. Returns the input pdb linked list unmodified if the atom isn't found.
[in] | *pdb | Start of PDB linked list |
[in] | *start | First atom to delete |
[in] | *stop | Atom after the one to be deleted |
Deletes a range of atoms from the linked list re-linking the list and returning the new start of the list (in case the first atom has been deleted)
[in,out] | *pPDB | Pointer to pointer to start of PDB linked list |
[in] | *res | Pointer to residue to be removed |
Remove a residue from the PDB linked list and re-link correctly. Returns the next item in the list, so will be NULL when the last residue has been deleted.
[in] | *pdb | Pointer to item in PDB linked list to be removed |
[in] | *prev | Pointer to previous item in linked list |
Kill an item in the PDB linked list and re-link correctly. Returns the next item in the list, so will be NULL when the last item in the list is killed.