2023年12月7日发(作者:)

【生信】使用bcftools查看vcf文件所含位点数量信息

shell命令:

bcftools +counts $filename

其中

counts

是bcftools的一个插件(plugin)

后面接上的

$filename

即为需要查看的vcf文件

示例:

这里使用千牛基因组Run9数据做例子

shell命令和运行结果:

> bcftools +counts

Number of samples: 6191

Number of SNPs: 5739

Number of INDELs: 930

Number of MNPs: 0

Number of others: 0

Number of sites: 6242