Skip to content
/ di2hap Public

A tool for converting diploid geontypes to haploid.

License

Notifications You must be signed in to change notification settings

statgen/di2hap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

di2hap

A tool for converting diploid genotypes to haploid.

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

# --haploid-code is the string used in the --sex-map file to denote male samples.
di2hap input.bcf --sex-map sample_sex_map.tsv --haploid-code 1 -O bcf -o output.bcf

About

A tool for converting diploid geontypes to haploid.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published