Quetzal-CoaTL
The Coalescence Template Library
Loading...
Searching...
No Matches
marker_traits.hpp
1// Copyright 2021 Arnaud Becheler <abechele@umich.edu> Florence Jornod <florence@jornod.com>
2
3/*********************************************************************** * This program is free software; you can
4 *redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free
5 *Software Foundation; either version 2 of the License, or * (at your option) any later version. *
6 * *
7 ************************************************************************/
8
9#ifndef __GENET_H_INCLUDED__
10#define __GENET_H_INCLUDED__
11
12/**************************************************************************
13 Descriptor for marker types used in genetic sample data :
14 - In microsatellite data, allelic states are unsigned integers
15 - In Single Nuclear Polymorphism data, allelic states are A, T, G, C
16***************************************************************************/
17
18namespace quetzal::format
19{
20namespace genetics
21{
22
23template <typename T> struct Marker_Descriptor
24{
25 typedef T value_type;
26};
27
28Marker_Descriptor<unsigned int> microsat_instance;
30
31using undefined = int;
34
35} // namespace genetics
36} // namespace quetzal::format
37
38#endif
Parsers and generators for input/output.
Definition io.hpp:23
Definition marker_traits.hpp:24