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

Go to the source code of this file.

Functions

BOOL blInPDBZone (PDB *p, char *chain, int resnum1, char *insert1, int resnum2, char *insert2)
 

Detailed Description

Version
V1.8
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 InPDBZone.c.

Function Documentation

BOOL blInPDBZone ( PDB p,
char *  chain,
int  resnum1,
char *  insert1,
int  resnum2,
char *  insert2 
)
Parameters
[in]*pPointer to a PDB record
[in]*chainChain name
[in]resnum1First residue
[in]*insert1First insert code
[in]resnum2Second residue
[in]*insert2Second insert code
Returns
Is p in the range specified?

Checks that atom stored in PDB pointer p is within the specified residue range.

N.B. This assumes ASCII coding.

  • 24.02.14 Based on InPDBZone() but takes chain and inserts as stings instead of chars. By: CTP
  • 02.03.14 Use strcmp to compare inserts. Fixed bug handling insert residues where start and finish of zone have same residue number. By: CTP
  • 07.07.14 Renamed to blInPDBZone(). Use bl prefix for functions By: CTP

Definition at line 115 of file InPDBZone.c.