lybird300 / cosi

Population genetics simulator supporting selection, exact/approximate simulation, variable genetic maps, gene conversion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cosi2: Efficient simulator of exact and approximate coalescent with selection

cosi2 is an efficient coalescent simulator with support for selection, population structure, variable recombination rates, and gene conversion. It supports exact and approximate simulation modes.

Two working examples are included in the examples/ subdirectory, and documentation is in the documentation/ directory.

Conditional defines that affect cosi compilation:

Defines that affect behavior:

COSI_RECOMB_CONSTRATE - if defined, optimizes cosi to support only constant recombination rate. By default, cosi supports variation of recombination rate across the region.

COSI_GC_DISABLE - if defined, disables support for gene conversion.

Defines that affect only CPU and memory requirements, but not the output:

COSI_IMPL_STORE_GLOC_IN_LOC - if defined, genetic map locations are stored with each physical location. This allows constant-time mapping between the two, at the cost of extra memory usage; is useful when the region is large and the recombination rate changes at many points in the region.

COSI_SLOWRECOMB - use the slower method of choosing recomb rates

About

Population genetics simulator supporting selection, exact/approximate simulation, variable genetic maps, gene conversion.

License:GNU General Public License v3.0


Languages

Language:C++ 86.5%Language:HTML 7.2%Language:Perl 2.6%Language:Shell 2.6%Language:C 0.5%Language:CSS 0.3%Language:JavaScript 0.2%Language:Python 0.0%Language:Groff 0.0%Language:XSLT 0.0%Language:Makefile 0.0%