1,编译安装
git clone https://github.com/vcftools/vcftools.git
cd vcftools
bash ./autogen.sh
./configure
make
make install
make 报错:
g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT vcftools-bcf_entry.o -MD -MP -MF .deps/vcftools-bcf_entry.Tpo -c -o vcftools-bcf_entry.o `test -f 'bcf_entry.cpp' || echo './'`bcf_entry.cpp
In file included from entry.h:16:0,
from bcf_entry.h:10,
from bcf_entry.cpp:9:
bgzf.h:33:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
还是用conda安装吧:
2. conda安装
conda install -c bioconda vcftools
搞定