- CMake version >= 2.8.12
- Can be installed via homebrew:
brew install cmake
- Can be installed via homebrew:
- zlib (should be installed on OSX >= 10.9)
- HDF5 C libraries
-
First clone the repository:
git clone https://github.com/pachterlab/kallisto.git
-
Move to the source directory:
cd kallisto
-
Make a build directory and move there
mkdir build cd build
-
Execute cmake. There are a few options:
-DCMAKE_INSTALL_PREFIX:PATH=$HOME
which will put kallisto in$HOME/bin
as opposed to the default (/usr/local/bin
)
cmake ..
This is only required when one of the
CMakeLists.txt
files changes or new source files are introduced. It will make a new set ofMakefile
s -
Build the code
make
Optionally install into the cmake install prefix path:
make install
-
Run the code. The source tree hierarchy is copied, so you can find kallisto at
src/kallisto
and tests attest/tests
.
After performing these steps, you can simply build using make as long as new
source files aren't introduced or the CMakeLists.txt
scripts aren't modified.