Bioplib
Protein Structure C Library
|
Writes a PIR sequence file. More...
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "SysDefs.h"
#include "macros.h"
#include "seq.h"
Go to the source code of this file.
Functions | |
void | blWriteOneStringPIR (FILE *out, char *label, char *title, char *sequence, char **chainLabels, BOOL ByChain, BOOL doFasta) |
Writes a PIR sequence 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.
Definition in file WritePIR.c.
void blWriteOneStringPIR | ( | FILE * | out, |
char * | label, | ||
char * | title, | ||
char * | sequence, | ||
char ** | chainLabels, | ||
BOOL | ByChain, | ||
BOOL | doFasta | ||
) |
[in] | *out | File pointer |
[in] | *label | Sequence label |
[in] | *title | Sequence title |
[in] | *sequence | Sequence (1-letter code) with chains separated by * |
[in] | **chainLabels | Chain labels (may be set to NULL unless ByChain is set) |
[in] | ByChain | Print a separate header for each chain |
[in] | doFasta | Output FASTA format instead of PIR |
Writes a PIR sequence file from a 1-letter code sequence. Multiple chains are split with '*'. If ByChain is set the the chainLabels array must be non-NULL and contains labels for each chain Adds a terminating * if required.
Definition at line 116 of file WritePIR.c.