njau-sri / hpc

MIT License
1 stars 3 forks source link

VCFtools #2

Open hjbreg opened 5 years ago

hjbreg commented 5 years ago

https://vcftools.github.io/

hjbreg commented 5 years ago

Install

git clone --depth 1 https://github.com/vcftools/vcftools.git
cd vcftools/src/cpp/
ver=$(cat ../../.tarball-version)
g++ *.cpp bgzf.c -o vcftools-$ver -DPACKAGE_VERSION=\"$ver\" -s -O2 -lz
hjbreg commented 5 years ago

SNP density

vcftools-0.1.17 --vcf gt.vcf --SNPdensity 1000000