-
Notifications
You must be signed in to change notification settings - Fork 0
/
Phylip.h
38 lines (33 loc) · 990 Bytes
/
Phylip.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef PHYLIP_H
#define PHYLIP_H
#include <vector>
#include <string>
#include "Genes.h"
/// The genes of the set of species under analysis.
///
/// @author Mario Valle - Swiss National Supercomputing Centre (CSCS)
/// @date 2012-02-15 (initial version)
/// @version 1.1
///
///
class Phylip : public Genes {
public:
/// Constructor
///
/// @param[in] aVerboseLevel The verbosity level
///
explicit Phylip(unsigned int aVerboseLevel = 0) : Genes(aVerboseLevel) {}
private:
/// Load the gene file in Phylip format.
///
/// @param[in] aFilename The filename containing the genes under analysis
/// @param[out] aSpecies The list of species read
/// @param[out] aSequences Array of genes, one per specie
///
/// @exception FastCodeMLFatal On various error conditions
///
virtual void loadData(const char *aFilename,
std::vector<std::string> &aSpecies,
std::vector<std::string> &aSequences);
};
#endif