sampleSNPs  0.9
Fast ordered sampling of records from files
Functions
sampleSNPs.cpp File Reference

Sample SNPs. More...

#include <iostream>
#include <string>
#include <vector>
#include <unordered_map>
#include <cmath>
#include "varfiles.hpp"
Include dependency graph for sampleSNPs.cpp:

Functions

void parseCL (int &argc, char **argv, unordered_map< char, string > &cli)
 Command line parser. More...
 
int main (int argc, char *argv[])
 

Detailed Description

Sample SNPs.

Author
Anthony J. Greenberg
Version
0.5

Using the varfiles library to sampple SNPs from a variety of file formats.

Function Documentation

◆ parseCL()

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.

Parameters
[in]argcsize of the argv array
[in]argvcommand line input array
[out]climap of tags to values