|
Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
|
Sample-based linkage disequilibrium. More...
#include <iostream>#include <string>#include <vector>#include <unordered_map>#include <cmath>#include "varfiles.hpp"Functions | |
| void | parseCL (int &argc, char **argv, unordered_map< char, string > &cli) |
| Command line parser. More... | |
| int | main (int argc, char *argv[]) |
Sample-based linkage disequilibrium.
Using the varfiles library to sample SNPs calculate pairwise LD.
| void parseCL | ( | int & | argc, |
| char ** | argv, | ||
| unordered_map< char, string > & | cli | ||
| ) |
Command line parser.
Maps flags to values. Flags assumed to be of the form -x.
| [in] | argc | size of the argv array |
| [in] | argv | command line input array |
| [out] | cli | map of tags to values |