FindZonePDB.c



BOOL FindZonePDB(PDB *pdb, int start, char startinsert, int stop, char stopinsert, char chain, int mode, PDB **pdb_start, PDB **pdb_stop)

Inputs

PDB *pdb PDB linked list
int start Resnum of start of zone
char startinsert Insert code for start of zone
int stop Resnum of end of zone
char stopinsert Insert code for end of zone
char chain Chain name
int mode ZONE_MODE_RESNUM: Use PDB residue numbers/chain ZONE_MODE_SEQUENTIAL: Use sequential numbering

Outputs

PDB **pdb_start Start of zone
PDB **pdb_stop End of zone

Returns

BOOL OK?

Description

Finds pointers to the start and end of a zone in a PDB linked list. The end is the atom *after* the specified zone

Created: 30.09.92 Last Modified: 20.02.01