The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
FindZonePDB.c File Reference

Routines for handling zones in PDB linked lists. More...

#include "SysDefs.h"
#include "MathType.h"
#include "pdb.h"
#include "macros.h"

Go to the source code of this file.

Functions

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

Detailed Description

Routines for handling zones in PDB linked lists.

Version
V1.6
Date
07.05.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 FindZonePDB.c.

Function Documentation

BOOL blFindZonePDB ( PDB pdb,
int  start,
char *  startinsert,
int  stop,
char *  stopinsert,
char *  chain,
int  mode,
PDB **  pdb_start,
PDB **  pdb_stop 
)
Parameters
[in]*pdbPDB linked list
[in]startResnum of start of zone
[in]*startinsertInsert code for start of zone
[in]stopResnum of end of zone
[in]*stopinsertInsert code for end of zone
[in]*chainChain name
[in]modeZONE_MODE_RESNUM: Use PDB residue numbers/chain ZONE_MODE_SEQUENTIAL: Use sequential numbering
[out]**pdb_startStart of zone
[out]**pdb_stopEnd of zone
Returns
OK?

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

  • 20.03.14 Function based on FindZonePDB() but takes string for chain label and insert instead of single char. Function finds end of chain properly if stop set to -999. By: CTP

Definition at line 105 of file FindZonePDB.c.