fasta.h File Reference

Routines for reading FASTA databases. More...

#include "swps3.h"
#include <stdio.h>

Include dependency graph for fasta.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FastaLib

Functions

void swps3_closeLib (FastaLib *lib)
char * swps3_getSequenceName (FastaLib *lib)
FastaLibswps3_openLib (char *filename)
char * swps3_readNextSequence (FastaLib *lib, int *len)
void swps3_translateSequence (char *sequence, int seqLen, char table[256])


Detailed Description

Routines for reading FASTA databases.

Definition in file fasta.h.


Function Documentation

void swps3_closeLib ( FastaLib lib  ) 

Definition at line 97 of file fasta.c.

Referenced by main().

char* swps3_getSequenceName ( FastaLib lib  ) 

Definition at line 94 of file fasta.c.

References FastaLib::name.

Referenced by main().

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().


Generated on Thu Jun 5 12:44:48 2008 for swps3 by  doxygen 1.5.4