Mercurial > repos > chrisd > testshed
comparison gene_fraction/src/Fasta.h @ 0:0fd352f62446 draft default tip
planemo upload for repository https://github.com/ChrisD11/Duplicon commit 3ee0594c692faac542ffa58f4339d79b9b8aefbd-dirty
author | chrisd |
---|---|
date | Sun, 21 Feb 2016 06:05:24 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0fd352f62446 |
---|---|
1 #ifndef FASTA_H | |
2 #define FASTA_H | |
3 | |
4 #include <string> | |
5 #include <vector> | |
6 #include "FastaRecord.h" | |
7 | |
8 /** | |
9 * Class for dealing with fasta files | |
10 */ | |
11 class Fasta { | |
12 public: | |
13 /** | |
14 * Constructor that sets amr file path | |
15 */ | |
16 Fasta(std::string amr_fp); | |
17 | |
18 /** | |
19 * Reads fasta file from file path | |
20 */ | |
21 void read_fasta(const std::string &amr_fp); | |
22 | |
23 std::vector<FastaRecord> records; | |
24 private: | |
25 std::string _amr_fp; | |
26 }; | |
27 | |
28 #endif /* FASTA_H */ |