Code Monkey home page Code Monkey logo

popgen's Introduction

PopGen

Population genetics models and simulations, with special attention toward implications for theology

I like to read and occasionally participate in discussions of evolutionary biology at forums for faith and science. On rare occasions, I can even contribute some code to illustrate a point. My code contributions are posted in this repo. Also, Professor Timothy Darr of Oklahoma Baptist asked if he could contribute, which I am delighted to do. It is my sincere prayer that many students will discover that God can use their ability to code and analyze to do great good in the world.

Genealogical Adam/Eve Illustrated by Monogamous Wright-Fisher Model

Joshua Swamidass, Associate Professor of Pathology and Immunology at Washington University St Louis, has recently published a groundbreaking book (The Genealogical Adam and Eve) that helps bridge the divide between traditional interpretations of the book of Genesis and evolutionary biology. The crux of his approach is that normal population genetics, combined with known migrations and historical mixing of human societies, would allow a couple (call them Adam and Eve) that lived roughly 12,000 years ago to be regarded as the genealogical ancestors of everyone alive at the birth of Christianity 10,000 years later.

I wrote a little simulation that shows how, in a well-mixed population of 10,000 individuals, a genealogical Adam and Eve would emerge in about 14 generations. The simulation implements a monogamous Wright-Fisher model. The key to the simulation is the representation of each individual in a generation as the set of his or her ancestors from the initial generation.

Ideas for Future Work

At some point in the future, I would love to implement the simulation in PySpark to support larger, more complex simulations.

popgen's People

Contributors

chrisfalter 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.