Skip to content

G-rox-y/DAGReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAGReader

Building the project on Linux and macOS

This project uses CMake as its buildsystem with dependencies fetched automatically via FetchContent You just need CMake, git and a C++ compiler that supports c++17 or higher.

Installing Dependencies

Debian based systems (Ubuntu, Mint ...)

sudo apt update && sudo apt install cmake git build-essential libomp-dev

Fedora based systems

sudo dnf install cmake git gcc-c++ libomp-devel

Arch based systems

sudo pacman -Syu cmake git base-devel openmp

macOS

  1. install Xcode Command Line Tools (includes compiler + git)
xcode-select --install
  1. install cmake via homebrew (it will also work if you install it manually)
brew install cmake libomp

Building instructions

  1. clone the repository
git clone "https://github.com/G-rox-y/DAGReader" && cd ./DAGReader
  1. create the build (if you want a debug version, change the -D flag to -DCMAKE_BUILD_TYPE=Debug)
cmake -B ./build -S . -DCMAKE_BUILD_TYPE=Release
  1. build the project
cmake --build build
  1. And you can now run the program thats inside the build folder with
./build/DAGReader

Building the project on windows

The following method uses MSYS2 to build the program, I am aware this is also possible to do with Visual Studio, but this method requires less external tools.

Installing dependencies

First, you will have to install MSYS2 (https://www.msys2.org/).

After that, you should run the newly installed UCRT64 shell.

Warning

If MSYS2 was already installed on your system you should open the MSYS2 shell and run pacman -Syu, then close it and do the same in the UCRT64 shell, this is important to make sure the environment is up to date. If MSYS2 was not on your system you can safely ignore this warning

After starting the shell install dependencies

pacman -S --needed git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja

Building the project

Important

Use only the UCRT64 shell for the build steps below. Don’t mix different shells (UCRT, MINGW, CLANG) within the same build directory.

  1. From inside the MSYS2 UCRT64 shell, navigate to the folder where you want to clone the project, and clone the repo
git clone "https://github.com/G-rox-y/DAGReader" && cd ./DAGReader

Note

If you dont know how to navigate, doing cd /c/ will put you on the root of the C drive, same goes for cd /d/ and the D drive, then you can cd into the correct folder

  1. After that, create the build
cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
  1. And build the project
cmake --build build -j
  1. And finally run the newly created binary
./build/DAGReader.exe

About

De novo Assembly Graph reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published