libsequence  1.9.5

Data from coalescent simulations. More...

#include <Sequence/SimData.hpp>

Detailed Description

Data from coalescent simulations.

A class for reading in data from ms. ms is Dick Hudson's coalescent simulation program, available from http://home.uchicago.edu/~rhudson1/. This class reads in the data one record at a time. As of the time this document was written, the output of Hudon's program for one run looks like:


segsites: 10
positions: 0.2512 0.3212 0.3449 0.4386 0.4571 0.4842 0.5745 0.6333 0.7042 0.9928
0100010010
0000000100
0100010011
0000000000
0100010010
0101010010
0100010011
0110010010
1100111010
0000000000

Look at the example program tajd.cc for an example of how to pipe simulated data into a C++ program using these libraries.

Note
Be sure that you notice that the positions of the segregating sites fall in the interval (0,1].
Author
Kevin Thornton
Examples:
msstats.cc.

The documentation for this class was generated from the following file: