Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python-based Monte Carlo simulator for DNA/RNA duplexes.
C Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
examples
helixmc
integration_tests
.gitignore
.travis.yml
COPYING
MANIFEST.in
README.rst
helixmc-run
setup.py

README.rst

https://travis-ci.org/fcchou/HelixMC.png?branch=master

README

HelixMC

HelixMC is a software package for Monte-Carlo (MC) simulations of DNA/RNA helices using the base-pair level model, coded with Python. HelixMC is distributed under the GPLv3 licence.

The project is authored by Fang-Chieh Chou in 2013, under the supervison of Dr. Rhiju Das, at the Biochemistry Department of Stanford Unviersity.

Links

Dependencies

The required dependencies to build the software are Python >= 2.7, Numpy >= 1.6, Matplotlib >= 1.1.0, and a working C/C++ compiler.

Install

The easiest way to install is to use pip install:

$ pip install helixmc

Alternatively, one can download the source code from the latest GitHub repository. And install using setup.py:

$ python setup.py build
$ sudo python setup.py install

Instead of installing using setup.py, you can just add your HelixMC folder into the system's $PATH and $PYTHONPATH. In bash this can be done by adding the following lines to your ~/.bashrc:

export PATH=$PATH:<HelixMC Path>
export PYTHONPATH=$PYTHONPATH:<HelixMC Path>

Then build the Cython extension. Under the helixmc/ folder, run:

$ python _cython_build.py build_ext --inplace

Note that this requires you to have Cython installed. Otherwise you can choose to build the c source file, then you do not need Cython:

$ python _c_build.py build_ext --inplace
Something went wrong with that request. Please try again.