forked from dwinter/accuMUlate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel.h
28 lines (16 loc) · 1002 Bytes
/
model.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
#ifndef model_H
#define model_H
#include "src/mutations/sequencing_factory.h"
#include "data_struct.h"
using namespace std;
TransitionMatrix F81(const ModelParams ¶ms);
MutationMatrix MutationAccumulation(const ModelParams ¶ms, bool and_mut);
GenotypeProbs PopulationProbs(SequencingFactory &sf, int ref_allele, int ploidy_ancestor);
GenotypeProbs Sequencing(SequencingFactory &sf, ReadData data, int ploidy);
double TetMAProbability(const ModelParams ¶ms, SequencingFactory &sf, const ModelInput &site_data,
const MutationMatrix &m, const MutationMatrix &mn);
double TetMAProbOneMutation(const ModelParams ¶ms, SequencingFactory &sf, const ModelInput &site_data,
const MutationMatrix &m, const MutationMatrix &mn);
MutationDescription DescribeMutant(const ModelParams ¶ms, SequencingFactory &sf, const ModelInput site_data,
const MutationMatrix m, const MutationMatrix mn);
#endif