Bioplib
Protein Structure C Library
|
Read secondary structure information from the HELIX, TURN and SHEET records in a PDB file. More...
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include "SysDefs.h"
#include "MathType.h"
#include "pdb.h"
#include "fsscanf.h"
#include "macros.h"
Go to the source code of this file.
Functions | |
SECSTRUC * | blReadSecPDB (FILE *fp, int *nsec) |
SECSTRUC * | blReadSecWholePDB (WHOLEPDB *wpdb, int *nsec) |
Read secondary structure information from the HELIX, TURN and SHEET records in 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.
This routine reads the secondary structure informaton from the header of a .PDB file. It reads from file fp and creates a linked list of type SECSTRUC. The user should include "pdb.h"
On return, the variable nsec, or the value returned by the routine should be checked to ensure some secondary structure was returned. The secondary structure is stored together with ranges of residues to which it applies. The form of the structure should be checked in pdb.h
Input: fp *FILE Pointer to PDB file Output: nsec *int Number of sec struc regions identified Returns: sec *SECSTRUC Linked list of type SECSTRUC
Definition in file RdSecPDB.c.
SECSTRUC* blReadSecPDB | ( | FILE * | fp, |
int * | nsec | ||
) |
[in] | *fp | Pointer to PDB file |
[out] | *nsec | Number of sec struc regions identified |
Reads secondary structure information from the header of a PDB file. Returns a pointer to a linked list of type SECSTRUC.
On return, the variable nsec, or the value returned by the routine should be checked to ensure some secondary structure was returned. The secondary structure is stored together with ranges of residues to which it applies. The form of the structure should be checked in pdb.h
Definition at line 141 of file RdSecPDB.c.
[in] | *wpdb | WHOLEPDB structure |
[out] | *nsec | Number of sec struc regions identified |
Reads secondary structure information from the header of a PDB file stored in a WHOLEPDB structure. Returns a pointer to a linked list of type SECSTRUC.
On return, the variable nsec, or the value returned by the routine should be checked to ensure some secondary structure was returned. The secondary structure is stored together with ranges of residues to which it applies. The form of the structure should be checked in pdb.h
Definition at line 256 of file RdSecPDB.c.