Legofit
infers population history from nucleotide site patterns.
Data Structures | Functions
simreader.c File Reference
#include "simreader.h"
#include "misc.h"
#include "tokenizer.h"
#include "error.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>

Data Structures

struct  SimReader
 

Functions

void SimReader_free (SimReader *self)
 
SimReaderSimReader_new (FILE *fp)
 
int SimReader_next (SimReader *self)
 
unsigned SimReader_chr (const SimReader *self)
 
double SimReader_pos (const SimReader *self)
 
int SimReader_sampleDim (SimReader *self)
 
int SimReader_nsamples (SimReader *self, int i)
 
double SimReader_daf (SimReader *self, int i)
 
const char * SimReader_lbl (SimReader *self, int i)