ParseRes.c



BOOL ParseResSpec(char *spec, char *chain, int *resnum, char *insert)

Inputs

char *spec Residue specification

Outputs

char *chain Chain label
int *resnum Residue number
char *insert Insert label

Returns

BOOL Success?

Description

Splits up a residue specification of the form [c][.]num[i] into chain, resnum and insert. Chain and insert are optional and will be set to spaces if not specified.

Created: 21.07.93 Last Modified: 18.03.98