<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Sequence on zachcp</title>
		<link>http://zachcp.org/categories/sequence/</link>
		<description>Recent content in Sequence on zachcp</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>© 2007- {year}</copyright>
		
		
			<lastBuildDate>Fri, 20 Mar 2015 08:03:00 +0000</lastBuildDate>
		
			<atom:link href="http://zachcp.org/categories/sequence/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>PyPy, Biopython and Fasta/q Parsing</title>
				<link>http://zachcp.org/blog/pypy_biopython_bench/</link>
				<pubDate>Fri, 20 Mar 2015 08:03:00 +0000</pubDate>
				<guid>http://zachcp.org/blog/pypy_biopython_bench/</guid>
				<description>&lt;img src=&#34;http://biopython.org/DIST/docs/tutorial/images/biopython.jpg&#34; width=200&gt;&#xA; &lt;img src=&#34;https://upload.wikimedia.org/wikipedia/commons/b/b0/Pypy_logo.png&#34; width=200&gt;&#xA;&lt;p&gt;&lt;em&gt;tl;dr pypy and a good algorithm can give you speed&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Can Pypy speed up your Sequence analysis? &lt;a href=&#34;http://pypy.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Pypy&lt;/a&gt; is a compiler for python that boasts a &lt;a href=&#34;http://speed.pypy.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;speedup&lt;/a&gt; of your programs relative to python. Anyone parsing through large fasta/fastq files knows that speedups are always welcome. How does pypy work for something simple and ubiquitous like iterating through a bunch of records and writing them back out? I use &lt;a href=&#34;https://github.com/lh3/seqtk&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;seqtk&lt;/a&gt; as a baseline for how fast it is possible to go and compare a few different iteration methods using python2, pypy2, python3 and pypy3. Full code is available in this &lt;a href=&#34;https://gist.github.com/zachcp/cfbbdeecb89bdd27a000&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Gist&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
