<?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; CEAS</title>
	<atom:link href="http://www.bio-info-trainee.com/tag/ceas/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>使用CEAS软件来对CHIP-seq的peaks进行</title>
		<link>http://www.bio-info-trainee.com/1779.html</link>
		<comments>http://www.bio-info-trainee.com/1779.html#comments</comments>
		<pubDate>Thu, 07 Jul 2016 13:09:10 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[基础软件]]></category>
		<category><![CDATA[CEAS]]></category>
		<category><![CDATA[CHIP-seq]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1779</guid>
		<description><![CDATA[哈佛刘小乐实验室出品的软件，可以跟MACS软件call到的peaks文件无缝连接 &#8230; <a href="http://www.bio-info-trainee.com/1779.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div>哈佛刘小乐实验室出品的软件，可以跟MACS软件call到的peaks文件无缝连接，实现peaks的注释以及可视化分析</div>
<div>该软件的主页里面很清楚的介绍了它可以做的图，以及每个图的意义：<a href="http://liulab.dfci.harvard.edu/CEAS/usermanual.html">http://liulab.dfci.harvard.edu/CEAS/usermanual.html</a></div>
<div>我这里简单讲一下该软件如何安装以及使用，我这里还是使用我们的CHIP-seq分析系列教程的测试数据。</div>
<p><span id="more-1779"></span></p>
<div>## 首先安装软件，是一个python程序，非常好安装</div>
<div>
<blockquote>
<div>## Download and install CEAS</div>
<div>## <a href="http://liulab.dfci.harvard.edu/CEAS/download.html">http://liulab.dfci.harvard.edu/CEAS/download.html</a></div>
<div>cd ~/biosoft</div>
<div>mkdir CEAS  &amp;&amp;  cd CEAS</div>
<div>wget  <a href="http://liulab.dfci.harvard.edu/CEAS/src/CEAS-Package-1.0.2.tar.gz">http://liulab.dfci.harvard.edu/CEAS/src/CEAS-Package-1.0.2.tar.gz</a></div>
<div>tar zxvf CEAS-Package-1.0.2.tar.gz</div>
<div>cd  CEAS-Package-1.0.2</div>
<div>python setup.py install --user</div>
<div>## <a href="http://liulab.dfci.harvard.edu/CEAS/usermanual.html">http://liulab.dfci.harvard.edu/CEAS/usermanual.html</a></div>
<div> ~/.local/bin/ceas --help</div>
</blockquote>
<div>## 然后测试软件自带的数据</div>
<blockquote>
<div>cd ~/biosoft/CEAS</div>
<div>mkdir testData  &amp;&amp;  cd testData</div>
<div>## Human CD4T+ H3K36me3 ChIP-Seq data</div>
<div>wget <a href="http://liulab.dfci.harvard.edu/CEAS/src/H3K36me3_MACS_pval1e-5_peaks.bed.zip">http://liulab.dfci.harvard.edu/CEAS/src/H3K36me3_MACS_pval1e-5_peaks.bed.zip</a></div>
<div>wget <a href="http://liulab.dfci.harvard.edu/CEAS/src/H3K36me3.wig.zip">http://liulab.dfci.harvard.edu/CEAS/src/H3K36me3.wig.zip</a></div>
<div>#########################run CEAS in the default mode##########################</div>
<div>$ ceas -g gdb -b bed -w wig</div>
<div>where gdb, bed, and wig stands for a sqlite3 file with a gene annotation table and genome background annotation, a BED file with ChIP regions, and a WIG file with ChIP enrichment signal file, respectively.</div>
<div>#########################example for test data : ####################</div>
<div>wget <a href="http://liulab.dfci.harvard.edu/CEAS/src/hg18.refGene.gz">http://liulab.dfci.harvard.edu/CEAS/src/hg18.refGene.gz</a></div>
</blockquote>
<div>数据详情如下：</div>
<div>300M May 20  2009 H3K36me3.wig</div>
<div> 68M May 20  2009 H3K36me3.wig.zip</div>
<div>110K May 20  2009 H3K36me3_MACS_pval1e-5_peaks.bed</div>
<div> 43K May 20  2009 H3K36me3_MACS_pval1e-5_peaks.bed.zip</div>
<div> 11M Dec  2  2010 hg18.refGene</div>
<div>用测试数据来测试我们的CEAS软件：</div>
<blockquote>
<div>~/.local/bin/ceas --name=H3K36me3_ceas --pf-res=20 \</div>
<div>--gn-group-names='Top 10%,Bottom 10%' -g hg18.refGene -b H3K36me3_MACS_pval1e-5_peaks.bed -w H3K36me3.wig</div>
</blockquote>
<div></div>
<div>但是有个重点，如何获取wig文件： <a href="https://github.com/crazyhottommy/ChIP-seq-analysis">https://github.com/crazyhottommy/ChIP-seq-analysis</a></div>
<div>因为我这里只是用了bowtie比对了得到了bam文件，并没有用MACS软件</div>
<div>GSM1278641    Xu_MUT_rep1_BAF155_MUT    SRR1042593</div>
<div>GSM1278642    Xu_MUT_rep1_Input    SRR1042594</div>
<div>我用的是perl单行命令把bam文件转为wig格式，我这里就拿上面两个样本数据做例子：</div>
<blockquote>
<div>samtools depth SRR1042593.sorted.bam | perl -ne 'BEGIN{ print "track type=print wiggle_0 name=SRR1042593 description=SRR1042593\n"}; ($c, $start, $depth) = split; if ($c ne $lastC) { print "variableStep chrom=$c span=10\n"; };$lastC=$c; next unless $. % 10 ==0;print "$start\t$depth\n" unless $depth&lt;3' &gt; SRR1042593.wig</div>
<div>samtools depth SRR1042594.sorted.bam | perl -ne 'BEGIN{ print "track type=print wiggle_0 name=SRR1042594 description=SRR1042594\n"}; ($c, $start, $depth) = split; if ($c ne $lastC) { print "variableStep chrom=$c span=10\n"; };$lastC=$c; next unless $. % 10 ==0;print "$start\t$depth\n" unless $depth&lt;3' &gt; SRR1042594.wig</div>
</blockquote>
<div></div>
<div>通过上面的学习，我们学会了该软件的使用，就可以拿自己的数据来玩一玩了。</div>
<div></div>
<blockquote>
<div>## 然后处理我们直接的数据</div>
<div>mkdir annotation  &amp;&amp;  cd annotation</div>
<div>wget <a href="http://liulab.dfci.harvard.edu/CEAS/src/hg19.refGene.gz">http://liulab.dfci.harvard.edu/CEAS/src/hg19.refGene.gz</a> ; gunzip hg19.refGene.gz</div>
<div></div>
<div>~/.local/bin/ceas --name=H3K36me3_ceas --pf-res=20 --gn-group-names='Top 10%,Bottom 10%'  \</div>
<div>-g hg19.refGene -b  ../paper_results/GSM1278641_Xu_MUT_rep1_BAF155_MUT.peaks.bed -w ../rawData/SRR1042593.wig</div>
</blockquote>
<div></div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1779.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
