Bioplib
Protein Structure C Library
|
Read disulphide information from header records of a PDB file. More...
#include <stdio.h>
#include <stdlib.h>
#include "SysDefs.h"
#include "pdb.h"
#include "macros.h"
#include "fsscanf.h"
Go to the source code of this file.
Macros | |
#define | MAXBUFF 160 |
Functions | |
DISULPHIDE * | blReadDisulphidesPDB (FILE *fp, BOOL *error) |
DISULPHIDE * | blReadDisulphidesWholePDB (WHOLEPDB *wpdb, BOOL *error) |
Read disulphide information from header records of a PDB file.
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.
Read the header records of a PDB file to find disulphide information. Builds a linked list of type DISULPHIDE.
V1.0 14.10.93 Original By: ACRM V1.1 07.07.14 Use bl prefix for functions By: CTP V1.2 26.02.15 Added blReadDisulphidesWholePDB()
Definition in file RdSSPDB.c.
DISULPHIDE* blReadDisulphidesPDB | ( | FILE * | fp, |
BOOL * | error | ||
) |
[in] | *fp | PDB file pointer |
[out] | *error | Success |
Searches a PDB file for SSBOND records and constructs a linked list of information from these records. Returns NULL if no disulphide information found. If memory allocation fails, the DISULPHIDE linked list formed thus far is returned and the error flag is set to TRUE
DISULPHIDE* blReadDisulphidesWholePDB | ( | WHOLEPDB * | wpdb, |
BOOL * | error | ||
) |
[in] | *wpdb | Whole PDB structure |
[out] | *error | Success |
Searches the headers in a WHOLEPDB structure for SSBOND records and constructs a linked list of information from these records. Returns NULL if no disulphide information found. If memory allocation fails, the DISULPHIDE linked list formed thus far is returned and the error flag is set to TRUE