Legofit
infers population history from nucleotide site patterns.
|
#include "misc.h"
#include "tokenizer.h"
#include "linereader.h"
#include "uintqueue.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <math.h>
Data Structures | |
struct | MSSample |
Functions | |
void | usage (void) |
Parse output of ms. | |
unsigned * | countSamples (Tokenizer *tkz, int *sampleDim) |
MSSample * | MSSample_new (double age, int pop, int nsamp) |
int | MSSample_compare (MSSample *left, MSSample *right) |
MSSample * | MSSample_insert (MSSample *node, MSSample *new) |
Sort by increasing age. More... | |
MSSample * | MSSample_collapse (MSSample *node) |
Collapse adjacent nodes with the same age and population. | |
int | MSSample_length (MSSample *self) |
void | MSSample_free (MSSample *self) |
void | MSSample_print (MSSample *self, FILE *fp) |
int | main (int argc, char **argv) |