Skip to content
ngcrawford edited this page Oct 7, 2010 · 10 revisions

Introduction:

This is the github home of the SMOGD source code. From here on out (9/2/09) as I update the web version of SMOGD I’ll also post updated source code. Because SMOGD was written in python and uses the django web framework, it shouldn’t be too difficult to download my code and setup a local install.

Dependencies:

  • python 2.5 or 2.6 [link] (Python 2.5 is installed by default in OS X and most linux distros)
  • numpy and scipy [link]
  • django [link]

Note: I developed SMOGD in OS X so it should be straight forward to get it to run in linux. MS windows, however, would be a complete nuisance. I have no plans to support MS widows.

General Instructions:

  1. download numpy, scipy, django, and SMOGD files (from github)
  2. install numpy, scipy, and django
  3. create new django project [details here]
  4. replace default project files with SMOGD files
  5. run “python manage.py runserver”
  6. you’ll probably get some errors. Most likely you’ll need to adjust urls.py

Moving Forward:

If you’d like to contribute code or clean up my code that would be great. It is easy to collaborate using github.

Wish List: “If I had more time…”

  • p-values for pair-wise population comparisons [3/15/10]
  • better error reporting [3/15/10]
  • more input file formats (e.g. Fstat, frequency data)
  • auto generation of appropriate graphs and charts with matplotlib
  • command-line version