Augustus 3.4.0
Loading...
Searching...
No Matches
fasta.hh
1/*
2 * fasta.hh
3 *
4 * License: Artistic License, see file LICENSE.TXT or
5 * https://opensource.org/licenses/artistic-license-1.0
6 */
7
8#ifndef _FASTA_HH
9#define _FASTA_HH
10
11#include <iostream>
12#include <fstream>
13
14#ifdef ZIPINPUT
15#include <boost/iostreams/filtering_stream.hpp>
16using boost::iostreams::filtering_istream;
17void readOneFastaSeq(filtering_istream &ifstrm, char* &sequence, char* &name, long &length);
18#endif
19
20void readOneFastaSeq(std::stringstream &ifstrm, char* &sequence, char* &name, long &length);
21void readOneFastaSeq(std::stringstream &ifstrm, char* &sequence, char* &name, int &length);
22void readOneFastaSeq(std::ifstream &ifstrm, char* &sequence, char* &name, long &length);
23void readFastaHeader(std::ifstream &ifstrm, char* &name);
24bool isFasta(std::ifstream &ifstrm);
25
26#endif // _FASTA_HH