Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

noscode/autodadi

Repository files navigation

Autodadi

This is first working prototype of future autodadi.

This application implements several basic features. Now it includes testing genetic algorithm on inferring demographic history of two populations Eu and As from the article.

During run it prints current progress in console, moreover shows pictures in a window (I hope so).

Requirements

python 2.X

Python modules:

dadi
pillow
Tkinter
matplotlib

Run

To run tool for YRI, CEU populations, print:

python main.py 

or

python main.py usual

for version with 20 samples in genetic algorithm (in default (fast) version it is 10).

For cheetah (10 samples in genetic algorithm):

python main.py cheetah

Don't panic, first iteration is longer than others, because it creates a lot of models (like Monte Carlo approach).

You can find pictures in [people/cheetah]_result_pictures_[fast, usual]/ directories

Warnings

Some warnings may occur:

0.0227517207086 10728.7667646
WARNING:Inference:Model is masked in some entries where data is not.
WARNING:Inference:Number of affected entries is 1. Sum of data in those entries is 0.0227517:

and:

can't invoke "event" command:  application has been destroyed
    while executing
"event generate $w <<ThemeChanged>>"
    (procedure "ttk::ThemeChanged" line 6)
    invoked from within
"ttk::ThemeChanged"

It's okay, I know about this :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published