Bioplib
Protein Structure C Library
|
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Functions | |
int | blReadSimplePIR (FILE *fp, int maxres, char **seqs) |
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 version (previously called ReadPIR()) is maintained only for compatibility with the old version. It will only read minimal specification PIR files.
Definition in file ReadSimplePIR.c.
int blReadSimplePIR | ( | FILE * | fp, |
int | maxres, | ||
char ** | seqs | ||
) |
[in] | *fp | File pointer |
[in] | maxres | Max number of residues in chain. |
[out] | **seqs | Array of pointers to sequences |
Read a PIR file containing multiple chains of up to maxres amino acids. Each chain is returned in seqs[]. The number of chains is returned by the routine. 0 is returned if a memory allocation failed
Definition at line 121 of file ReadSimplePIR.c.