- google test
- fastpfor
- zlib
- cmake
- C++ Standard Library
git clone git@github.com:kristen-schneider/gwas-cpp.git
cd gwas-cpp
git submodule init
git submodule update
With mamba
mamba env create -f stabix_mamba.yml
mkdir build
cd build
cmake ..
make
cd build/
cmake --build . --target gwas_compress
cd ..
./build/bin/gwas_compress config_files/test_config.yml
cd build/
cmake --build . --target gwas_index
cd ..
./build/gwas_index config_files/test_config.yml
cd build/
cmake --build . --target gwas_decompress
cd ..
./bin/gwas_decompress config_files/test_config.yml
See STABIX analysis repository for more analysis and runnign scripts.
mkdir build
cd build
cmake ..
make stabixpy # python bindings
This does two things:
- Generates
python_package/src/stabix/stabixcore.so
Import the .so withimport stabixpy
. - Packages for python distribution,
python_package/dist
.
Note that this triggers compilation for a specific version of python that must be specified in the CMakeLists.txt file. Both version & python executable path must be specified.
Defaults in the CMakeLists.txt file,
SET(PYBIND11_PYTHON_VERSION 3.11.7)
set(PYTHON_EXECUTABLE "/opt/homebrew/bin/python3")