GithubHelp home page GithubHelp logo

simepicodon's Introduction

This program simulates an evolving viral population where the epidemiology is described by SIRS dynamics and the molecular evolution is given by codons mutating according to the Kimura two-parameter model. This is described in more detail in here

Install

This program uses the R-standalone library which is included in the R source files Note that it is not installed by default

> cd R-<version>
> ./configure

This step is system-dependent but problems can be inconsistent libaries This can be resolved by explicitly defining the architecture, i.e

> ./configure r_arch=x86_64 CC='gcc -arch x86_64' CXX='g++ -arch x86_64'
      F77='gfortran -arch x86_64' FC='gfortran x86_64'
      OBJC='gcc -arch x86_64' --with-x=no

Once the configuration step is performed, makefiles will be generated in all the sub-directories. For the standalone library, we don't need the top-level files

> cd src/nmath/standalone
> make

If the install occurs properly this should generate 'libRmath.a' The first lines in the Makefile should be modified to match the location of the R library.

Once the library installed properly, simEpiCodon can be compiled by typing 'make' in the directory containing the source code

Usage

To run the simulation type

> ./epiCodon -o <outfile> [options]

simepicodon's People

Contributors

chschan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.