All Projects → statgenlmu → coala

statgenlmu / coala

Licence: other
A Framework for Coalescent Simulation in R

Programming Languages

r
7636 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to coala

Ecosim
An interactive ecosystem and evolution simulator written in C and OpenGL, for GNU/Linux.
Stars: ✭ 382 (+1719.05%)
Mutual labels:  evolution
Evvo
Solve multi-objective optimization problems with distributed evolutionary algorithms
Stars: ✭ 61 (+190.48%)
Mutual labels:  evolution
Aim42
public repository for the "architecture improvement method reference"
Stars: ✭ 161 (+666.67%)
Mutual labels:  evolution
Invaderz
Space invaders, but the invaders evolve with genetic algorithm
Stars: ✭ 686 (+3166.67%)
Mutual labels:  evolution
Plant
Trait-Driven Models of Ecology and Evolution 🌲
Stars: ✭ 39 (+85.71%)
Mutual labels:  evolution
Beast Mcmc
Bayesian Evolutionary Analysis Sampling Trees
Stars: ✭ 116 (+452.38%)
Mutual labels:  evolution
Sharpneat
SharpNEAT - Evolution of Neural Networks. A C# .NET Framework.
Stars: ✭ 273 (+1200%)
Mutual labels:  evolution
Creatures
Evolution simulator
Stars: ✭ 198 (+842.86%)
Mutual labels:  evolution
Quota Alignment
Guided synteny alignment between duplicated genomes (within specified quota constraint)
Stars: ✭ 47 (+123.81%)
Mutual labels:  evolution
Beast2
Bayesian Evolutionary Analysis by Sampling Trees
Stars: ✭ 156 (+642.86%)
Mutual labels:  evolution
Cafe fig
A tool to extract and visualize the results of CAFE (Computational Analysis of gene Family Evolution)
Stars: ✭ 22 (+4.76%)
Mutual labels:  evolution
Cellsim 2
Simulating complete lives of different cellular animals and plants. Evolution, inheritance, predation and more.
Stars: ✭ 28 (+33.33%)
Mutual labels:  evolution
Backend
Backend is responsible to provide data to EVOlution App - iOS
Stars: ✭ 123 (+485.71%)
Mutual labels:  evolution
Unix History Repo
Continuous Unix commit history from 1970 until today
Stars: ✭ 4,851 (+23000%)
Mutual labels:  evolution
Awesome Biology
Curated (meta)list of resources for Biology.
Stars: ✭ 174 (+728.57%)
Mutual labels:  evolution
Sproutlife
Evolving version of Conway’s Game of Life.
Stars: ✭ 298 (+1319.05%)
Mutual labels:  evolution
Darwin
Evolutionary Algorithms Framework
Stars: ✭ 72 (+242.86%)
Mutual labels:  evolution
dnapacman
waka waka
Stars: ✭ 15 (-28.57%)
Mutual labels:  dna
Congress
Helping humanity evolve
Stars: ✭ 191 (+809.52%)
Mutual labels:  evolution
Bot Evolution
An interesting display of evolution through neural networks and a genetic algorithm
Stars: ✭ 135 (+542.86%)
Mutual labels:  evolution

coala

Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows. Linux Build Status Windows Build status Coverage Status CRAN Status

Coala is an R package for simulating biological sequences according to a given model of evolution. It can call a number of efficient simulators based on coalescent theory. All simulators can be combined with the program seq-gen to simulate finite site mutation models. Coala also directly imports the simulation results into R, and can calculate various summary statistics from the results.

Installation

The package can be installed from CRAN using

install.packages("coala")

If you want to use the simulation programs ms, msms or seqgen, they need to be installed separately. This is described in the "Using External Simulators" vignette and in the wiki.

Usage & Help

Coala comes with a vignette that explains the packages concepts and is a good place to start. It also has a vignette containing a few example applications.

Detailed information about coala's functions is provided via R's help system. Call help(_function_) in R to view them. They usually also contain examples and further links.

The ABC vignette gives an example on how coala can be used to conduct the simulations for Approximate Bayesian Computation.

Also take a look at the project wiki for additional resources.

Example

In the following example, we create a simple panmictic model, simulate it and calculate the site frequency spectrum (SFS) of the simulation results:

model <- coal_model(sample_size = 10, loci_number = 2) +
  feat_mutation(5) +
  sumstat_sfs()
result <- simulate(model)
result$sfs
# [1] 15 12  1  4  0  1  0  2  0

More examples can be found in the examples vignette.

Problems

If you encounter problems when using coala, please file a bug report or mail to coala-pkg (at) googlegroups.com.

Supported Simulators

The package supports the coalescent simulators ms, scrm and msms. All simulators can be combined with seq-gen to simulate finite sites mutation models. The programs msms and seq-gen must be installed manually. The R version of scrm should be installed automatically, and the R version ms if the package phyclust is installed.

Development

To follow or participate in the development of coala, please install the development version from GitHub using

devtools::install_github('statgenlmu/coala')

on Linux and OS X. This requires that you have devtools and a compiler or Xcode installed. Bug reports and pull request on GitHub are highly appreciated. The extending coala vignette contains information on how to create new summary statistics and add simulators to coala. The wiki also contains a few resources for developers.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].