<?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>Nick Crawford &#187; biopython</title>
	<atom:link href="http://www.ngcrawford.com/tag/biopython/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ngcrawford.com</link>
	<description>Evolution and more...</description>
	<lastBuildDate>Wed, 09 Jun 2010 15:56:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to emulate Blast&#8217;s &#8220;Short Sequence Parameters&#8221;</title>
		<link>http://www.ngcrawford.com/2008/10/27/how-to-emulate-blasts-short-sequence-parameters/</link>
		<comments>http://www.ngcrawford.com/2008/10/27/how-to-emulate-blasts-short-sequence-parameters/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 20:52:29 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[biopython]]></category>
		<category><![CDATA[blast]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.ngcrawford.com/?p=77</guid>
		<description><![CDATA[I just spent an hour figuring out how to emulate Blast's "Short Sequence Search Parameters" in BioPython 1.48.   To use PAM30 as your matrix you must use existence and extension parameters (e.g. gap costs) of 9 and 1.
Here's what I've currently got:
 result_handle = NCBIWWW.qblast&#40;    &#34;blastp&#34;,    &#34;nr&#34;,    [...]]]></description>
			<content:encoded><![CDATA[<p>I just spent an hour figuring out how to emulate Blast's "Short Sequence Search Parameters" in BioPython 1.48.   To use PAM30 as your matrix you must use existence and extension parameters (e.g. gap costs) of 9 and 1.</p>
<p>Here's what I've currently got:</p>
<pre class="python"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"> result_handle = NCBIWWW.<span style="color: black;">qblast</span><span style="color: black;">&#40;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    <span style="color: #483d8b;">&quot;blastp&quot;</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    <span style="color: #483d8b;">&quot;nr&quot;</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    seq_record.<span style="color: black;">seq</span>.<span style="color: black;">tostring</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    matrix_name = <span style="color: #483d8b;">'BLOSUM62'</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    word_size=<span style="color: #483d8b;">'2'</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    expect=<span style="color: #483d8b;">'30000'</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    gapcosts =<span style="color: #483d8b;">'9 1'</span>,</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    composition_based_statistics=<span style="color: #483d8b;">'no adjustment'</span><span style="color: black;">&#41;</span> </div></li></ol></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcrawford.com/2008/10/27/how-to-emulate-blasts-short-sequence-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
