<?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; 序列截取</title>
	<atom:link href="http://www.bio-info-trainee.com/tag/%e5%ba%8f%e5%88%97%e6%88%aa%e5%8f%96/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>根据染色体起始终止点坐标来获取碱基序列</title>
		<link>http://www.bio-info-trainee.com/1049.html</link>
		<comments>http://www.bio-info-trainee.com/1049.html#comments</comments>
		<pubDate>Fri, 16 Oct 2015 11:21:27 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[生信基础]]></category>
		<category><![CDATA[UCSC]]></category>
		<category><![CDATA[基因组]]></category>
		<category><![CDATA[序列截取]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=1049</guid>
		<description><![CDATA[这次要介绍一个非常实用的工具，很多时候，我们有一个染色体编号已经染色体起始终止为 &#8230; <a href="http://www.bio-info-trainee.com/1049.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div dir="ltr">
<div>这次要介绍一个非常实用的工具，很多时候，我们有一个染色体编号已经染色体起始终止为止，我们想知道这段序列是什么样的碱基。当然我们一般用去UCSC的genome browser里面去查询，而且可以得到非常多的信息，多到正常人根本就无法完全理解。但是我如果仅仅是想要一段序列呢？</div>
<div>诚然，我们可以下载3G的那个hg19.fa文件，然后写一个脚本去拿到序列，但是毕竟太麻烦，而且一般这种需求都是临时性的需要，我们当然想要一个非常简便的方法咯。</div>
<div>我这里介绍一个非常简单的方法，是基于perl的cgi编程，当然，不需要你编程了。人家UCSC已经写好了程序，你只需要把网页地址构造好即可，比如chr17:7676091,7676196 ，那么我只需要构造下面一个网页地址</div>
<div><a href="http://genome.ucsc.edu/cgi-bin/das/hg38/dna?segment=chr17:7676091,7676196">http://genome.ucsc.edu/cgi-bin/das/hg38/dna?segment=chr17:7676091,7676196</a></div>
<div>hg38可以更换成hg19，<a href="http://genome.ucsc.edu/cgi-bin/das/hg38/dna?segment=chr17:7676091,7676196">dna?segment=</a> 后面可以按照标准格式更换，既可以返回我们想要的序列了。</div>
<div>网页会返回 一个xml格式的信息，解析一下即可。</div>
<div>This XML file does not appear to have any style information associated with it. The document tree is shown below.</div>
<div>
<div>&lt;DASDNA&gt;</div>
<div>&lt;SEQUENCE id="chr17" start="7676091" stop="7676196" version="1.00"&gt;</div>
<div>&lt;DNA length="106"&gt;</div>
<div>aggggccaggagggggctggtgcaggggccgccggtgtaggagctgctgg tgcaggggccacggggggagcagcctctggcattctgggagcttcatctg gacctg</div>
<div>&lt;/DNA&gt;</div>
<div>&lt;/SEQUENCE&gt;</div>
<div>&lt;/DASDNA&gt;</div>
<div>很明显里面的aggggccaggagggggctggtgcaggggccgccggtgtaggagctgctgg tgcaggggccacggggggagcagcctctggcattctgggagcttcatctg gacctg 就是我们想要的序列啦。</div>
<div>赶快去试一试吧</div>
<div>当然你不仅可以搜索DNA，还可以搜索很多其它的，你也不只是可以搜索人类的</div>
<div>See <a href="http://www.biodas.org/">http://www.biodas.org</a> for more info on DAS.<br />
Try <a href="http://genome.ucsc.edu/cgi-bin/das/dsn">http://genome.ucsc.edu/cgi-bin/das/dsn</a> for a list of databases.</div>
<div></div>
<div>
<pre>X-DAS-Version: DAS/0.95
X-DAS-Status: 200
Content-Type:text
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: X-DAS-Version X-DAS-Status X-DAS-Capabilities

UCSC DAS Server.
See <a href="http://www.biodas.org/">http://www.biodas.org</a> for more info on DAS.
Try <a href="http://genome.ucsc.edu/cgi-bin/das/dsn">http://genome.ucsc.edu/cgi-bin/das/dsn</a> for a list of databases.
See our DAS FAQ (<a href="http://genome.ucsc.edu/FAQ/FAQdownloads#download23">http://genome.ucsc.edu/FAQ/FAQdownloads#download23</a>)
for more information.  Alternatively, we also provide query capability
through our MySQL server; please see our FAQ for details
(<a href="http://genome.ucsc.edu/FAQ/FAQdownloads#download29">http://genome.ucsc.edu/FAQ/FAQdownloads#download29</a>).

Note that DAS is an inefficient protocol which does not support
all types of annotation in our database.  We recommend you
access the UCSC database by downloading the tab-separated files in
the downloads section (<a href="http://hgdownload.cse.ucsc.edu/downloads.html">http://hgdownload.cse.ucsc.edu/downloads.html</a>)
or by using the Table Browser (<a href="http://genome.ucsc.edu/cgi-bin/hgTables">http://genome.ucsc.edu/cgi-bin/hgTables</a>)
instead of DAS in most circumstances.</pre>
</div>
</div>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/1049.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
