使用bcftools查看vcf文件所含位點數量信息


shell命令:

bcftools +counts $filename

其中counts是bcftools的一個插件(plugin)
后面接上的$filename即為需要查看的vcf文件

示例:
這里使用千牛基因組Run9數據做例子
shell命令和運行結果:

> bcftools +counts ChrMT-Run9-TAUIND-raw-toDistribute.vcf.gz

Number of samples: 6191
Number of SNPs:    5739
Number of INDELs:  930
Number of MNPs:    0
Number of others:  0
Number of sites:   6242

REF

https://samtools.github.io/bcftools/bcftools.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM