RNA-seq count tables, revisited
src/: Contains C++ source code and CMakeLists.txtenv/: Contains Conda environment specificationsworkflow/: Contains Snakefile for build automation
To build and run the example using Snakemake:
cd workflow
snakemake --use-conda --cores 1This will:
- Create a conda environment with cmake and g++
- Compile the C++ code
- Run the executable and save output to
output/hello_output.txt
To build manually without Snakemake:
mkdir -p build
cd build
cmake ../src
cmake --build .
./hellosnakemake.ymlto run the workflow (serially)