<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>生信菜鸟团 &#187; bcftools</title>
	<atom:link href="http://www.bio-info-trainee.com/tag/bcftools/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bio-info-trainee.com</link>
	<description>欢迎去论坛biotrainee.com留言参与讨论，或者关注同名微信公众号biotrainee</description>
	<lastBuildDate>Sat, 28 Jun 2025 14:30:13 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.33</generator>
	<item>
		<title>仅仅对感兴趣的基因call variation</title>
		<link>http://www.bio-info-trainee.com/2013.html</link>
		<comments>http://www.bio-info-trainee.com/2013.html#comments</comments>
		<pubDate>Mon, 14 Nov 2016 07:20:18 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[基础软件]]></category>
		<category><![CDATA[bcftools]]></category>
		<category><![CDATA[samtools]]></category>
		<category><![CDATA[snp]]></category>
		<category><![CDATA[variation]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=2013</guid>
		<description><![CDATA[有这个需求，是因为我们经常对某些细胞系进行有针对性的设计变异，比如BAF155的 &#8230; <a href="http://www.bio-info-trainee.com/2013.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>有这个需求，是因为我们经常对某些细胞系进行有针对性的设计变异，比如BAF155的R1064K呀，H3F3A的K27呀，那我我们拿到高通量测序数据的时候，就肯定希望可以快速的看看这个基因是否被突变成功了。现在比对几乎不耗费什么时间了，但是得到的sam要sort的时候还是蛮耗费时间的。假设，我们已经得到了所有样本的sort好的bam文件，想看看自己设计的基因突变是否成功了，可以有针对性的只call 某个基因的突变！</p>
<p><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/11/11.png"><img class="alignnone size-full wp-image-2014" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/11/11.png" alt="1" width="328" height="129" /></a></p>
<p><span id="more-2013"></span></p>
<p>代码很简单：</p>
<blockquote><p>grep H3F3A ~/reference/gtf/gencode/protein_coding.hg19.position<br />
samtools mpileup -r chr1:226249552-226259702  -ugf ~/reference/genome/hg19/hg19.fa *sorted.bam | bcftools call -vmO z -o H3F3A.vcf.gz<br />
gunzip H3F3A.vcf.gz<br />
~/biosoft/ANNOVAR/annovar/convert2annovar.pl -format vcf4old H3F3A.vcf &gt;H3F3A.annovar<br />
~/biosoft/ANNOVAR/annovar/annotate_variation.pl -buildver hg19 --geneanno --outfile H3F3A.anno H3F3A.annovar ~/biosoft/ANNOVAR/annovar/humandb/<br />
~/biosoft/ANNOVAR/annovar/annotate_variation.pl -buildver hg19 --dbtype knownGene --geneanno --outfile H3F3A.anno H3F3A.annovar ~/biosoft/ANNOVAR/annovar/humandb/</p></blockquote>
<p>需要自己制作好基因的起始终止坐标文件，这样就可以找到自己的基因的位置，比如我的H3F3A是chr1:226249552-226259702，用bcftoolls简单的call variation即可，得到的vcf文件用annovar注释一下，看看是否在自己设计的蛋白质的某个位点的氨基酸！</p>
<p>PS:需要自己安装annovar，可以看我以前的博客！</p>
<p>是不是很简单呀~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/2013.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
