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 39 40 41
|
/*
* codonMSA.hh
*
* License: Artistic License, see file LICENSE.TXT or
* https://opensource.org/licenses/artistic-license-1.0
*/
#ifndef _CODONMSA
#define _CODONMSA
#include <fstream>
#include "properties.hh"
#include "phylotree.hh"
#include "contTimeMC.hh"
#include "codonevo.hh"
/**
* @brief datastructure for the codon alignment
*
* @author Lizzy Gerischer
*/
class CodonMSA{
public:
CodonMSA(string filename, double branchlength);
~CodonMSA(){
delete ctree;
}
void readAlignment(string filename);
void printOmegaStats();
vector<string> aliRows;
vector<string> speciesNames;
size_t aliLen;
int refSpeciesIdx;
CodonEvo codonevo;
PhyloTree* ctree;
};
#endif
|