GLnexus
Scalable datastore for population genome sequencing, with on-demand joint genotyping
 All Classes Functions Variables
diploid.h
1 #ifndef GLNEXUS_DIPLOID_H
2 #define GLNEXUS_DIPLOID_H
3 
4 #include <utility>
5 
6 namespace diploid {
7 
8 int genotypes(int n_allele);
9 
10 std::pair<int,int> gt_alleles(int n_allele, int gt);
11 int alleles_gt(int n_allele, int a1, int a2);
12 
13 namespace trio {
14 int mendelian_inconsistencies(int n_allele, int gt_p1, int gt_p2, int gt_ch);
15 }
16 
17 }
18 
19 #endif