Legofit
infers population history from nucleotide site patterns.
Functions | Variables
rafdaf.c File Reference
#include "binary.h"
#include "rafreader.h"
#include "misc.h"
#include "strint.h"
#include "error.h"
#include "typedefs.h"
#include <ctype.h>
#include <errno.h>
#include <getopt.h>
#include <gsl/gsl_rng.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

Functions

static void usage (void)
 Print usage message and die.
 
int main (int argc, char **argv)
 

Variables

const char * useMsg
 

Variable Documentation

◆ useMsg

const char* useMsg
Initial value:
=
"\nUsage: rafdaf [options] <x>=<in_1> <y>=<in_2> ... outgroup=<in_K>\n"
" where <x> and <y> are arbitrary labels, and <in_i> are input\n"
" files in raf format. Labels may not include the character \":\".\n"
" Final label must be \"outgroup\". Writes derived allele frequencies\n"
" to standard output. Minimum number of input files: 2 plus outgroup.\n"
"\n"
" If input file name ends with .gz, input is decompressed using\n"
" gunzip.\n"