Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
InPDBZoneSpec.c File Reference
#include "SysDefs.h"
#include "pdb.h"
#include "macros.h"

Go to the source code of this file.

Functions

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

Detailed Description

Version
V1.5
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

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.

Description:

Usage:

Revision History:

Definition in file InPDBZoneSpec.c.

Function Documentation

BOOL blInPDBZoneSpec ( PDB p,
char *  resspec1,
char *  resspec2 
)
Parameters
[in]*pPointer to a PDB record
[in]*resspec1Res spec for first residue
[in]*resspec2Res spec for last residue
Returns
Is p in the range specified?

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

  • 19.09.96 Original By: ACRM
  • 24.02.14 Uses string for chain and insert instead of char. Wildcard match for multi-letter chain id. Now calls BiopInPDBZone(). By: CTP
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 111 of file InPDBZoneSpec.c.