-
Notifications
You must be signed in to change notification settings - Fork 189
ALLMAPS: How to install
Vivek Krishnakumar edited this page Mar 1, 2018
·
10 revisions
Please use the following if the quick installation method does not work for you.
$ wget http://biopython.org/DIST/biopython-1.63.tar.gz
$ tar -zxvf biopython-1.63.tar.gz
$ cd biopython-1.63
$ python setup.py build
$ python setup.py test
$ python setup.py install --user
$ wget http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/numpy-1.8.1.tar.gz
$ tar -zxvf numpy-1.8.1.tar.gz
$ python setup.py build
$ python setup.py install --user
$ wget https://pypi.python.org/packages/source/d/deap/deap-1.0.1.tar.gz
$ tar -zxvf deap-1.0.1.tar.gz
$ cd deap-1.0.1
$ python setup.py install --user
$ wget https://pypi.python.org/packages/source/n/networkx/networkx-1.8.1.tar.gz
$ tar -zxvf networkx-1.8.1.tar.gz
$ cd networkx-1.8.1/
$ python setup.py build
$ python setup.py install --user
$ wget https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.3.1/matplotlib-1.3.1.tar.gz
$ tar -zxvf matplotlib-1.3.1.tar.gz
$ cd matplotlib-1.3.1
$ python setup.py build
$ python setup.py install --user
$ git clone git://github.com/tanghaibao/jcvi-bin.git
$ cp jcvi-bin/bin/* ~/bin # ~/bin is your own PATH
If you cannot execute the binaries, recompile manually.
# Recompile concorde
$ wget http://hgdownload.cse.ucsc.edu/admin/jksrc.zip
$ unzip jksrc.zip
$ cd kent
$ uname -m # check your MACHTYPE
$ export MACHTYPE=i686 # for example, your MACHTYPE is i686
$ mkdir ~/bin/$MACHTYPE # Kent apps will go to this directory
$ cd src
$ make
$ ls -all ~/bin/$MACHTYPE # check do you have faSize and liftOver
$ export PATH=~/bin/$MACHTYPE:$PATH # make sure that ~/bin/i686 is on your path
$ export PATH=~/bin # make sure that ~/bin is on your path as well
$ mkdir code
$ cd code
$ git clone git://github.com/tanghaibao/jcvi.git
$ export PYTHONPATH=/home/username/code:$PYTHONPATH # make sure the directory is on your PYTHONPATH
$ wget https://www.dropbox.com/s/b497bi2b594m6fp/ALLMAPS-testdata.zip
$ unzip ALLMAPS-testdata.zip
$ cd ALLMAPS-testdata
$ sh run.sh
© Haibao Tang, 2010-2024