Mercurial > repos > chrisd > testing
comparison gene_fraction/src/Fasta.h @ 0:f95150c37d38 draft default tip
planemo upload for repository https://github.com/ChrisD11/Tools commit ddc95e5d6b5f2c0a5340c0bc384aa822db8856d5
| author | chrisd |
|---|---|
| date | Sun, 21 Feb 2016 23:31:55 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:f95150c37d38 |
|---|---|
| 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 */ |
