<?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; CHIP-seq</title>
	<atom:link href="http://www.bio-info-trainee.com/category/omics/chip-seq/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>一个MeDIP-seq实战-超级简单-2小时搞定！</title>
		<link>http://www.bio-info-trainee.com/2352.html</link>
		<comments>http://www.bio-info-trainee.com/2352.html#comments</comments>
		<pubDate>Wed, 15 Feb 2017 06:34:38 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=2352</guid>
		<description><![CDATA[请不要直接拷贝我的代码，需要自己理解，然后打出来，思考我为什么这样写代码。 软件 &#8230; <a href="http://www.bio-info-trainee.com/2352.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div><span style="color: #ff0000;"><strong>请不要直接拷贝我的代码，需要自己理解，然后打出来，思考我为什么这样写代码。</strong></span></div>
<div><span style="color: #ff0000;"><strong>软件请用最新版，尤其是samtools等被我存储在系统环境变量的，考虑到读者众多，一般的软件我都会自带版本信息的！</strong></span></div>
<div>我用两个小时，不代表你是两个小时就学会，有些朋友反映学了两个星期才 学会，这很正常，没毛病，不要异想天开两个小时就达到我的水平。</div>
<p>MeDIP-seq 跟ChIP-seq的分析手段是一模一样的，同理hMeDIP-seq，caMeDIP-seq等等，都没有本质上的区别，只是用的抗体不一样而已，请自行搜索基础知识，我只讲数据分析。</p>
<p><a title="Permalink to 一个ChIP-seq实战-超级简单-2小时搞定！" href="http://www.bio-info-trainee.com/2257.html" rel="bookmark">一个ChIP-seq实战-超级简单-2小时搞定！</a></p>
<h1 class="entry-title"><a title="Permalink to 一个RNA-seq实战-超级简单-2小时搞定！" href="http://www.bio-info-trainee.com/2218.html" rel="bookmark">一个RNA-seq实战-超级简单-2小时搞定！</a></h1>
<p><span id="more-2352"></span></p>
<p>请先看看我前面写的系列，对我而言很简单，因为软件我都安装了，数据我都下载好了，代码我都看得懂，对你，不一定简单，有朋友反映学了两个星期才弄懂，但至少，是可以弄懂的！</p>
<div>paper是Dnmt3L antagonizes DNA methylation at bivalent promoters and favors DNA methylation at gene bodies in ESCs.：<a href="https://www.ncbi.nlm.nih.gov/pubmed/24074865">https://www.ncbi.nlm.nih.gov/pubmed/24074865</a> 发表在2013年CELL杂志上面，值得重复！</div>
<div>MeDIP-seq 数据在：<a href="https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE44642">https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE44642</a></div>
<div><a href="http://www.bio-info-trainee.com/wp-content/uploads/2017/02/11.png"><img class="alignnone size-full wp-image-2353" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/02/11.png" alt="1" width="501" height="153" /></a></div>
<div>首先下载raw data数据：</div>
<div>wget ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByStudy/sra/SRP/SRP018/SRP018845/SRR764931/SRR764931.sra</div>
<div>wget ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByStudy/sra/SRP/SRP018/SRP018845/SRR764932/SRR764932.sra</div>
<div>ls *sra |while read id; do ~/biosoft/sratoolkit/sratoolkit.2.6.3-centos_linux64/bin/fastq-dump --split-3 $id;done</div>
<div><img class="alignnone size-full wp-image-2354" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/02/2.png" alt="2" width="359" height="98" /></div>
<div>用fastqc看了看数据质量，发现质量非常赞，我就不需要过滤reads了。代码如下：</div>
<div>ls *fastq |xargs ~/biosoft/fastqc/FastQC/fastqc -t 10</div>
<div>如果要过滤，就用下面的代码：</div>
<div>ls *.fastq | while read id</div>
<div>do</div>
<div>~/biosoft/sickle/sickle-master/sickle se -t sanger -g -f $id -o ${id%%.*}.trimmed.fq.gz</div>
<div>done</div>
<div></div>
<div>首先用bowtie2软件把测序得到的fastq文件比对到mm10参考基因组上面，就两个数据，我就不写循环了！</div>
<div>对于这种没有control的数据，我们可以直接把<span style="color: #ff0000;"><strong>peaks-calling 4部曲</strong></span>一起搞定的！</div>
<div></div>
<div>对比对好的bam文件， 就可以直接用MACS软件来找peaks啦：</div>
<div>首先对这些bam文件批量转换成bw文件。然后批量画图</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -x ~/reference/index/bowtie/mm10 -U SRR764931.fastq | samtools sort -O bam -o shDnmt3L.bam</div>
<div>## 比对率很高，分别是96.67%(shDnmt3L) 和96.59%(shGFP),这比对率没得说了，非常赞！</div>
<div>samtools index shDnmt3L.bam</div>
<div>~/.local/bin/macs2 callpeak -t shDnmt3L.bam -m 10 30 -p 1e-5 -f BAM -g mm -n shDnmt3L 2&gt;shDnmt3L.masc2.log</div>
<div>bamCoverage -b shDnmt3L.bam -o shDnmt3L.bw ## 这里有个参数，-p 10 --normalizeUsingRPKM</div>
<div>computeMatrix reference-point --referencePoint TSS -b 10000 -a 10000 -R ~/annotation/CHIPseq/mm10/ucsc.refseq.bed -S shDnmt3L.bw --skipZeros -o matrix1_shDnmt3L_TSS.gz</div>
<div>plotHeatmap -m matrix1_shDnmt3L_TSS.gz -out shDnmt3L.png</div>
<div>就两个数据，我就没有写循环了，现在你肯定能看懂了吧！</div>
<div>分析，就这样介绍咯！</div>
<div></div>
<div>参考：<a href="http://crazyhottommy.blogspot.com/search/label/MeDIP-seq">http://crazyhottommy.blogspot.com/search/label/MeDIP-seq</a></div>
<div></div>
<div></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/2352.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一个ChIP-seq实战-超级简单-2小时搞定！</title>
		<link>http://www.bio-info-trainee.com/2257.html</link>
		<comments>http://www.bio-info-trainee.com/2257.html#comments</comments>
		<pubDate>Tue, 10 Jan 2017 03:14:22 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[Cbx7]]></category>
		<category><![CDATA[peaks]]></category>
		<category><![CDATA[PRC1]]></category>
		<category><![CDATA[PRC2]]></category>
		<category><![CDATA[Ring1B]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=2257</guid>
		<description><![CDATA[请不要直接拷贝我的代码，需要自己理解，然后打出来，思考我为什么这样写代码。 软件 &#8230; <a href="http://www.bio-info-trainee.com/2257.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>
<div><span style="color: #ff0000;"><strong>请不要直接拷贝我的代码，需要自己理解，然后打出来，思考我为什么这样写代码。</strong></span></div>
<div><span style="color: #ff0000;"><strong>软件请用最新版，尤其是samtools等被我存储在系统环境变量的，考虑到读者众多，一般的软件我都会自带版本信息的！</strong></span></div>
<div>我用两个小时，不代表你是两个小时就学会，有些朋友反映学了两个星期才 学会，这很正常，没毛病，不要异想天开两个小时就达到我的水平。</div>
<div></div>
</div>
<div>本次讲解选取的文章是为了探索PRC1，PCR2这样的蛋白复合物，不是转录因子或者组蛋白的CHIP-seq，请注意区别！</div>
<div>这是一个系列帖子，你可以先看：</div>
<div>
<div><a href="http://www.bio-info-trainee.com/1024.html">一个表达芯片数据处理实例</a></div>
<div><a href="http://www.bio-info-trainee.com/2218.html">一个RNA-seq实战-超级简单-2小时搞定！</a></div>
<div><a href="http://www.bio-info-trainee.com/1159.html">WES（七）看de novo变异情况</a></div>
<div><a href="http://www.bio-info-trainee.com/2169.html">【直播】我的基因组22：用IGV查看具体某个位点是否变异</a></div>
</div>
<div>文章是：RYBP and Cbx7 define specific biological functions of polycomb complexes in mouse embryonic stem cells</div>
<div><a href="https://www.ncbi.nlm.nih.gov/pubmed/23273917">https://www.ncbi.nlm.nih.gov/pubmed/23273917</a></div>
<div>RYBP and Cbx7都是Polycomb repressive complex 1 (PRC1)的组分：</div>
<div>数据都在：<a href="https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE42466">https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE42466</a></div>
<div>所以用脚本在ftp里面批量下载即可：</div>
<div><a href="ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByStudy/sra/SRP/SRP017/SRP017311">ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByStudy/sra/SRP/SRP017/SRP017311</a></div>
<div><img class="alignnone size-full wp-image-2264" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/11.png" alt="1" width="477" height="169" /></div>
<div></div>
<p><span id="more-2257"></span></p>
<div>下载地址很容易获取啦！</div>
<div>for ((i=204;i&lt;=209;i++)) ;do wget <a href="ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByStudy/sra/SRP/SRP017/SRP017311">ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByStudy/sra/SRP/SRP017/SRP017311</a>/SRR620$i/SRR620$i.sra;done</div>
<div>ls *sra |while read id; do ~/biosoft/sratoolkit/sratoolkit.2.6.3-centos_linux64/bin/fastq-dump --split-3 $id;done</div>
<div><span style="color: #ff0000;">图片丢失~~~~~</span></div>
<div>因为我用fastqc看了看数据质量，代码如下：</div>
<div>ls *fastq |xargs ~/biosoft/fastqc/FastQC/fastqc -t 10</div>
<div>发现3端质量有点问题，我就用了-3 5 --local参数，</div>
<div>首先用bowtie2软件把测序得到的fastq文件比对到mm10参考基因组上面</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -3 5 --local -x ~/reference/index/bowtie/mm10 -U SRR620204.fastq| samtools sort -O bam -o ring1B.bam</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -3 5 --local -x ~/reference/index/bowtie/mm10 -U SRR620205.fastq| samtools sort -O bam -o cbx7.bam</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -3 5 --local -x ~/reference/index/bowtie/mm10 -U SRR620206.fastq| samtools sort -O bam -o suz12.bam</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -3 5 --local -x ~/reference/index/bowtie/mm10 -U SRR620207.fastq| samtools sort -O bam -o RYBP.bam</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -3 5 --local -x ~/reference/index/bowtie/mm10 -U SRR620208.fastq| samtools sort -O bam -o IgGold.bam</div>
<div>~/biosoft/bowtie/bowtie2-2.2.9/bowtie2 -p 6 -3 5 --local -x ~/reference/index/bowtie/mm10 -U SRR620209.fastq| samtools sort -O bam -o IgG.bam</div>
<div><img class="alignnone size-full wp-image-2259" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/3.png" alt="3" width="220" height="111" /></div>
<div><strong><span style="color: #ff0000;">接下来需要对bam文件进行简单过滤，包括未比对的和multiple比对的，但是我比较懒，就直接用MACS2软件来call peaks啦！</span></strong></div>
<div>nohup ~/.local/bin/macs2 callpeak -c ../IgGold.bam -t ../suz12.bam -m 10 30 -p 1e-5 -f BAM -g mm -n suz12 2&gt;suz12.masc2.log &amp;</div>
<div>nohup ~/.local/bin/macs2 callpeak -c ../IgGold.bam -t ../ring1B.bam -m 10 30 -p 1e-5 -f BAM -g mm -n ring1B 2&gt;ring1B.masc2.log &amp;</div>
<div>nohup ~/.local/bin/macs2 callpeak -c ../IgG.bam -t ../cbx7.bam -m 10 30 -p 1e-5 -f BAM -g mm -n cbx7 2&gt;cbx7.masc2.log &amp;</div>
<div>nohup ~/.local/bin/macs2 callpeak -c ../IgG.bam -t ../RYBP.bam -m 10 30 -p 1e-5 -f BAM -g mm -n RYBP 2&gt;RYBP.masc2.log &amp;</div>
<div><img class="alignnone size-full wp-image-2260" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/4.png" alt="4" width="222" height="79" /></div>
<div>大家可以看到RYBP这个CHIP-seq我几乎得不到peaks，哪怕是换了一个control，除非我不用任何control！我用IGV看了看，这个RYBP的确很诡异，我怀疑是作者上传数据出错了！</div>
<div>而且作者在GEO给的PEAKS个数如下：</div>
<div>2754 GSE42466_Cbx7_peaks_10.txt<br />
6982 GSE42466_Ring1b_peaks_10.txt<br />
6872 GSE42466_RYBP_peaks_5.txt<br />
8054 GSE42466_Suz12_peaks_10.txt</div>
<div></div>
<div></div>
<div>首先对这些bam文件批量转换成bw文件。然后批量画图</div>
<div>ls ../*bam |while read id</div>
<div>do</div>
<div>file=$(basename $id )</div>
<div>sample=${file%%.*}</div>
<div>echo $sample</div>
<div>bamCoverage -b $id -o $sample.bw ## 这里有个参数，-p 10 --normalizeUsingRPKM</div>
<div>computeMatrix reference-point --referencePoint TSS -b 10000 -a 10000 -R ~/annotation/CHIPseq/mm10/ucsc.refseq.bed -S $sample.bw --skipZeros -o matrix1_${sample}_TSS.gz --outFileSortedRegions regions1_${sample}_genes.bed</div>
<div>plotHeatmap -m matrix1_${sample}_TSS.gz -out ${sample}.png</div>
<div>done</div>
<div><img class="alignnone size-full wp-image-2261" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/5.png" alt="5" width="199" height="98" /></div>
<div></div>
<div>然后整合所有的chipseq的bam文件，画基因的TSS附近的profile和heatmap图</div>
<div>computeMatrix reference-point -p 10 --referencePoint TSS -b 2000 -a 2000 -S ../*bw -R ~/annotation/CHIPseq/mm10/ucsc.refseq.bed --skipZeros -o tmp4.mat.gz</div>
<div>plotHeatmap -m tmp4.mat.gz -out tmp4.merge.png</div>
<div>plotProfile --dpi 720 -m tmp4.mat.gz -out tmp4.profile.pdf --plotFileFormat pdf --perGroup</div>
<div>plotHeatmap --dpi 720 -m tmp4.mat.gz -out tmp4.merge.pdf --plotFileFormat pdf</div>
<div>最后整合所有的chipseq的bam文件，画基因的genebody附近的profile和heatmap图</div>
<div>computeMatrix scale-regions -p 10 -S ../*bw -R ~/annotation/CHIPseq/mm10/ucsc.refseq.bed -b 3000 -a 3000 -m 5000 --skipZeros -o tmp5.mat.gz</div>
<div>plotHeatmap -m tmp5.mat.gz -out tmp5.merge.png</div>
<div>plotProfile --dpi 720 -m tmp5.mat.gz -out tmp5.profile.pdf --plotFileFormat pdf --perGroup</div>
<div>plotHeatmap --dpi 720 -m tmp5.mat.gz -out tmp5.merge.pdf --plotFileFormat pdf</div>
<div>下面是输出的图的例子，我只放了tss附近的！</div>
<div><img class="alignnone size-full wp-image-2262" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/6.png" alt="6" width="1378" height="815" /></div>
<div>上图可以看到RYBP的peaks的中点在TSS处，而其它peaks都在TSS下游一点点。</div>
<div>用Sequential ChIP (re-ChIP)实验的确可以看到RYBP和CBX7的peaks有重合。</div>
<div><img class="alignnone size-full wp-image-2263" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/7.png" alt="7" width="787" height="363" /></div>
<div></div>
<div>这篇文章一直翻来覆去说 这些CHIP-seq实验的peaks的交叉情况：</div>
<div></div>
<div>PRC1的组分异常复杂，包括 Cbx (Cbx2, Cbx4, Cbx6, Cbx7, or Cbx8); Ring1A or Ring1B; PHC (PHC1, PHC2, or PHC3); PCGF (PCGF1, PCGF2, PCGF3, PCGF4, PCGF5, or PCGF6); and RYBP or YAF2.<br />
其中，a Ring1A/B E3 ligase subunit that monoubiquitinates histone H2A at lysine 119 (H2AK119ub)<br />
但不是说都必须要有，而是它们的组合，形成了各种各样的PRC1，但是都统一叫做PRC1。<br />
比如在mouse的ESCs里面，就有两种PRC1，它们的 Cbx7 or RYBP 是不可能共存的！我们可以把它们分别叫做， Cbx7-PRC1, RYBP-PRC1Cbx7 的功能是把 Ring1B 招募到染色质上面，是必须的。它结合的基因多参与 early-lineage commitment of ESCs.<br />
RYBP 可以增强PRC1的酶活性，它结合大基因多参与，regulation of metabolism and cell-cycle progression<br />
RYBP 结合的基因要比 CBX7 结合的基因表达量高。 因为CBX7结合的同时，会招募PRC2这个抑制marker。<br />
而PRC2 deposits the histone H3 lysine 27 trimethyl repressive mark (H3K27me3) through the Ezh1/2 histone methyltransferase enzymes.如何描述它们这些peaks的交叉情况呢？<br />
We observed an overlap of RYBP peaks (3,918 in total) with 14%, 42%, and 37% of Cbx7, Ring1B, and Suz12 peaks, respectively<br />
Moreover, although more than 90% of Cbx7 peaks contained Ring1B and Suz12, 20% were also bound by RYBP<br />
尽管RYBP and Cbx7 在大部分情况下都是互相排斥的，但是也在少部分基因组区域存在共定位的现象。Ring1B / Suz12的peaks情况可以被 Cbx7 和 RYBP 的peaks情况说明：<br />
RYBP and Cbx7 都有的地方，有着高Ring1B/Suz12<br />
Cbx7 but not RYBP的地方，Ring1B/Suz12会稍微低一点<br />
RYBP but not Cbx7的地方，Ring1B/Suz12会更低一点<br />
RYBP and Cbx7 都没有的地方，Ring1B/Suz12就最少！RYBP的peaks的中点在TSS处，而其它peaks都在TSS下游一点点。<br />
用Sequential ChIP (re-ChIP)实验的确可以看到RYBP和CBX7的peaks有重合。而且RYBP还有一些peaks是其它PRC1所没有的，说明它可以独立于PRC1发挥作用H2AK119ub 与 Ring1B/Suz12正相关，但是与RYBP只有25.7%交叉，与CBX7有着72%交叉，所以可以把 PRC1 target genes分成3类：<br />
a first set with Cbx7/Ring1B/H2AK119ub; ~~~~GO/KEGG分析，<br />
a second that contains RYBP and lower levels of Ring1B/H2AK119ub<br />
a third set cobound by RYBP/Cbx7/Ring1B and that also contains H2AK119ub.</p>
<p>然后这些所有的gene list都可以拿去做GO/KEGG分析，看看是不是有什么biological meaning ！<br />
genes co-occupied by Ring1B/Cbx7/RYBP and H2AK119ub are involved in system development.<br />
genes containing RYBP/Ring1B/H2AK119ub, but not Cbx7, have a strong association with the M phase of the meiotic cycle and cellular metabolism<br />
genes with Cbx7/Ring1B/H2AK119ub are involved in developmental processes and mesoderm specification,<br />
those containing RYBP/Cbx7/Ring1B/H2AK119ub predominantly represent the ectodermal fate and, to a lesser extent, mesoderm and endoderm fates</p>
<p>超过700的基因有 RYBP/Cbx7/Ring1B的peaks，所以作者敲除Cbx7 看看 RYBP的peaks是否会变化，但是没有做CHIP-seq，只是做了ChIP-qPCR</p>
<p>下面这个结论很重要：<br />
Overall, our ChIP-seq analysis allowed us to identify five types of genes according to the occupancy of PRC1 and PRC2: those with<br />
(1) Ring1B/Cbx7/RYBP and Suz12 (725 genes);<br />
(2) Ring1B/Cbx7/Suz12, but not RYBP (1,527 genes);<br />
(3) Ring1B/RYBP/Suz12, but not Cbx7 (861 genes);<br />
(4) only Ring1B and Suz12 (1,694 genes); or<br />
(5) RYBP but no Polycomb proteins (1,674)</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/2257.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ngsplot辅助CHIP-seq数据分析-可视化</title>
		<link>http://www.bio-info-trainee.com/2229.html</link>
		<comments>http://www.bio-info-trainee.com/2229.html#comments</comments>
		<pubDate>Sun, 01 Jan 2017 02:18:17 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[ngsplot]]></category>
		<category><![CDATA[可视化]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=2229</guid>
		<description><![CDATA[最近在忙一些chip-seq的数据分析项目，它的可视化展现比较复杂一点，自己写程 &#8230; <a href="http://www.bio-info-trainee.com/2229.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>最近在忙一些chip-seq的数据分析项目，它的可视化展现比较复杂一点，自己写程序将会耗费挺长时间的，就想着利用现成的工具，前面试用了deeptools，挺好 的，但是有点慢，是python程序，如下：</div>
<div><a href="http://www.bio-info-trainee.com/2136.html">deeptools辅助CHIP-seq数据分析-可视化</a></div>
<div>现在换一个R程序，这个非常快速，而且绘图个人觉得稍微美观一点，大家也可以都试试看。</div>
<div></div>
<div>首先软件的github里面有源代码，然后作者还四处宣讲这个包的神奇之处，下面的ppt非常言简意赅的描述了它的功能和强大之处。</div>
<div>github: <a href="https://github.com/shenlab-sinai/ngsplot">https://github.com/shenlab-sinai/ngsplot</a></div>
<div>ppt:<a href="http://jura.wi.mit.edu/bio/education/hot_topics/ngsplot/ngsplot_Apr2014.pdf">http://jura.wi.mit.edu/bio/education/hot_topics/ngsplot/ngsplot_Apr2014.pdf</a></div>
<div>example:<a href="https://drive.google.com/drive/folders/0B1PVLadG_dCKN1liNFY0MVM1Ulk">https://drive.google.com/drive/folders/0B1PVLadG_dCKN1liNFY0MVM1Ulk</a></div>
<p><span id="more-2229"></span></p>
<div></div>
<div>安装超级简单啦，只需要去Google的云盘里下载软件和测试数据咯</div>
<div>cd ~/biosoft</div>
<div>mkdir ngsplot &amp;&amp; cd ngsplot</div>
<div>## download by yourself :https://drive.google.com/drive/folders/0B1PVLadG_dCKN1liNFY0MVM1Ulk</div>
<div>tar -zxvf ngsplot-2.61.tar.gz</div>
<div>tar zxvf ngsplot.eg.bam.tar.gz ## 测试数据非常给力，清楚的说明了，CHIP-seq数据分析-可视化需要什么样的数据。</div>
<div>cp ../ngsplot/example/config.example.txt ./ ## 在后面的测试代码需要用</div>
<div></div>
<div>echo 'export PATH=/home/jianmingzeng/biosoft/ngsplot/ngsplot/bin:$PATH' &gt;&gt;~/.bashrc</div>
<div>echo 'export NGSPLOT=/home/jianmingzeng/biosoft/ngsplot/ngsplot' &gt;&gt;~/.bashrc</div>
<div>source ~/.bashrc</div>
<div>## 需要你的服务器安装好R，并且你自己手动安装好这几个包。</div>
<div>install.packages("doMC", dep=T)</div>
<div>install.packages("caTools", dep=T)</div>
<div>install.packages("utils", dep=T)</div>
<div></div>
<div>source("http://bioconductor.org/biocLite.R")</div>
<div>biocLite( "BSgenome" )</div>
<div>biocLite( "Rsamtools" )</div>
<div>biocLite( "ShortRead" )</div>
<div></div>
<div><strong><span style="color: #ff0000;">使用非常简单，看懂ngs.plot.r的用法即可，一个命令就出图了，如果这个出图不满意，就用replot.r重新选择参数绘制一个新的图！</span></strong></div>
<div></div>
<div>前提是自己下载好了基因组文件，本软件自带hg19，其余的基因组有：https://github.com/shenlab-sinai/ngsplot/wiki/SupportedGenomes ， 但是都放在Google云盘里面，所以需要翻墙才能下载的： https://drive.google.com/drive/folders/0B1PVLadG_dCKNEsybkh5TE9XZ1E</div>
<div></div>
<div>测序数据如下：</div>
<div> <a href="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/1.png"><img class="alignnone size-full wp-image-2231" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/1.png" alt="1" width="309" height="189" /></a></div>
<div>有了这些测试数据，而且软件里面还自带了测试代码：</div>
<div>ngs.plot.r -G hg19 -R tss -C hesc.H3k4me3.1M.bam -O k4.test</div>
<div>ngs.plot.r -G hg19 -R tss -C config.example.txt -O encode1M.k4k27</div>
<div>如果需要对多个bam文件画图，就根据作者定义的规则来设置好config.example.txt 文件即可</div>
<div><img class="alignnone size-full wp-image-2230" src="http://www.bio-info-trainee.com/wp-content/uploads/2017/01/2.png" alt="2" width="848" height="800" /></div>
<div>如果你对上面的图不满意，可以用replot.r 来重新根据上面的参数来画图。</div>
<div>replot.r prof -I k4.test.zip -O k4.replot -SE 0 -MW 9 -H 0.3</div>
<div>replot.r heatmap -I encode1M.k4k27.zip -O k4k27.replot -GO hc -RR 80</div>
<div></div>
<div>除了以tss来画图，还可以根据genebody或者其它： tss, tes, genebody, exon, cgi, enhancer, dhs or bed</div>
<div>ngs.plot.r -G hg19 -R genebody -F rnaseq -C hesc.RNAseq.1M.bam -O encode1M.rnaseq</div>
<div>ngs.plot.r -G hg19 -R tss -C hesc.H3k4me3.1M.bam:hesc.Input.500K.bam -O k4vsInp</div>
<div></div>
<div>轻轻松松get到作者的意图，然后拿自己的数据就可以做同样的分析图片了！</div>
<div>当然，如果你领悟力比较差，慢慢读人家的github上面的readme吧，实在是太简单了，我都不知道需要我讲什么。</div>
<div>而且运行速度还特快！</div>
<div>当然，也可能是它这个测试文件本来就很小的原因。</div>
<div></div>
<div> The genome files can be found in this Google drive folder: <a href="https://drive.google.com/folderview?id=0B1PVLadG_dCKNEsybkh5TE9XZ1E&amp;usp=sharing">ngs.plot genome folder</a>. A list of the available genomes is listed in this Wiki: <a href="https://github.com/shenlab-sinai/ngsplot/wiki/SupportedGenomes">SupportedGenomes</a>. A brief list is here (not all): "human (hg18, hg19), chimpanzee (panTro4), rhesus macaque (rheMac2), mouse (mm9, mm10), rat (rn4, rn5), cow (bosTau6), chicken (galGal4), zebrafish (Zv9), drosophila (dm3), Caenorhabditis elegans (ce6, ceX), Saccharomyces cerevisiae (sacCer2, sacCer3), Schizosaccharomyces pombe (Asm294), Arabidopsis thaliana (TAIR10), Zea mays (AGPv3), rice (IRGSP-1.0)".</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/2229.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>生物信息数据分析文章就是看图写作文</title>
		<link>http://www.bio-info-trainee.com/2207.html</link>
		<comments>http://www.bio-info-trainee.com/2207.html#comments</comments>
		<pubDate>Wed, 28 Dec 2016 07:14:39 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[可视化]]></category>
		<category><![CDATA[生物信息分析]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=2207</guid>
		<description><![CDATA[首先是从测试原始数据里面得到汇总数据 然后把各种统计汇总数据可视化成图表 最后根 &#8230; <a href="http://www.bio-info-trainee.com/2207.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>首先是从测试原始数据里面得到汇总数据</div>
<div>然后把各种统计汇总数据可视化成图表</div>
<div>最后根据图表来写作文即可。</div>
<div></div>
<div>来源：Genome-wide Mapping of HATs and HDACs Reveals Distinct Functions in Active and Inactive Genes</div>
<div><a href="http://www.sciencedirect.com/science/article/pii/S0092867409008411">http://www.sciencedirect.com/science/article/pii/S0092867409008411</a></div>
<p><span id="more-2207"></span></p>
<div>比如下面这个图，就是CHIP-seq的数据，比对后根据全基因组的所有基因的区域范围内的reads密度的总结：</div>
<div>  <a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/16.png"><img class="alignnone size-full wp-image-2210" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/16.png" alt="1" width="483" height="872" /></a></div>
<div>故事该怎么写呢？</div>
<div>首先看图例：</div>
<div>A. Profiles of HATs binding across 5’ gene ends, 3’ gene ends and gene body regions of the 1000 most active, intermediately active and least active genes were examined using ChIP-Seq.txStart: transcription start site. txEnd: transcription end site.</div>
<div>B. Profiles of HATs binding across intergenic (5kb away from any gene) or promoter (defined</div>
<div>as +/− 1kb surrounding TSS) DNase HS sites. DNase HS sites were obtained from (Boyle et</div>
<div>al., 2008).</div>
<div>作者做了5个HATs基因的CHIP-seq数据，根据上面的图，可以把它们分成3组，分别是CBP and p300，PCAF (p300/CBP associated factor) and GCN5，MOF and Tip60，它们虽然都是蛋白质的乙酰化酶，但是它们的CHIP-seq数据表现不一致，仔细看上图就明白了。为什么不一致，就需要解释，解释就需要有生物学背景，比如CBP and p300结构上高度同源，前人研究也表明主要是参与转录起始。而PCAF (p300/CBP associated factor) and GCN5是另外一组的高度同源，前人研究参与转录延伸。最后的MOF and Tip60是MYST family of HATs，跟上面的HATs不大一样，前人研究表明它们参与的功能特别多样性，所以在基因上面的结合密度跟其它不一样。最后再扯一扯它们在其它物种的功能如何如何，跟人类比较一下如何如何。再找几个已有的CHIP-seq数据交叉验证一下，再说一下自己也做实验随机验证了一些，因为高通量测序毕竟不是金标准。</div>
<div></div>
<div>下面这张图是把CHIP-seq数据的reads密度和基因的表达量关联起来，也很简单。</div>
<div><img class="alignnone size-full wp-image-2208" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/24.png" alt="2" width="707" height="880" /></div>
<div>故事该怎么写呢?</div>
<div>首先看图例：</div>
<div>C. Correlation between HAT binding and gene expression levels. Genes were grouped to 100</div>
<div>gene (one dot in the figure) sets according to expression level. The HAT binding level in</div>
<div>promoter region was calculated for the same 100 gene sets. The y-axis indicates the HAT</div>
<div>binding level and the x-axis indicates the expression level.</div>
<div>D. Correlation between HAT binding and RNA Pol II binding levels among the 100 gene sets</div>
<div>grouped according to expression levels as defined in panel C. The y-axis indicates the HAT</div>
<div>binding level and the x-axis indicates the Pol II level.</div>
<div>E. Correlation between HAT binding and histone acetylation levels among the 100 gene sets</div>
<div>grouped according to expression levels as defined in panel C. The acetylation level was</div>
<div>calculated by pooling all reads for 18 histone acetylations mapped previously (Wang et al.,</div>
<div>2008). The y-axis indicates the HAT binding level and the x-axis indicates the acetylation level.</div>
<div>图例就很复杂了，但是信息量很少。就是根据转录组数据把基因分区段，不同表达水平的基因组它们的对应的基因的CHIP-seq数据的密码如何，很简单的一个相关图。就是为了说明它们跟基因的表达水平是正相关的。其实表达水平就是polyII的结合密度，也可以看看polyII的结合密度跟这些CHIP-seq的IP的结合密度看看相关性，也能说明同样的结论。</div>
<div></div>
<div>此文的作者把HATs系列酶都做了CHIP-seq数据，同时也把HDACs系列酶也做了CHIPseq数据！~~~</div>
<div>一般人入门生物信息学的时候问题都集中在如何得到可绘图的数据，因为绘图很简单，哪怕是不会R语言，在excel也能做。至于后面的看图写作文，主要是考验生物学底蕴了。</div>
<div></div>
<div>最后说一下下面这个图：</div>
<div><img class="alignnone size-full wp-image-2209" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/32.png" alt="3" width="1161" height="752" /></div>
<div></div>
<div>A. Distribution profiles of HDAC6, Tip60, Pol II and H3K36me3 across the active genes were</div>
<div>plotted. The left y-axis indicates tag densities for HDAC6, Tip60 and Pol II. The right axis</div>
<div>indicates tag densities for H3K36me3.</div>
<div>这个没什么好说的了，很明显HATs和HDACs和polyII都是一样的pattern，都代表着转录激活，跟H3K36me6的pattern有显著区别。这个现象很新颖，很有趣，再扯一堆生物学意义就好，为什么HATs和HDACs和polyII都是一样的pattern呢？给自己的假设和猜想。前提是要有生物学背景知识。</div>
<div>而且，如何得到这样的绘图的数据，讲起来就比较复杂了。</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/2207.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>deeptools辅助CHIP-seq数据分析-可视化</title>
		<link>http://www.bio-info-trainee.com/2136.html</link>
		<comments>http://www.bio-info-trainee.com/2136.html#comments</comments>
		<pubDate>Thu, 15 Dec 2016 11:20:00 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[CHIP-seq数据]]></category>
		<category><![CDATA[deeptools]]></category>
		<category><![CDATA[热图]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=2136</guid>
		<description><![CDATA[有很多读者来信，CHIP-seq数据比对后的bam文件如果根据基因组的所有基因来 &#8230; <a href="http://www.bio-info-trainee.com/2136.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>有很多读者来信，CHIP-seq数据比对后的bam文件如果根据基因组的所有基因来画热图，profile图呢？</div>
<p><span id="more-2136"></span></p>
<div><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/13.png"><img class="alignnone size-full wp-image-2137" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/13.png" alt="1" width="684" height="831" /></a></div>
<div>这里隆重推荐deeptools这个软件：</div>
<div></div>
<div><span style="color: #ff0000;"><strong>第一个功能，把bam文件转换为bw格式文件：</strong></span></div>
<div>bamCoverage -b tmp.sorted.bam -o tmp.bw</div>
<div>里面有一个参数非常重要，就是--extendReads 在 macs软件里面也有，macs2 pileup --extsize 200 ，就算是你的reads长度可能不一致，是否需要把它们补齐成一个统一的长度，因为我们只要是测到了reads，就代表那里是有signal的，只是因为我们的测序仪限制，测到的长度不够，或者质量不好，我们QC的时候，把前后碱基给trim掉了。还可以安装基因组的有效大小来对测序深度进行normlization。</div>
<div></div>
<div><span style="color: #ff0000;"><strong>第二个功能，画所有基因附近的信号热图，</strong></span>tools: <a href="http://deeptools.readthedocs.io/en/latest/content/tools/computeMatrix.html">computeMatrix</a>, then <a href="http://deeptools.readthedocs.io/en/latest/content/tools/plotHeatmap.html">plotHeatmap</a></div>
<div><a href="http://deeptools.readthedocs.io/en/latest/content/example_step_by_step.html#heatmaps-and-summary-plots">http://deeptools.readthedocs.io/en/latest/content/example_step_by_step.html#heatmaps-and-summary-plots</a></div>
<div>需要自行下载合适的基因坐标记录文件，BED格式的。把上面两个命令结合起来即可，代码和图形实例如下:</div>
<div><img src="file:///C:/Users/jimmy1314/AppData/Local/YNote/data/jmzeng1314@163.com/31606fda35e24c23a77b611d4270ff9e/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="F1E18CB636DE4CCEA0318F2F99E2CB43" /></div>
<div><span style="color: #ff0000;"><strong>第3个功能，画profile的图！</strong></span></div>
<div>use <a href="http://deeptools.readthedocs.io/en/latest/content/tools/computeMatrix.html">computeMatrix</a> for all of the signal files (bigWig format) at once</div>
<div>use <a href="http://deeptools.readthedocs.io/en/latest/content/tools/plotProfile.html">plotProfile</a> on the resulting file</div>
<div></div>
<div>还有很多小功能，欢迎大家去探索，这个软件是python软件，安装非常简单：</div>
<blockquote>
<div>## Download and install deepTools</div>
<div>## https://github.com/fidelram/deepTools</div>
<div>## http://deeptools.readthedocs.io/en/latest/content/example_usage.html</div>
<div>pip install pyBigWig --user</div>
<div></div>
<div>cd ~/biosoft</div>
<div>mkdir deepTools &amp;&amp; cd deepTools</div>
<div>git clone https://github.com/fidelram/deepTools ## 130M,</div>
<div>cd deepTools</div>
<div>python setup.py install --user</div>
<div>## 17 tools in ~/.local/bin/</div>
<div>~/.local/bin/deeptools</div>
</blockquote>
<div>安装之后，很多小工具都放到了~/.local/bin/目录：</div>
<div><img src="file:///C:/Users/jimmy1314/AppData/Local/YNote/data/jmzeng1314@163.com/8f0bcadfe7cc4740aa372b33bf2b72b7/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="1D2CF21DB0C346B9928BBACA7E20859B" /><img class="alignnone size-full wp-image-2138" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/12/21.png" alt="2" width="315" height="393" /></div>
<div>如果你有大批量的bam文件，需要批量做，用下面的脚本啦：</div>
<blockquote>
<div>ls ../bamFiles/*bam |while read id</div>
<div>do</div>
<div>file=$(basename $id )</div>
<div>sample=${file%%.*}</div>
<div>echo $sample</div>
<div>bamCoverage -b $id -o $sample.bw</div>
<div>computeMatrix reference-point --referencePoint TSS -b 10000 -a 10000 -R ~/annotation/CHIPseq/mm10/ucsc.refseq.bed -S $sample.bw --skipZeros -o matrix1_${sample}_TSS.gz --outFileSortedRegions regions1_${sample}_genes.bed</div>
<div>plotHeatmap -m matrix1_${sample}_TSS.gz -out ${sample}.png</div>
<div>done</div>
</blockquote>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/2136.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>对CHIP-seq数据call peaks应该选取unique比对的reads吗？</title>
		<link>http://www.bio-info-trainee.com/1869.html</link>
		<comments>http://www.bio-info-trainee.com/1869.html#comments</comments>
		<pubDate>Sun, 07 Aug 2016 13:13:18 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[ChIPpeakAnno]]></category>
		<category><![CDATA[makeVennDiagram]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1869</guid>
		<description><![CDATA[对于CHIP-seq数据处理完全是自学的，所以有很多细节得慢慢学习回来，这次记录 &#8230; <a href="http://www.bio-info-trainee.com/1869.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>对于CHIP-seq数据处理完全是自学的，所以有很多细节得慢慢学习回来，这次记录的就是当我们把测序仪的fastq数据比对到参考基因组之后，应该对比对的结果文件做什么样的处理，然后去给peaks caller软件拿来call peaks呢？<strong><span style="color: #ff0000;">我看过博客 提到只保留比对质量值大于30的，也看过博客提到只保留unique比对的reads</span></strong>，我这里拿一篇公共数据测试了一下它们的区别！数据描述如下：<span id="more-1869"></span></p>
<div>
<div><a href="http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE74311">http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE74311</a></div>
</div>
<div>参考流程：<a href="https://github.com/jmzeng1314/NGS-pipeline/tree/master/CHIPseq">https://github.com/jmzeng1314/NGS-pipeline/tree/master/CHIPseq</a></div>
<div>
<div>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top"><a href="http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM1916974">GSM1916974</a></td>
<td valign="top">H3K27ac ChIP-seq</td>
<td valign="top">
<div>
<h2>SRR2774675</h2>
</div>
</td>
</tr>
<tr>
<td valign="top"><a href="http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM1916975">GSM1916975</a></td>
<td valign="top">input DNA</td>
<td valign="top">
<div>
<h2>SRR2774676</h2>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div>首先在SRA数据库下载  SRR2774675.sra 和 SRR2774676.sra</div>
<div>
<div><a href="http://www.ncbi.nlm.nih.gov/sra?term=SRP065184">http://www.ncbi.nlm.nih.gov/sra?term=SRP065184</a></div>
<div>应用我github的流程很快就可以对比对，我把两种方法处理的比对结果都拿去call peaks，然后得到了，两个peaks文件。</div>
<div>39709 highQuaily_peaks.bed<br />
39709 highQuaily_summits.bed</div>
<div>可以看到两次结果得到的peaks条数并没有显著区别，我们简单看看前几行！</div>
<div><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/12.png"><img class="alignnone size-full wp-image-1870" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/12.png" alt="1" width="767" height="181" /></a></div>
<div>其实用bedtools就可以看看左右两边的文件的交集情况，但是我这里选用了ChIPpeakAnno这个R包集成好的函数，直接得到结果即可！</div>
<div>ChIPpeakAnno 包直接看说明书吧，我这里贴出代码：</div>
<blockquote>
<div>library(ChIPpeakAnno)<br />
highPeak &lt;- readPeakFile( 'highQuaily_peaks.bed' )<br />
uniquePeak &lt;- readPeakFile( 'unique_peaks.bed' )<br />
ol &lt;- findOverlapsOfPeaks(highPeak, uniquePeak)<br />
png('overlapVenn.png')<br />
makeVennDiagram(ol)<br />
dev.off()</div>
</blockquote>
<div>然后打开画好的韦恩图：</div>
<div><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/overlapVenn.png"><img class="alignnone size-full wp-image-1871" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/overlapVenn.png" alt="overlapVenn" width="480" height="480" /></a></div>
<div>可以看到这两种情况得到的结果几乎没有区别，如果大家感兴趣可以自己看看它们那些独特的peaks到底是什么原因！</div>
<div>结论就是，说明CHIP-seq数据分析的时候，call peaks那个步骤，<strong>只保留比对质量值大于30的，或者只保留unique比对的reads，从数据处理的角度来讲差别不大，主要看你具体实验意义。</strong></div>
<div></div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1869.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>根据比对的bam文件来对peaks区域可视化</title>
		<link>http://www.bio-info-trainee.com/1843.html</link>
		<comments>http://www.bio-info-trainee.com/1843.html#comments</comments>
		<pubDate>Tue, 02 Aug 2016 13:52:53 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[peaksview]]></category>
		<category><![CDATA[samtools]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1843</guid>
		<description><![CDATA[之前分析了好几个公共项目，拿到的peaks都很诡异，搞得我一直怀疑是不是自己分析 &#8230; <a href="http://www.bio-info-trainee.com/1843.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>之前分析了好几个公共项目，拿到的peaks都很诡异，搞得我一直怀疑是不是自己分析错了。终于，功夫不负有心人，我分析了一个数据，它的peaks非常完美！！！可以证明，我的分析流程以及peaks绘图代码并没有错！数据来自于<a href="http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE74311">http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE74311</a>，是关于H3K27ac_ChIP-Seq_LOUCY，组蛋白修饰的CHIP-seq数据，很容易就下载了作者上传的测序数据，然后跑了我的流程！<a href="https://github.com/jmzeng1314/NGS-pipeline/tree/master/CHIPseq">https://github.com/jmzeng1314/NGS-pipeline/tree/master/CHIPseq</a><span id="more-1843"></span></p>
<p>本文的重点在于讲解如何查看自己的peaks是否是正确的！<span style="color: #ff0000;"><strong>我是直接用比对的bam文件来用samtools depth命令来获取peaks区域的测序深度，从而画图的，代码见</strong></span><a title="step5-peaks-view-samtools-depth.R" href="https://github.com/jmzeng1314/NGS-pipeline/blob/master/CHIPseq/step5-peaks-view-samtools-depth.R">step5-peaks-view-samtools-depth.R</a></p>
<p>在终端调用我的代码画图命令如下；</p>
<blockquote><p>Rscript ~/scripts/peakView.R ../unique_peaks.bed ../../SRR2774675.unique.sorted.bam ../../SRR2774676.unique.sorted.bam<br />
Rscript ~/scripts/peakView.R ../unique_peaks.bed ../../SRR2774675.unique.sorted.bam ../../SRR2774676.unique.sorted.bam</p></blockquote>
<p>下面随便看两个peaks，很明显是双峰模型，而且IP的测序深度远高于INPUT，数据非常棒！</p>
<p><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_26338.png"><img class="alignnone size-full wp-image-1844" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_26338.png" alt="MACS_peak_26338" width="480" height="480" /></a></p>
<p><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_26309.png"><img class="alignnone size-full wp-image-1845" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_26309.png" alt="MACS_peak_26309" width="480" height="480" /></a></p>
<p>&nbsp;</p>
<p>然后我不得不指出如果CHIP-seq实验失败，那么peaks会很诡异，首先你会看到测序深度大多都在10以下，即使有部分测序深度很高的，也是IP和INPUT的测序深度压根就没有差异，下面就是一个典型的失败案例！</p>
<p><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_525.png"><img class="alignnone size-full wp-image-1846" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_525.png" alt="MACS_peak_525" width="480" height="480" /></a> <a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_542.png"><img class="alignnone size-full wp-image-1847" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/08/MACS_peak_542.png" alt="MACS_peak_542" width="480" height="480" /></a></p>
<p>&nbsp;</p>
<p>这种实验失败的数据，实在是无法分析。而转录因子的CHIP-seq实验失败率还挺高的，所以一定要有control，否则再怎么分析也是<strong><span style="color: #ff0000;"> rubbish in rubbish out</span></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1843.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4种方式下载roadmap计划的所有数据</title>
		<link>http://www.bio-info-trainee.com/1830.html</link>
		<comments>http://www.bio-info-trainee.com/1830.html#comments</comments>
		<pubDate>Thu, 28 Jul 2016 14:52:16 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[broad]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[iHEC]]></category>
		<category><![CDATA[roadmap]]></category>
		<category><![CDATA[wustl]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1830</guid>
		<description><![CDATA[roadmap的官网是：http://www.roadmapepigenomic &#8230; <a href="http://www.bio-info-trainee.com/1830.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>roadmap的官网是：<a href="http://www.roadmapepigenomics.org/">http://www.roadmapepigenomics.org/</a></div>
<div>精选的129个细胞系，细胞系的介绍如下：<a href="http://www.broadinstitute.org/">http://www.broadinstitute.org/</a>~anshul/projects/roadmap/metadata/EID_metadata.tab</div>
<div>对每个细胞系，都至少处理了5个核心组蛋白修饰数据，还有其它若干转录因子数据。</div>
<div>官网介绍的很详细，我就不翻译了：</div>
<p><span id="more-1830"></span></p>
<div>The NIH Roadmap Epigenomics Mapping Consortium was launched with the goal of producing a public resource of human epigenomic data to catalyze basic biology and disease-oriented research. The Consortium leverages experimental pipelines built around next-generation sequencing technologies to <span style="color: #ff0000;"><b>map DNA methylation, histone modifications, chromatin accessibility and small RNA transcripts in stem cells and primary ex vivo tissues</b></span> selected to represent the normal counterparts of tissues and organ systems frequently involved in human disease. The Consortium expects to deliver a collection of normal epigenomes that will provide a framework or reference for comparison and integration within a broad array of future studies. The Consortium also aims to close the gap between data generation and its public dissemination by rapid release of raw sequence data, profiles of epigenomics features and higher-level integrated maps to the scientific community. The Consortium is also committed to the development, standardization and dissemination of protocols, reagents and analytical tools to enable the research community to utilize, integrate and expand upon this body of data.</div>
<div><span style="color: #ff0000;"><b>首先是这个网站：</b></span></div>
<div><a href="http://www.encode-roadmap.org/">http://www.encode-roadmap.org/</a></div>
<div>矩阵很容易看懂roadmap处理了哪些细胞系，进行了什么样的处理，数据可以直接下载。</div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/3bffbd4351004151a086d9901b11cdbd/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="D5C0C1B8E726464590E068D7F9A81336" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/3bffbd4351004151a086d9901b11cdbd/clipboard.png" /><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/4.png"><img class="alignnone  wp-image-1832" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/4.png" alt="4" width="709" height="362" /></a></div>
<div></div>
<p><b><span style="color: #ff0000; font-family: Helvetica, Tahoma, Arial, sans-serif;">然后我比较首先推崇broad研究所的下载方式</span></b></p>
<div>里面还列出了他们用过的peaks caller 工具：</div>
<div>
<div><a href="http://www.broadinstitute.org/">http://www.broadinstitute.org/</a>~anshul/projects/encode/preprocessing/peakcalling/  可以看到，主要有MACS，peakranger，quest，sicer，peakseq，hotspot等等</div>
</div>
<div>直接进入broad分析好的peaks结果：</div>
<div>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/f1dd258f825842a097d1af21461d8dc1/back.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="87786A2D45E647438D316D4D07D69F7B" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/f1dd258f825842a097d1af21461d8dc1/back.gif" /></td>
<td><a href="http://www.broadinstitute.org/~anshul/projects/roadmap/peaks/">Parent Directory</a></td>
<td>
<div></div>
</td>
<td>-</td>
<td>
<div></div>
</td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="5FB6B3D39C65455293D51B9CC3D7CEA6" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" /></td>
<td><a href="http://www.broadinstitute.org/~anshul/projects/roadmap/peaks/consolidated/broadPeak/">broadPeak/</a></td>
<td>08-Feb-2015 21:00</td>
<td>-</td>
<td>
<div></div>
</td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="5FB6B3D39C65455293D51B9CC3D7CEA6" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" /></td>
<td><a href="http://www.broadinstitute.org/~anshul/projects/roadmap/peaks/consolidated/gappedPeak/">gappedPeak/</a></td>
<td>08-Feb-2015 21:00</td>
<td>-</td>
<td>
<div></div>
</td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="5FB6B3D39C65455293D51B9CC3D7CEA6" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" /></td>
<td><a href="http://www.broadinstitute.org/~anshul/projects/roadmap/peaks/consolidated/lowq/">lowq/</a></td>
<td>31-Aug-2014 20:42</td>
<td>-</td>
<td>
<div></div>
</td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="5FB6B3D39C65455293D51B9CC3D7CEA6" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f7a421348a94e34b4aeb53f9152b39a/folder.gif" /></td>
<td><a href="http://www.broadinstitute.org/~anshul/projects/roadmap/peaks/consolidated/narrowPeak/">narrowPeak/</a></td>
<td>08-Feb-2015 20:59</td>
<td>-</td>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>
<p>这里面有3种peaks，我现在还没有搞懂是什么意思。</p></div>
<div></div>
<div></div>
<p><b><span style="color: #ff0000; font-family: Helvetica, Tahoma, Arial, sans-serif;">接着是 iHEC存放的数据：</span></b></p>
<div>
<div>
<div><a href="http://epigenomesportal.ca/ihec/download.html">http://epigenomesportal.ca/ihec/download.html</a></div>
</div>
<div>我还是第一次看到这个数据接口，也是以文件夹文件的形式直接浏览，根据自己的需求下载即可：</div>
<div>除了ENCODE计划的数据，还有Blueprint计划和roadmap计划的数据都可以下载。</div>
</div>
<div>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=5&amp;hubId=">NIH Roadmap</a></td>
<td>2014-05-29</td>
<td><a href="http://www.ncbi.nlm.nih.gov/geo/roadmap/epigenomics/">Click here for policies</a></td>
</tr>
</tbody>
</table>
</div>
<div></div>
<p><b><span style="color: #ff0000; font-family: Helvetica, Tahoma, Arial, sans-serif;">最后可以从圣路易斯华盛顿大学里面下载</span></b></p>
<div>圣路易斯华盛顿大学Washington University in St. Louis，简称（Wash U，WU）以美国国父乔治·华盛顿命名，始建于1853年2月22日，位于美国密苏里州圣路易斯市，是美国历史上建校最早也是最负盛名的“华盛顿大学”，该校在美国新闻和世界报道（US News &amp; World Report）2014大学综合排名中名列14位。</div>
<div>里面有一个非常详细的页面来介绍roadmap的各种数据:<a href="http://egg2.wustl.edu/roadmap/web_portal/processed_data.html">http://egg2.wustl.edu/roadmap/web_portal/processed_data.html</a></div>
<div>如果你已经了解了roadmap计划，就很容易找到自己的数据，从而直接浏览器或者wget下载即可。</div>
<div>首先是序列比对结果下载。</div>
<div><b>onsolidated Epigenomes:</b>36 bp mappability <strong>filtered</strong>, <strong>pooled and subsampled</strong> read alignment files:<br />
<a href="http://egg2.wustl.edu/roadmap/data/byFileType/alignments/consolidated/" target="_blank">http://egg2.wustl.edu/roadmap/data/byFileType/alignments/consolidated/</a></div>
<div>Unconsolidated Epigenomes (Uniform mappability): 36 bp mappability filtered primary alignment files:<br />
<a href="http://egg2.wustl.edu/roadmap/data/byFileType/alignments/unconsolidated/" target="_blank">http://egg2.wustl.edu/roadmap/data/byFileType/alignments/unconsolidated/</a></div>
<div>包括各种peaks记录文件下载</div>
<div>
<ul>
<li>Narrow contiguous regions of enrichment (peaks) for histone ChIP-seq and DNase-seq
<ul>
<li>Data format: <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format12" target="_blank">NarrowPeak</a></li>
<li><a href="http://egg2.wustl.edu/roadmap/data/byFileType/peaks/consolidated/narrowPeak/" target="_blank">http://egg2.wustl.edu/roadmap/data/byFileType/peaks/consolidated/narrowPeak/</a></li>
</ul>
</li>
</ul>
</div>
<div>
<ul>
<ul>
<li>Broad domains on enrichment for histone ChIP-seq and DNase-seq)
<ul>
<li>Data format: <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format13" target="_blank">BroadPeak</a></li>
</ul>
</li>
</ul>
</ul>
<p><a href="http://egg2.wustl.edu/roadmap/data/byFileType/peaks/consolidated/broadPeak/" target="_blank">http://egg2.wustl.edu/roadmap/data/byFileType/peaks/consolidated/broadPeak/</a></p>
<ul>
<ul>
<ul>
<li>Data format: <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format14" target="_blank">GappedPeak </a>(subset of domains containing at least one narrow peaks)</li>
</ul>
</ul>
</ul>
<p><a href="http://egg2.wustl.edu/roadmap/data/byFileType/peaks/consolidated/gappedPeak/" target="_blank">http://egg2.wustl.edu/roadmap/data/byFileType/peaks/consolidated/gappedPeak/</a></p>
<ul>
<ul></ul>
</ul>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1830.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6种方式下载ENCODE计划的所有数据</title>
		<link>http://www.bio-info-trainee.com/1825.html</link>
		<comments>http://www.bio-info-trainee.com/1825.html#comments</comments>
		<pubDate>Thu, 28 Jul 2016 14:50:00 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[broad]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[GEO]]></category>
		<category><![CDATA[iHEC]]></category>
		<category><![CDATA[UCSC]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1825</guid>
		<description><![CDATA[DNA元件百科全书(Encyclopedia of DNA Elements,  &#8230; <a href="http://www.bio-info-trainee.com/1825.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>DNA元件百科全书(Encyclopedia of DNA Elements, ENCODE)ENCODE计划的重要性我就不多说了，如果大家还不是很了解，可以直接跳到本文末尾去下载一下ENCODE教程，好好学习。该计划采用以下几种高通量测序技术来刻画了超过100种不同的细胞系或者组织内的全基因组范围内的基因调控元件信息。本来只是针对人类的，后来对mouse以及fly等模式生物也开始测这些数据并进行分析了， 叫做 modENCODE</div>
<blockquote>
<div>
<ul>
<li>chromatin structure (5C)</li>
<li>open chromatin (DNase-seq and FAIRE-seq)</li>
<li>histone modifications and DNA-binding of over 100 transcription factors (ChIP-seq)</li>
<li>RNA transcription (RNAseq and CAGE)</li>
</ul>
</div>
</blockquote>
<p><span id="more-1825"></span></p>
<div>目前所有数据均全部公开(<a href="http://genome.ucsc.edu/ENCODE/">http://genome.ucsc.edu/ENCODE/</a> )，<b><em>ENCODE results from 2007 and later are available from the ENCODE Project Portal</em></b>, <a href="https://encodeproject.org/" target="_blank">encodeproject.org</a>. 并以30篇论文在Nature、Science、Cell、JBC、Genome Biol、Genome Research同时发表(<a href="http://www.nature.com/encode">http://www.nature.com/encode</a> )。</div>
<div><b><span style="color: #ff0000;">所有数据从raw data形式的原始测序数据到比对后的信号文件以及分析好的有意的peaks文件都可以下载。</span></b></div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/b1b99613b37745ffa9d73779c4fcff19/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="DB8A373EA16A49E8B64FE5E5DB9D7D55" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/b1b99613b37745ffa9d73779c4fcff19/clipboard.png" /></div>
<div><span style="color: #555555; font-family: 'Microsoft YaHei';">我这里根据自己的学习情况，简单介绍一些</span>ENCODE计划数据下载方式，包括<b><span style="color: #ff0000;">ENCODE官网下载,UCSC下载，ENSEMBL下载，broad研究所数据，IHEC存放的数据，还有GEO下载这6种形式！！！</span></b></div>
<div></div>
<div><span style="color: #ff0000;"><b>首先在UCSC里面：</b></span></div>
<div>网址是：<a href="http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/">http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/</a>  因为是直接浏览文件，根据文件夹分类及文件名就可以任意方式下载自己感兴趣的数据啦，所以最对我胃口。</div>
<div>大家可能会比较习惯用UCSC提供的Genome Browser工具来可视化CHIP-seq的结果，而且Genome Browser里面非常多的选项可以控制各种在线资料是否跟你的数据一起显示来做对比，所以它必然有ftp服务器存放这些数据，其中比较出名的就是ENCODE计划的相关数据啦！如下图所示：</div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f0eeee6d500410ab157540652a61431/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="B7F66D3706C649F8BF7EF6936FB517F9" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8f0eeee6d500410ab157540652a61431/clipboard.png" /><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/1.png"><img class="alignnone size-full wp-image-1826" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/1.png" alt="1" width="471" height="393" /></a></div>
<div>我比较关注ENCODE计划的组蛋白数据，点击进入！</div>
<div>一般都是</div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8ad548a844124647b8fbfcdaa757f91b/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="E8B918BE90E34EBF9982EB57981441F5" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/8ad548a844124647b8fbfcdaa757f91b/clipboard.png" /></div>
<div>每个细胞系对应的各个组蛋白标记物的数据，从测序序列到比对bam文件，以及call到的peaks都可以下载！！！</div>
<div></div>
<p><b><span style="color: #ff0000;">然后是ENCODE计划的官网下载：</span></b></p>
<div>在ENCODE计划的官网上面还有各种数据处理的流程介绍：<a href="https://www.encodeproject.org/pipelines/">https://www.encodeproject.org/pipelines/</a></div>
<div>
<div>RNA-seq pipelines</div>
<div>RAMPAGE pipeline</div>
<div>Chromatin pipelines(Histone ChIP-seq Pipeline/Transcription Factor ChIP-seq Pipeline)</div>
<div>Methylation pipeline(WGBS Pipeline Overview)</div>
</div>
<div>官网的数据下载，做得像是一个购物网站，大家可以根据自己的需求把数据添加到购物篮，然后统一下载。</div>
<div>This document describes what <a href="https://www.encodeproject.org/help/getting-started/#info">data are available at the ENCODE Portal</a>, ways to <a href="https://www.encodeproject.org/help/getting-started/#use">get started searching and downloading data</a>, and an overview to how the <a href="https://www.encodeproject.org/help/getting-started/#organization">metadata describing the assays and reagents are organized</a>. ENCODE data can be visualized and accessed from <a href="https://www.encodeproject.org/about/data-access#other">other resources</a>, including the <a href="http://genome.ucsc.edu/ENCODE/">UCSC Genome Browser</a> and <a href="http://www.ensembl.org/info/website/tutorials/encode.html">ENSEMBL</a>.</div>
<div>进入 <a href="https://www.encodeproject.org/matrix/?type=Experiment">https://www.encodeproject.org/matrix/?type=Experiment</a> 可以看到里面列出了173种细胞系，148种组织，还有一堆癌症样本的，包括CHIP-seq，DNase-seq等在内的十几种高通量测序数据。</div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/43a3bca60e994c5ea633c504b730590d/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="616FF6BC4456459CAE7946AECC7F8747" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/43a3bca60e994c5ea633c504b730590d/clipboard.png" /></div>
<div><img class="alignnone  wp-image-1827" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/2.png" alt="2" width="641" height="359" /></div>
<p><b><span style="color: #ff0000;">接下来是GEO数据库里面：</span></b></p>
<div>里面直接把所有跟ENCODE相关的GSE study列出来了：<a href="http://www.ncbi.nlm.nih.gov/geo/info/ENCODE.html">http://www.ncbi.nlm.nih.gov/geo/info/ENCODE.html</a></div>
<div>GEO数据就没什么好说的了，直接进入study页面，然后下载数据即可，这也是我比较喜欢的数据下载方式，因为GEO里面对一个实验的描述很详细。</div>
<p><b><span style="color: #ff0000;">然后是broad 研究所托管的ENCODE计划的数据:</span></b></p>
<div>大名鼎鼎的broad研究所貌似是生物信息最全面的资源站点了，它不仅host了ENCODE计划的所有数据，还有它分析ENCODE计划的数据时使用的软件，工具。</div>
<div>
<div><a href="http://www.broadinstitute.org/">http://www.broadinstitute.org/</a>~anshul/projects/encode</div>
</div>
<div>原始数据在：<a href="http://www.broadinstitute.org/">http://www.broadinstitute.org/</a>~anshul/projects/encode/rawdata/</div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/9fabfa96d5744167ac15381581955ca3/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="E8F21AFA57154BDEA6B2D346005BE406" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/9fabfa96d5744167ac15381581955ca3/clipboard.png" /><img class="alignnone size-full wp-image-1828" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/3.png" alt="3" width="338" height="444" /></div>
<div></div>
<div>接着是 iHEC存放的数据：</div>
<div>
<div><a href="http://epigenomesportal.ca/ihec/download.html">http://epigenomesportal.ca/ihec/download.html</a></div>
</div>
<div>我还是第一次看到这个数据接口，也是以文件夹文件的形式直接浏览，根据自己的需求下载即可：</div>
<div>除了ENCODE计划的数据，还有Blueprint计划和roadmap计划的数据都可以下载。</p>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=1&amp;hubId=">CEEHRC</a></td>
<td>2014-09-18</td>
<td><a href="http://epigenomesportal.ca/edcc/CEEHRC_policies.html">Click here for policies</a></td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=3&amp;hubId=">Blueprint</a></td>
<td>2014-08-11</td>
<td><a href="http://www.blueprint-epigenome.eu/index.cfm?p=A73C2005-A2D3-0FDE-EF9BC386B65DF073">Click here for policies</a></td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=4&amp;hubId=">ENCODE</a></td>
<td>2011-01</td>
<td><a href="http://encodeproject.org/ENCODE/terms.html">Click here for policies</a></td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=5&amp;hubId=">NIH Roadmap</a></td>
<td>2014-05-29</td>
<td><a href="http://www.ncbi.nlm.nih.gov/geo/roadmap/epigenomics/">Click here for policies</a></td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=6&amp;hubId=">DEEP</a></td>
<td>2014-08-15</td>
<td><a href="http://www.deutsches-epigenom-programm.de/data-access/">Click here for policies</a></td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=7&amp;hubId=">CREST JST</a></td>
<td>2014-09-12</td>
<td><a href="http://epigenome.cbrc.jp/ihec/crest-data-release-policy">Click here for policies</a></td>
</tr>
<tr>
<td valign="top"><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" alt="[DIR]" data-media-type="image" data-attr-org-src-id="14EB6FC3E4414FA982589654930057BD" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/18c180f4679a4ca58f8786f1da4dba0d/folder.gif" /></td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;i=8&amp;hubId=">KNIH</a></td>
<td>2015-07-15</td>
<td><a href="http://epigenomesportal.ca/ihec/download.html?as=1&amp;hubId=">Click here for policies</a></td>
</tr>
<tr>
<th colspan="5"></th>
</tr>
</tbody>
</table>
</div>
<p><b><span style="color: #ff0000;">最后就是ENSEMBL数据库里面的：</span></b></p>
<div>我没有找到直接下载地址；<a href="http://asia.ensembl.org/info/website/tutorials/encode.html">http://asia.ensembl.org/info/website/tutorials/encode.html</a></div>
<div>
<p>The full ENCODE datasets that were used in the Ensembl regulatory build can also be viewed in the Ensembl GrCh37 archive, by attaching a track hub to Region in Detail - the link below will do this automatically:</p>
<p><a href="http://grch37.ensembl.org/Homo_sapiens/Location/View?g=ENSG00000130544;contigviewbottom=url:http://ftp.ebi.ac.uk/pub/databases/ensembl/encode/integration_data_jan2011/hub.txt;format=TRACKHUB;menu=ENCODE%20data#modal_config_viewbottom-ENCODE_data_uniformHistonePeaks" target="_blank">Link to add ENCODE integrative analysis hub</a></p>
<p>This creates a menu in the Control Panel on Region in Detail, from which you can add individual tracks or groups of tracks using matrix selectors. Cell type and experimental factor are the two principal axes; other dimensions can be selected by clicking on a box to open an additional submenu (see below).</p>
</div>
<div>如果你对ENCODE计划不是很了解，可以先看看一些教程：</div>
<div>
<div>NIH提供的ENCODE计划相关教程： <a href="https://www.genome.gov/27553900/encode-tutorials/">https://www.genome.gov/27553900/encode-tutorials/</a></div>
<div></div>
<div><a href="https://www.genome.gov/27562350/encode-workshop-april-2015-keystone-symposia/">https://www.genome.gov/27562350/encode-workshop-april-2015-keystone-symposia/</a></div>
<div><a href="https://www.genome.gov/27561253/encode-workshop-tutorial-october-2014-ashg/">https://www.genome.gov/27561253/encode-workshop-tutorial-october-2014-ashg/</a></div>
<div><a href="https://www.genome.gov/27553901/encode-tutorial-may-2013-biology-of-genomes-cshl/">https://www.genome.gov/27553901/encode-tutorial-may-2013-biology-of-genomes-cshl/</a></div>
<div></div>
<div><a href="https://www.genome.gov/27563006/encoderoadmap-epigenomics-tutorial-october-2015-ashg/">https://www.genome.gov/27563006/encoderoadmap-epigenomics-tutorial-october-2015-ashg/</a></div>
<div><a href="https://www.genome.gov/27555330/encoderoadmap-epigenomics-tutorial-october-2013-ashg/">https://www.genome.gov/27555330/encoderoadmap-epigenomics-tutorial-october-2013-ashg/</a></div>
<div><a href="https://www.genome.gov/27551933/encoderoadmap-epigenomics-tutorial-nov-2012-ashg/">https://www.genome.gov/27551933/encoderoadmap-epigenomics-tutorial-nov-2012-ashg/</a></div>
<div></div>
<div><a href="http://useast.ensembl.org/info/website/tutorials/encode.html">http://useast.ensembl.org/info/website/tutorials/encode.html</a></div>
<div></div>
<div></div>
<div><a href="https://www.encodeproject.org/tutorials/">https://www.encodeproject.org/tutorials/</a></div>
<div><a href="https://www.encodeproject.org/tutorials/encode-meeting-2016/">https://www.encodeproject.org/tutorials/encode-meeting-2016/</a></div>
<div><a href="https://www.encodeproject.org/tutorials/encode-users-meeting-2015/">https://www.encodeproject.org/tutorials/encode-users-meeting-2015/</a></div>
</div>
<div></div>
<div>DNA元件百科全书(Encyclopedia of DNA Elements, ENCODE)项目旨在描述人类基因组中所编码的全部功能性序列元件。ENCODE计划于2003年9月正式启动，吸引了来自美国、英国、西班牙、日本和新加坡五国32个研究机构的440多名研究人员的参与，经过了9年的努力，<span style="color: #ff0000;"><b>研究了147个组织类型，进行了1478次实验，获得并分析了超过15万亿字节的原始数据，确定了400万个基因开关，</b></span>明确了哪些DNA片段能打开或关闭特定的基因，以及不同类型细胞之间的“开关”存在的差异。证明所谓“垃圾DNA”都是十分有用的基因成分，担任着基因调控重任。证明人体内没有一个DNA片段是无用的。</div>
<div></div>
<div></div>
<div></div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1825.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用UCSC提供的Genome Browser工具来可视化customTrack</title>
		<link>http://www.bio-info-trainee.com/1818.html</link>
		<comments>http://www.bio-info-trainee.com/1818.html#comments</comments>
		<pubDate>Tue, 26 Jul 2016 14:59:09 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[CHIP-seq]]></category>
		<category><![CDATA[customTrack]]></category>
		<category><![CDATA[Genome Browser]]></category>
		<category><![CDATA[UCSC]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1818</guid>
		<description><![CDATA[customTrack，我这里翻译为自定义的测序片段示踪文件，可以追踪我们的re &#8230; <a href="http://www.bio-info-trainee.com/1818.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>customTrack，我这里翻译为自定义的测序片段示踪文件，可以追踪我们的reads到底比对到了参加基因组的什么区域，或者追踪参考基因组的各个区域的覆盖度，测序深度！翻译自：<a href="http://genome.ucsc.edu/goldenPath/help/customTrack.html">http://genome.ucsc.edu/goldenPath/help/customTrack.html</a>  这个非常有用！！！</div>
<div>UCSC提供的Genome Browser工具非常好用，可以很方便的浏览我们的测序数据在参考基因组的比对情况，由于定义好了一系列track的文件格式，用户可以非常方便的上传自己的track文件，但是如果用户超过48小时没有浏览自己的数据，UCSC会默认删除掉这些数据，<span style="color: #ff0000;">除非用户已经保存在session里面。或者用户可以分享这些自定义的reads示踪文件customTrack。</span></div>
<p><span id="more-1818"></span></p>
<div>UCSC已经提供了一系列customTrack的例子：click the <a href="http://genome.ucsc.edu/goldenPath/customTracks/custTracks.html">Custom Tracks</a> link</div>
<div>这些自定义的Track文件保密性非常好，如果用户感兴趣，可以按照以下4个步骤来操作：</div>
<div><b>Step 1. Format the data set</b></div>
<div>我们支持非常多的Track文件格式，尤其是标准的GFF文件，还包括：<a href="http://genome.ucsc.edu/goldenPath/help/bedgraph.html">bedGraph</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format4">GTF</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format2">PSL</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format1">BED</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bigBed.html">bigBed</a>, <a href="http://genome.ucsc.edu/goldenPath/help/wiggle.html">WIG</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bigGenePred.html">bigGenePred</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bigMaf.html">bigMaf</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bigChain.html">bigChain</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bigPsl.html">bigPsl</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bigWig.html">bigWig</a>, <a href="http://genome.ucsc.edu/goldenPath/help/bam.html">BAM</a>,<a href="http://genome.ucsc.edu/goldenPath/help/cram.html">CRAM</a>, <a href="http://genome.ucsc.edu/goldenPath/help/vcf.html">VCF</a>, <a href="http://genome.ucsc.edu/goldenPath/help/maf.html">MAF</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format1.7">BED detail</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format10">Personal Genome SNP</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format13">broadPeak</a>, <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format12">narrowPeak</a>, and <a href="http://genome.ucsc.edu/FAQ/FAQformat.html#format6.5">microarray</a> (BED15).</div>
<div>染色体一定是<em>chrN</em> 类型的标记，大小写敏感！也支持多种或者多个annotation的track文件。</div>
<div><b>Step 2. Define the Genome Browser display characteristics</b></div>
<div><b>设置浏览器选项，是否在Genome Browser里面显示UCSC的其它数据类型，包括hide/dense/pack/squish/full各种选项，包括ENCODE计划等各种公共数据是否需要显示。Add one or more optional <a href="http://genome.ucsc.edu/goldenPath/help/customTrack.html#lines">browser lines</a> to the beginning of your formatted data file to configure the overall display of the Genome Browser when it initially shows your annotation data. </b></div>
<div><b>这个非常复杂，但是一般就定义有限的几个属性即可。</b></div>
<div><b><b>Step 3. Define the annotation track display characteristics</b><br />
</b></div>
<div><b><b>设置如何显示自己的数据，包括颜色，数据名，数据描述情况。Following the browser lines--and immediately preceding the formatted data--add a <a href="http://genome.ucsc.edu/goldenPath/help/customTrack.html#TRACK">track line</a> to define the display attributes for your annotation data set. </b></b></div>
<div>下面这幅图里面的一些track的颜色，形状，注释，都是可以设置的，设置规则需要自己详细读说明书啦。</div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/cf2f9141cbe34610be6fa295302d7b21/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="D4B30D1389BD42F88BA2767D75618CA7" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/cf2f9141cbe34610be6fa295302d7b21/clipboard.png" /><a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/clipboard.png"><img class="alignnone size-full wp-image-1819" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/clipboard.png" alt="clipboard" width="662" height="138" /></a></div>
<div></div>
<div><b>Step 4. Display your annotation track in the Genome Browser</b></div>
<div><b>重点就是上传自己的文件，步骤是： </b></div>
<div><b>open the Genome Browser <a href="http://genome.ucsc.edu/index.html" target="_blank">home page</a> ,</b><b>click the Genome Browser link in the top menu bar. </b></div>
<div><b>On the <a href="http://genome.ucsc.edu/cgi-bin/hgGateway">Gateway page</a> that displays, select the genome and assembly on which your annotation data is based, then click the "add custom tracks" button.<br />
</b></div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/ad8b51739002455aa4d8f62d63162c92/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="0D658C12008D40B588AD8027D4D06BBE" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/ad8b51739002455aa4d8f62d63162c92/clipboard.png" />看到下面的图片的链接，点进去就好啦<a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/clipboard1.png"><img class="alignnone size-full wp-image-1820" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/clipboard1.png" alt="clipboard1" width="941" height="349" /></a></div>
<div><b>On the Add Custom Tracks page, load the annotation track data or URL for your custom track into the upper text box and the track documentation (optional) into the lower text box, <span style="color: #ff0000;">then click the Submit button. </span>Tracks may be loaded by entering text, a URL, or a pathname on your local computer.<br />
</b></div>
<div>用户可以提交多种格式的自定义track文件</div>
<div><b>see <a href="http://genome.ucsc.edu/goldenPath/help/customTrack.html#ADD_CT">Loading a Custom Track into the Genome Browser</a>.<br />
</b></div>
<div><b>提交完毕之后，直接回到 Genome Browser 页面就可以看到了，这个工具不默认跳转。</b></div>
<div><b> </b></div>
<div><b><b>Step 5. (Optional) Add details pages for individual track features</b><br />
</b></div>
<div><b><b><b>Step 6. (Optional) Share your annotation track with others</b><br />
</b></b></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: medium;"><b>这是可选的步骤，自己去探索：read the section <a href="http://genome.ucsc.edu/goldenPath/help/customTrack.html#SHARE">Sharing Your Annotation Track with Others</a>.</b></span></div>
<div></div>
<div><b><b>我这里添加了一个UCSC也提供的一个wig文件：<a href="http://genome.ucsc.edu/goldenPath/help/examples/wiggleExample.txt">http://genome.ucsc.edu/goldenPath/help/examples/wiggleExample.txt</a> 作为测试例子，</b></b><b><b>显示如下：<a href="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/clipboard2.png"><img class="alignnone size-full wp-image-1821" src="http://www.bio-info-trainee.com/wp-content/uploads/2016/07/clipboard2.png" alt="clipboard" width="813" height="261" /></a></b></b></div>
<div><img src="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/e5dcd88eefd94963aa5ceaa796a557fb/clipboard.png" alt="" data-media-type="image" data-attr-org-src-id="20E40359C864494A8F798444D7A905E2" data-attr-org-img-file="file:///C:/Users/Jimmy/AppData/Local/YNote/data/jmzeng1314@163.com/e5dcd88eefd94963aa5ceaa796a557fb/clipboard.png" /></div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1818.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
