vcftools 安裝

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

搞定

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章