Analysis accompanying "HINGE: Long-Read Assembly Achieves Optimal Repeat Resolution"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Analysis accompanying "HINGE: Long-Read Assembly Achieves Optimal Repeat Resolution"

This repository provides an analysis pipeline that reproduces the main results in the paper step-by-step.


The following software needs to be installed (and can be installed using apt-get).


Most of these can be installed with apt-get. Cmake 3.2 can be installed from this ppa on ubuntu: ppa:george-edison55/cmake-3.x on ubuntu, and gcc/g++-4.9 from ppa:ubuntu-toolchain-r/test.

Instructions to install

git clone
cd HINGE-analyses
git submodule foreach --recursive git submodule update --init
git submodule update --init --recursive
# Optionally you can create a python virtual environment and then install the requirements
pip install -r requirements.txt 

The python packages installed by the last line are the following.

One may need to install matplotlib by installing the python-matplotlib package. On ubuntu the command to do this would be sudo apt-get build-dep python-matplotlib

All of these packages can be alternatively installed with sudo pip install <package>. While installing forceatlas2, one should make sure that the code is cython compiled to get a 10x improvement in speed. One explicit way to ensure that is by directly downloading the source from pypi and compiling the

We also need both ascp and Aspera connect to speed up the downloads.

Analysis notebook

The results of Figure 2 in the paper can be reproduced using this notebook.

Here is a tutorial on one way to set up an ipython/jupyter notebook it on a remote server.