A library for working with phylogenetic and population genetic data.
v0.32.0
MapBimReader::Feature Struct Reference

#include <genesis/population/format/map_bim_reader.hpp>

Detailed Description

Store all values that can typically appear in the columns of a map/bim file.

The order of fields in the struct is the same as the order of columns. If the file does not have all the columns, the remaining values here are simply left empty or at 0.

Note that here, according to the file format, we call the value position that denotes the position in (centi)morgans, whereas the value that we typically call "position" in the rest of our code base (genome coordinate) is here called coordinate, to comply with the format.

Definition at line 109 of file map_bim_reader.hpp.

Public Attributes

char allele_1
 
char allele_2
 
std::string chromosome
 
int64_t coordinate
 
double position
 
std::string variant_id
 

Member Data Documentation

◆ allele_1

char allele_1

Definition at line 115 of file map_bim_reader.hpp.

◆ allele_2

char allele_2

Definition at line 116 of file map_bim_reader.hpp.

◆ chromosome

std::string chromosome

Definition at line 111 of file map_bim_reader.hpp.

◆ coordinate

int64_t coordinate

Definition at line 114 of file map_bim_reader.hpp.

◆ position

double position

Definition at line 113 of file map_bim_reader.hpp.

◆ variant_id

std::string variant_id

Definition at line 112 of file map_bim_reader.hpp.


The documentation for this struct was generated from the following file: