#include "swps3.h"
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | FastaLib |
Functions | |
void | swps3_closeLib (FastaLib *lib) |
char * | swps3_getSequenceName (FastaLib *lib) |
FastaLib * | swps3_openLib (char *filename) |
char * | swps3_readNextSequence (FastaLib *lib, int *len) |
void | swps3_translateSequence (char *sequence, int seqLen, char table[256]) |
Definition in file fasta.h.
char* swps3_getSequenceName | ( | FastaLib * | lib | ) |
FastaLib* swps3_openLib | ( | char * | filename | ) |
Definition at line 40 of file fasta.c.
References error(), FastaLib::fp, FastaLib::name, and swps3_readNextSequence().
Referenced by main().
char* swps3_readNextSequence | ( | FastaLib * | lib, | |
int * | len | |||
) |
Definition at line 61 of file fasta.c.
References FastaLib::data, error(), FastaLib::fp, FastaLib::name, swps3_translateSequence(), and warning().
Referenced by main(), and swps3_openLib().
void swps3_translateSequence | ( | char * | sequence, | |
int | seqLen, | |||
char | table[256] | |||
) |
Definition at line 100 of file fasta.c.
References error(), and MATRIX_DIM.
Referenced by swps3_readNextSequence().