#include "seq.h"
Go to the source code of this file.
Functions | |
void | fasta_deInit (void) |
Deinitialize the FASTA module. | |
void | fasta_initFromFile (char *fileName) |
Initialize the FASTA module using a file name. | |
void | fasta_initFromPipe (char *command) |
Initialize the FASTA module using a pipe. | |
Seq * | fasta_nextSequence (int truncateName) |
Returns a pointer to the next FASTA sequence. | |
void | fasta_printOneSequence (Seq *currSeq) |
Prints currSeq to stdout. | |
void | fasta_printSequences (Array seqs) |
Prints seqs to stdout. | |
Array | fasta_readAllSequences (int truncateName) |
Returns an Array of FASTA sequences. |
Definition in file fasta.h.
void fasta_deInit | ( | void | ) |
void fasta_initFromFile | ( | char * | fileName | ) |
Initialize the FASTA module using a file name.
void fasta_initFromPipe | ( | char * | command | ) |
Initialize the FASTA module using a pipe.
Seq* fasta_nextSequence | ( | int | truncateName | ) |
Returns a pointer to the next FASTA sequence.
[in] | truncateName | If truncateName > 0, leading spaces of the name are skipped. Furthermore, the name is truncated after the first white space. If truncateName == 0, the name is stored as is. |
Array fasta_readAllSequences | ( | int | truncateName | ) |
Returns an Array of FASTA sequences.
[in] | truncateName | If truncateName > 0, leading spaces of the name are skipped. Furthermore, the name is truncated after the first white space. If truncateName == 0, the name is stored as is. |