美文网首页
按位点提取vcf文件并获取注释的基因

按位点提取vcf文件并获取注释的基因

作者: 宗肃書 | 来源:发表于2021-12-05 13:18 被阅读0次

这算是笔记。。。。

  • 前提是总vcf文件已经用snpeff注释过了
vcftools --gzvcf ../chicken.477.chr1Z.indel.zk.tc.zk.zs.vcf.gz --positions specific_position.txt --recode --recode-INFO-all --out sig.indel.vcf

vcftools --gzvcf ../chicken.477.chr1Z.indel.zk.tc.zk.zs.vcf.gz --positions specific_position.txt --recode --recode-INFO-all --stdout |grep -v "#" |cut -f8 |tr "|" "\t" |cut -f5|tr "-" "\n"|sort|uniq >ensebmlID

相关文章

网友评论

      本文标题:按位点提取vcf文件并获取注释的基因

      本文链接:https://www.haomeiwen.com/subject/rhbixrtx.html