看起来用vcftools中的vcf-merge 1.vcf 2.vcf >out.vcf 很简单,但是在使用过程中遇到很多问题:
1.安装vcftools时,https://vcftools.github.io/index.html。里面有多种方法下载,首先常规方法是https://sourceforge.net/projects/vcftools/files/ ,安装后,执行不出来结果,报错。再尝试github ,git clone https://github.com/vcftools/vcftools.git下载
按照https://sourceforge.net/projects/vcftools/files/安装,软件安装后还是执行有问题
git clone https://github.com/vcftools/vcftools.git
cd vcftools
./autogen.sh
./configure
make
make install #或者加sudo
以上问题均是提示:
Can't locate Vcf.pm in @INC (you may need to install the Vcf module)