InPDBZoneSpec.c



BOOL InPDBZoneSpec(PDB *p, char *resspec1, char *resspec2)

Inputs

PDB *p Pointer to a PDB record
char *resspec1 Res spec for first residue
char *resspec2 Res spec for last residue

Returns

BOOL Is p in the range specified?

Description

Determines whether a PDB pointer is within a residue range specified using standard format: [c]nnn[i]

Also handles the residue spec of c* (i.e. chain name and a * to indicate all residues in a given chain). This must be given as resspec1 (resspec2 is then ignored).

Calls InPDBZone() to do the actual work

Created: 19.09.96 Last Modified: 19.09.96