Code Monkey home page Code Monkey logo

dadi's Introduction

dadi is a powerful method for fitting demographic models to genetic data.

Binary installers are available for OS X and Windows. If you use a binary installer, we still suggest downloading the source, so as to get the documentation, examples and tests.

To install from soruce, simply run `python setup.py install`.

After that, run a (growing) series of tests on the installation. Change to the `tests` directory and run `python run_tests.py`

Usage examples are found under the `examples` directory.

Additional documenation is under the doc directory. To view the API documentation, open doc/api/index.html in a web browser.

To stay updated on dadi's development, go to dadi.googlecode.com and sign up for the (low-traffic) dadi-announce mailing list.

Please post questions to the dadi-users mailing list, so we can build up an archive of useful tips.

dadi's People

Contributors

ryangutenkunst avatar

Watchers

James Cloos avatar

dadi's Issues

Add and document raw data format

In the examples/fs_from_data directory, I include an example of loading a 
spectrum from a raw 
SNP data file. I should standardize this file format, and include the relevant 
code in the main line of 
dadi.

Original issue reported on code.google.com by [email protected] on 25 Sep 2009 at 1:18

More robust handling of folded spectra desirable

Working with a folded Spectrum is at present a little tricky. In particular, 
refolding a folded 
Spectrum wipes out almost all entries, and this can be done implicitly in the 
optimizer.

I think the proper solution is to have Spectrum objects record whether or not 
they are folded.

1. Add an isfolded member variable to Spectrum objects. (Use Python property 
functionality?)
2. Record isfolded status in the saved files.
3. Make optimizer handle folding automatically, folding the model result if the 
data is folded, for 
example.
4. It doesn't make sense to project a folded Spectrum, because during 
projection it is possible for 
minor allele status to switch. To deal with this, we need an unfold() method 
that will assume each 
allele is minor with 50% probability. Then we can raise an exception when 
projecting a folded 
Spectrum.

Original issue reported on code.google.com by [email protected] on 18 Sep 2009 at 1:33

Incorporate selfing

In plant populations, self-fertilization can be the dominant reproductive 
process. Does selfing 
change results from a diffusion-based analysis?

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 4:18

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.