Coder Social home page Coder Social logo

cdpop's Introduction

CDPOP

====== README


CDPOP 1.2 release

Welcome to the CDPOP v1.2 release! CDPOP is a program to simulate mutation, gene flow, genetic drift, and selection in complex landscapes for a wide range of biological and evolutionary scenarios. This release includes installation instructions, version notes, some examples, and technical documentation.

Program Contributors: Erin Landguth, Brian Hand, Joe Glassy, Mike Jacobi, Tyler Julian, Allen Warren

Link: http://cel.dbs.umt.edu/software/CDPOP/

Version: 1.2.32

Python: 2.7.2

Release Date: 2014.02.05

README Update: 2016.01.03 (ell)


Contents

Included in this release are the following:

src -> CDPOP source files

doc -> README.txt, user manual, and history

data -> test example files


Requirements and Pre-requisite Software

  1. Baseline Requirements. CDPOP requires the Python2.7.x interpreter, NumPy package, and SciPy package. Remember that Python modules usually require particular Python interpreters, so be sure the version ID for any external Python module or package (e.g. NumPy or others) matches the version of your Python interpreter (normally v2.7.x).

CDPOP Installation

  1. Linux or Windows: Unpack the CDPOP Archive. Navigate to the directory on your PC where you wish to install CDPOP, and unpack the supplied zip archive file using a free archive tool like 7Zip (7z.exe), Pkunzip, Unzip, or an equivalent. Seven-Zip (7Z.exe) is highly recommended since it can handle all common formats on Windows, MAC OS X and Linux. On Windows, it is best to setup a project specific modeling subdirectory to perform your modeling outside of any folder that has spaces in its name (like "My Documents").

  2. Windows (optional): Install CDPOP with cdpop_setup.exe. Double click on the executable file and follow instructions. This is a separate download on web and only available for certain versions.


Example CDPOP Run

The example run is for 16-points representing individuals with a Euclidean distance cost distance matrix. To run the following example, follow these steps:

  1. Double check that the 3 directories provided in the archive are in the same directory.

  2. The included file inputvaribles16pnts.csv in the data directory specifies the parameters that can be changed and used in a sample CDPOP run. Open inputvaribles16pnts.csv in your editor of choice. A spreadsheet program like Microsoft Excel, allows for easy editing of the tabular values.

  3. There will be 3 lines of information in inputvariables.csv: a header line and 2 lines of information corresponding to 2 separate CDPOP runs (batch process). See the user_manual.pdf that contains a breakdown for each column header and the parameters that can be changed. The Input listed is for the first row in the file. Make sure you save inputvariables in the same format – a comma delimited file. Select ‘Yes’ or ‘OK’ for any Excel questions about saving in this format.

  4. Start the program: For example, if you use python from the command line, then open a terminal window and change your shell directory to the CDPOP src home directory (i.e., > cd C:"homedirectorylocation"\src).

  5. Run the program: There are a number of ways to run this program. If you are using a command shell you can run the program by typing “python CDPOP.py C:/"homedirectorylocation"/data inputvariables16pts.csv output_test”. Note that there are 5 arguments here: "python" starts python, "CDPOP.py" runs CDPOP program, "C:/"homedirectorylocation"/data" is the directory location of the input test files, "inputvariables16pts.csv" is the parameter file, and "output_test" is the name of the directory that will be created with output in the directory specified by the second third argument.

  6. Check for successful model run completion: The program will provide step-by-step output in the Shell window. Once completed, a simulation time will be printed out and folders batchrun0mcrun0, batchrun0mcrun1, batchrun0mcrun2, batchrun0mcrun3, batchrun0mcrun4, and batchrun1mcrun0 will be created in your CDPOP home directory to store output from the separate batch and/or Monte-Carlo runs. These folders are located in the data folder specified in (6). The output folder will have a unique date/time stamp after the name in case you want to run multiple CDPOP runs in this same directory. The program will also provide a log file with program steps in your CDPOP home directory.


Bugs, Feature Request, Troubleshooting, and FAQs

Have a bug, feature request, trouble running CDPOP, or other FAQs? First please read the user manual to see if your issue can be addressed there. FAQ questions include:

  1. You can't get the example CDPOP to run?
  2. Is your population crashing?
  3. You can't produce a signal with your simulated data?

Happy Simulations!

Erin.

Contact Information Erin Landguth Computational Ecology Laboratory The University of Montana 32 Campus Drive Missoula MT, 59812-1002 [email protected]

cdpop's People

Contributors

computationalecologylab avatar

Watchers

James Cloos 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.