Skip to content

Tool for randomly applying artificial recombination

License

Notifications You must be signed in to change notification settings

statgen/rand-recom

Repository files navigation

rand-recom

A tool for randomly applying artificial recombination.

Build and Install

cmake -P cmake/get-dependencies.cmake cget
mkdir build; cd build
cmake -DCMAKE_PREFIX_PATH="$(pwd)/../cget" -DCMAKE_CXX_FLAGS="-I../cget/include" -DCMAKE_BUILD_TYPE=Release ..
make
make install

Usage

TARGET_SEGMENT_LENGTH=25000000
RANDOM_SEED=12345

# Recombination will occur once every $TARGET_SEGMENT_LENGTH on average
rand-recom input.bcf --seed $RANDOM_SEED --target-length $TARGET_SEGMENT_LENGTH -O bcf -o output.bcf

About

Tool for randomly applying artificial recombination

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published