plink: 等位型计数(allele count)

对genotype的等位型进行计数,需要用到以下参数:

--freq Allele frequencies
--counts Modifies --freq to report actual allele counts

具体用法如下命令:

/plink-1.07-x86_64/plink --freq --counts --noweb --bfile file  --make-bed --out file

 

.frq.count (basic allele count report)

Produced by '--freq counts'. Valid input for --read-freq.

A text file with a header line, and then one line per variant with the following seven fields:

CHR

Chromosome code

SNP

Variant identifier

A1

Allele 1 (usually minor)

A2

Allele 2 (usually major)

C1

Allele 1 count

C2

Allele 2 count

G0

Missing genotype count (so C1 + C2 + 2 * G0 is constant on autosomal variants)

 

注意:这里用到的是plink的1.07版本,如果是1.9或者2.0版本,则命令可能会有些许的改动,具体参考官网。

参考:http://zzz.bwh.harvard.edu/plink/reference.shtml

转载于:https://www.cnblogs.com/chenwenyan/p/9069512.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值