Mercurial > repos > chrisd > testing
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gene_fraction/src/Fasta.h Sun Feb 21 23:31:55 2016 -0500 @@ -0,0 +1,28 @@ +#ifndef FASTA_H +#define FASTA_H + +#include <string> +#include <vector> +#include "FastaRecord.h" + +/** + * Class for dealing with fasta files + */ +class Fasta { +public: + /** + * Constructor that sets amr file path + */ + Fasta(std::string amr_fp); + + /** + * Reads fasta file from file path + */ + void read_fasta(const std::string &amr_fp); + + std::vector<FastaRecord> records; +private: + std::string _amr_fp; +}; + +#endif /* FASTA_H */