<?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/"
	>

<channel>
	<title>Binary Bites</title>
	<atom:link href="http://binary.reathasandie.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://binary.reathasandie.com</link>
	<description></description>
	<pubDate>Fri, 23 Jan 2009 20:50:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>test</title>
		<link>http://binary.reathasandie.com/2009/01/23/test/</link>
		<comments>http://binary.reathasandie.com/2009/01/23/test/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 20:50:21 +0000</pubDate>
		<dc:creator>Reatha</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2009/01/23/test/</guid>
		<description><![CDATA[testing site
]]></description>
			<content:encoded><![CDATA[<p>testing site</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2009/01/23/test/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The foibles setting up a development environment on Mac OS 10.5</title>
		<link>http://binary.reathasandie.com/2008/03/28/the-foibles-setting-up-a-development-environment-on-mac-os-105/</link>
		<comments>http://binary.reathasandie.com/2008/03/28/the-foibles-setting-up-a-development-environment-on-mac-os-105/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 15:49:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[coding]]></category>

		<category><![CDATA[computers]]></category>

		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2008/03/28/the-foibles-setting-up-a-development-environment-on-mac-os-105/</guid>
		<description><![CDATA[Setting up PHP, Apache and MySQLMac OS 10.5 is a great place for web developing, as I am discovering. When I got my new MacBook Pro, I found that it had Apache already installed, including several other development tools that are useful to me, such as perl, PHP and subversion. It did not, however, have [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up PHP, Apache and MySQL<br id="kb:s" /><br id="ymo1" />Mac OS 10.5 is a great place for web developing, as I am discovering. When I got my new MacBook Pro, I found that it had Apache already installed, including several other development tools that are useful to me, such as perl, PHP and subversion. It did not, however, have MySQL.</p>
<p>Through many web searches, and much trial and error, I finally got my system up and running and working how it&#8217;s suppose to. Mostly. <span id="more-34"></span></p>
<p>Setting up Apache:<br id="iu3w" /><br id="etp-" />This was fairly easy. You can either go to the sharing screen in System Preferences and check Web Sharing:</p>
<p><a href="http://binary.reathasandie.com/wp-content/uploads/2008/03/web-sharing-pic.png" title="mac - web sharing pic"><img src="http://binary.reathasandie.com/wp-content/uploads/2008/03/web-sharing-pic.png" alt="mac - web sharing pic" height="297" width="609" /></a></p>
<p>Or you can start it via the command line:</p>
<p><span id="wjno" style="font-family: Courier New">&gt; sudo apachect1 start</span><br id="vi.2" /><br id="edpz" />Working with PHP:<br id="mdx6" /><br id="er-y" />PHP5 comes pre-installed on Leopard, but it&#8217;s not fully functional with Apache. You have to go into the Apache configuration file and tell it to use PHP.<br id="aaff" />Open up /etc/apache2/httpd.conf and uncomment the line (remove the #):<br id="i8n1" /><br id="ichz" /><code id="bvt5" style="font-family: Courier New"> #LoadModule php5_module        libexec/apache2/libphp5.so</code><br id="rmm3" /><br id="k28s" />and save the changes.<br id="s:vh" /><br id="zrgx" />Installing and running MySQL:<br id="dhfw" /><br id="x1es" />The installation of MySQL went easily and quickly, as most things do on a Mac. However, there were a few problems.<br id="x7zo" /><br id="ji0w" />First, the latest version of MySQL for Mac (5.1) doesn&#8217;t install in the same place as the system expects it to. Instead of installing in <span id="a2sw" style="font-family: Courier New">/usr/bin</span> like the system expects, the executables install in <span id="l6t8" style="font-family: Courier New">/usr/local/mysql/bin</span>. This means you have to change your environment to point to this location.<br id="iq.8" /><br id="emq2" /><span id="w2t1" style="font-family: Courier New">$PATH:/usr/local/mysql/bin</span><br id="dytz" /><br id="tizb" />The MySQL starter package caused me the most troubles. I couldn&#8217;t seem to get MySQL to start up when I booted my computer - even the GUI in System Preferences wouldn&#8217;t start the database package. <br id="xeug" /><br id="m6ha" />The problem turned out to be the location where the MySQLCOM folder was installed. The default location was <span id="os1y" style="font-family: Courier New">/usr/local</span> but Leopard needs it to be in <span id="k97f" style="font-family: Courier New">/Library/StartupItems</span> for it to work.<br id="m-dl" /><br id="shpc" />So you have to move the folder into the right place:<br id="fxe:" /><br id="zywz" /><span id="js4y" style="font-family: Courier New">&gt; sudo </span><span id="js4y" style="font-family: Courier New">cp -r /usr/local/MySQLCOM /Library/StartupItems</span><br id="tr2_" /><br id="lzel" />That should make it possible for MySQL to start up automatically every time you turn your computer on.<br id="ih0m" /><br id="tnnp" />MySQL installation has a habit of putting files in the wrong places on Leopard, the most annoying (so far) being the location of the mysql.sock file. <br id="u5eg" /><br id="tt_s" />Trying to integrate MySQL and PHP was a trial. PHP is looking for mysql.sock in /var/mysql/mysql.sock, but MySQL installed it in the old location <span id="dxtr" style="font-family: Courier New">/tmp/mysql.sock</span>.<br id="mmq5" /><br id="tl-n" />This is easily fixed, once you know what the problem is.<br id="zvpn" /> <br id="su6s" /> There are two ways to do this. The easy way:<br id="e7eg" /> <br id="zywh" /> <span id="khum" style="font-family: Courier New">&gt; sudo mkdir /var/mysql<br id="b7lf" />&gt; sudo chown _mysql /var/mysql<br id="dk2b" /> &gt; sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock<br id="x19x" /><br id="p_ip" /></span> This is the best way - and easiest - way to make it all work, especially if you want to run the DBI perl module on your system. (DBI still looks for <span id="fhve" style="font-family: Courier New">/tmp/mysql.sock</span>.)<br id="eiv8" /> <br id="o.cf" /> Or the harder way (but is probably better from a programming stand-point):<br id="c3wl" /> <br id="b_wa" />First, create a <span id="zqk:" style="font-family: Courier New">my.cnf</span> file in <span id="vy0h" style="font-family: Courier New">/etc</span> and add in:<br id="xtl:" /><br id="qmte" /><span style="font-family: Courier New"> [client]<br id="kg22" /> socket = /var/mysql/mysql.sock<br />
[mysqld]<br id="hifz" /> socket = /var/mysql/mysql.sock</span><br />
to <span id="tikz" style="font-family: Courier New">/etc/my.cnf</span><br id="o4en" /></p>
<p id="w0vh">Then, copy the socket file over to the proper directory for PHP to access. Also, create a symbolic link in the <span id="mvou" style="font-family: Courier New">/tmp</span> directory to the /<span id="ikgi" style="font-family: Courier New">var/mysql/mysql.sock</span> so that other programs that depend on that file being in <span id="h_eg" style="font-family: Courier New">/tmp</span> (ie. perl DBI::mysql) will still be able to function.<br id="yb:d" /></p>
<p><span id="khum" style="font-family: Courier New">&gt; sudo mkdir /var/mysql<br id="b7lf" />&gt;sudo chown _mysql /var/mysql<br id="zt53" />&gt; sudo mv /tmp/mysql.sock /var/mysql/mysql.sock<br id="xfks" />&gt; sudo ln -s /var/mysql/mysql.sock /tmp/mysql.sock</span><br id="sj.2" /><br id="ir8:" />This may end up causing problems if you&#8217;re using the GUI aspect of MySQL, but since I&#8217;m not, I didn&#8217;t bother to fix that.</p>
<p>Apache needs to be restarted for the changes to take effect:<br id="nso7" /><br id="j3gh" /><span id="aju8" style="font-family: Courier New">&gt; sudo apachect1 restart</span><br id="z.0h" /><br id="smy." />PHP should work after this.<br id="hbqz" /> <br id="cyxv" /> You can find out how to solve the MySQL GUI issue, as well as setting up virtual hosts on Apache from <a href="http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-105/">this blog post</a>.<br id="eafw" /></p>
<p>This solution, however, also causes problems when using the DBI perl module. As I stated above, DBI looks for <span id="uoci" style="font-family: Courier New">/tmp/mysql.sock</span> and if it doesn&#8217;t find it (as <span id="v8lj" style="font-family: Courier New">/tmp</span> is emptied upon computer shutdown), then it returns an error. <br id="tb-5" /> <br id="j310" /> I started off with the harder, more complex way, but ended up switching to the first configuration I mentioned, as it&#8217;s easier and causes less problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2008/03/28/the-foibles-setting-up-a-development-environment-on-mac-os-105/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Small == New</title>
		<link>http://binary.reathasandie.com/2008/02/14/small-new/</link>
		<comments>http://binary.reathasandie.com/2008/02/14/small-new/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 21:48:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[bioinformatics]]></category>

		<category><![CDATA[hmmmmm]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2008/02/14/small-new/</guid>
		<description><![CDATA[You know you&#8217;re in an emerging field when you see things like this:
 &#8230;Asia&#8217;s oldest bioinformatics organisation set up in 1998. (Bioinformatics research in the Asia Pacific: a 2007 update)
I simply find it worthy of note that I work and study in a field whose &#8216;old and venerable&#8217; organizations are between 10-20 years old.
Makes you [...]]]></description>
			<content:encoded><![CDATA[<p>You know you&#8217;re in an emerging field when you see things like this:</p>
<blockquote><p> &#8230;Asia&#8217;s oldest bioinformatics organisation set up in 1998. (<a href="http://www.biomedcentral.com/1471-2105/9/S1/S1">Bioinformatics research in the Asia Pacific: a 2007 update</a>)</p></blockquote>
<p>I simply find it worthy of note that I work and study in a field whose &#8216;old and venerable&#8217; organizations are between 10-20 years old.</p>
<p>Makes you realize how far we&#8217;ve come in such a short time.</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2008/02/14/small-new/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SciFi Geeks Unite!</title>
		<link>http://binary.reathasandie.com/2008/01/09/scifi-geeks-unite/</link>
		<comments>http://binary.reathasandie.com/2008/01/09/scifi-geeks-unite/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 14:42:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[scifi]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2008/01/09/scifi-geeks-unite/</guid>
		<description><![CDATA[There&#8217;s a new blog out there, called io9, and it&#8217;s pure scifi. It covers everything from spoilers of the newest scifi shows/movies to the latest info on from NASA on sunspot activity. The posts are interesting and witty, and full of nostalgia for the great scifi of the past that&#8217;s becoming lost among the shiny [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://binary.reathasandie.com/wp-content/uploads/2008/01/io9_logo.jpg" title="io9 logo"><img src="http://binary.reathasandie.com/wp-content/uploads/2008/01/io9_logo.thumbnail.jpg" alt="io9 logo" /></a>There&#8217;s a new blog out there, called <a href="http://io9.com">io9</a>, and it&#8217;s pure scifi. It covers everything from spoilers of the newest scifi shows/movies to the latest info on from NASA on sunspot activity. The posts are interesting and witty, and full of nostalgia for the great scifi of the past that&#8217;s becoming lost among the shiny gloss of Hollywood&#8217;s sudden interest.</p>
<p>One of today&#8217;s posts <a href="http://io9.com/342601/eliza-gaugers-very-best-monsters">feature Eliza Gauger</a>, the designer of the io9 logo - which is very unique, trendy and cool. She talks about a few different things, including how she became converted to the scifi monsters of the world. However, in my opinion, the best part of the entire interview is when she starts talking about  what she hopes to never see again in scifi art, one of which is &#8220;hot people&#8221;.</p>
<blockquote><p>Look at <em>Aliens</em>. Or any Cameron film from that era. If he had attractive women in his movies, and he did, they weren&#8217;t &#8220;women&#8221; in the way that movies define women: harpies, hags, or idiots. Scifi ditto. Ripley was not wearing any fucking mascara. She was a CHARACTER, she wasn&#8217;t a GIRL. Ditto for everyone else. They were people before they were badasses, or killers, or idiots. This is not a luxury in sci fi. It is a necessity. Cookie cutter characters are unbelievable, and in a wider context of unbelievable things happening (aliens, lasers, spaceships, all imaginary), it is vitally important for as much of the rest of the package to be well-developed and believable.</p></blockquote>
<p>These are the types of people I hope mold and promote scifi away from the glamour and shiny-ness of Hollywood. Scifi movies - and really, any movie that has a modicum of science in it - are already on a downslide credibility-wise, that having perfect people starring as humble scientists doesn&#8217;t really endear a lot of people. So, putting Denise Richards in a lab coat and glasses does not make her any more credible as a nuclear scientist, than if you&#8217;d cast some less-than-perfect actress. In fact, it might even detract from the movie (I know I rolled my eyes).</p>
<p>However, bad movie science is for another, and longer, post.</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2008/01/09/scifi-geeks-unite/feed/</wfw:commentRss>
		</item>
		<item>
		<title></title>
		<link>http://binary.reathasandie.com/2007/09/28/27/</link>
		<comments>http://binary.reathasandie.com/2007/09/28/27/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 20:11:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[interesting stuff]]></category>

		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2007/09/28/27/</guid>
		<description><![CDATA[There are some interesting science images over at National Geographic.
Click on the image to go directly there.

]]></description>
			<content:encoded><![CDATA[<p>There are some interesting science images over at <a href="http://www.nationalgeographic.com">National Geographic</a>.</p>
<p>Click on the image to go directly there.</p>
<p><a href="http://news.nationalgeographic.com/news/2007/09/photogalleries/science-pictures/photo2.html" title="National Geographic - MRI"><img src="http://binary.reathasandie.com/wp-content/uploads/2007/09/mri.jpg" alt="National Geographic - MRI" height="282" width="322" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2007/09/28/27/feed/</wfw:commentRss>
		</item>
		<item>
		<title>An amusing piece of online vandalism</title>
		<link>http://binary.reathasandie.com/2007/09/13/an-amusing-piece-of-online-vandalism/</link>
		<comments>http://binary.reathasandie.com/2007/09/13/an-amusing-piece-of-online-vandalism/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 13:15:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[amusing]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2007/09/13/an-amusing-piece-of-online-vandalism/</guid>
		<description><![CDATA[A co-worker found this while scanning through Wikipedia&#8217;s entry on the genetic code&#8230;


Needless to say, it&#8217;s been changed.
]]></description>
			<content:encoded><![CDATA[<p>A co-worker found this while scanning through <a href="www.wikipedia.org">Wikipedia</a>&#8217;s entry on the <a href="http://en.wikipedia.org/wiki/Genetic_code">genetic code</a>&#8230;</p>
<p><a href="http://binary.reathasandie.com/wp-content/uploads/2007/09/wikipedia_geneticcode_border.jpg" title="wikipedia_geneticcode_border.jpg"></a></p>
<p style="text-align: center" align="left"><a href="http://binary.reathasandie.com/wp-content/uploads/2007/09/wikipedia_geneticcode_border.jpg" title="wikipedia_geneticcode_border.jpg"><img src="http://binary.reathasandie.com/wp-content/uploads/2007/09/wikipedia_geneticcode_border.jpg" alt="wikipedia_geneticcode_border.jpg" align="left" height="133" width="529" /></a></p>
<p>Needless to say, it&#8217;s been changed.</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2007/09/13/an-amusing-piece-of-online-vandalism/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The power of policing and technology, when used right.</title>
		<link>http://binary.reathasandie.com/2007/08/10/the-power-of-policing-and-technology-when-used-right/</link>
		<comments>http://binary.reathasandie.com/2007/08/10/the-power-of-policing-and-technology-when-used-right/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 19:53:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2007/08/10/the-power-of-policing-and-technology-when-used-right/</guid>
		<description><![CDATA[It&#8217;s interesting to see what happens when someone who has a grasp of the capability of technology today, is also the person who can best make use of it.
When Munroe took over as chief two years ago, his department was drowning in crime and data. Police had a mass of data from 911 calls and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s interesting to see what happens when someone who has a grasp of the capability of technology today, is also the person who can best make use of it.</p>
<blockquote><p>When Munroe took over as chief two years ago, his department was drowning in crime and data. Police had a mass of data from 911 calls and crime reports; what they didn’t have was a way to connect the dots and see a pattern of behaviour.</p>
<p>Using some sophisticated software and hardware they started overlaying crime reports with other data, such as weather, traffic, sports events and paydays for large employers. The data was analyzed three times a day and something interesting emerged: Robberies spiked on paydays near cheque cashing storefronts in specific neighbourhoods. Other clusters also became apparent, and pretty soon police were deploying resources in advance and predicting where crime was most likely to occur.</p></blockquote>
<p>Link - via <a href="http://www.cbc.ca/news/background/tech/data-mining.html">CBC</a></p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2007/08/10/the-power-of-policing-and-technology-when-used-right/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mapping in Ensembl - there&#8217;s always a catch!</title>
		<link>http://binary.reathasandie.com/2007/07/15/mapping-in-ensembl-theres-always-a-catch/</link>
		<comments>http://binary.reathasandie.com/2007/07/15/mapping-in-ensembl-theres-always-a-catch/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 19:50:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[bioinformatics]]></category>

		<category><![CDATA[hmmmmm]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2007/07/15/mapping-in-ensembl-theres-always-a-catch/</guid>
		<description><![CDATA[One of my recent projects has been to map short sequences of DNA (tags) to specific positions in transcripts (ie. exons, introns, UTRs). Everything was going along nicely, until I was looking through my output data and saw something weird.
I had one sequence map itself to an exon and a 5&#8242;UTR - on the same [...]]]></description>
			<content:encoded><![CDATA[<p>One of my recent projects has been to map short sequences of DNA (tags) to specific positions in transcripts (ie. exons, introns, UTRs). Everything was going along nicely, until I was looking through my output data and saw something weird.</p>
<p>I had one sequence map itself to an exon <em>and</em> a 5&#8242;UTR - on the same transcript. This caused me some concern (and an afternoon of frustration), because it seemed that according to the Ensembl database, this one position is both an exon and a 5&#8242;UTR. I thought I had done something wrong in my code, such as calculating the start and end position of the UTRs wrong or pulling out the wrong starting position for the start of translation.</p>
<p>Seems that wasn&#8217;t the problem. What it turned out to be was partially my fault, but also partially the fault of the Ensembl gene annotation.</p>
<p><span id="more-21"></span>First, my protocol for determining locations was done in two steps. A - I retrieved all the exons (start and end positions) that were associated with a certain transcript, and used that to determine whether my tag was located within an exon, if it overlapped one of the ends of the exon, or was part of an intron. B - I pulled out the start and end of translation, which is given by the first exon and the last exon in the translated region (then pull the start and end positions from those). Anything before the start of translation was the 5&#8242;UTR and anything after then end of translation was the 3&#8242;UTR.</p>
<p>This is where the problem cropped up.</p>
<p>You see, I assumed that the translation encompassed <strong>all</strong> the exons for that transcript, and that all exons were translated. I was wrong. There are exons that are not translated (ie. UTR), but are still considered exons. (This is where &#8216;talking to others&#8217; comes in handy.)</p>
<p>I found that out of the 2800+ transcripts I was looking at, over 1100+ of them had an exon associated with the 5&#8242;UTR. It didn&#8217;t get translated, but it was considered an exon, all the same.</p>
<p>Solution: Determine whether you want to call it an exon or 5&#8242;UTR. In this case, we called it a 5&#8242;UTR. So, whenever a tag mapped to the 5&#8242;UTR of a transcript, I made sure it wasn&#8217;t mapped to an exon, as well. It was just a matter of re-arranging my code so that it looked for the 5&#8242;UTR first, and then added a flag to prevent it from evaluating it as an exon/intron.</p>
<p>Lesson learned: Always have an idea of what you&#8217;re data should look like, and actually &#8216;look through it&#8217;. Take out some random test cases - or some odd looking results - and backtrack your way through the code. Or verify these test cases through database searches or by-hand calculations. If you know what you&#8217;re <em>suppose</em> to get, it&#8217;s easier to figure out where the problem is, when compared to what you <em>actually</em> get.</p>
<p>Note to self: Learn the Ensembl API!!</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2007/07/15/mapping-in-ensembl-theres-always-a-catch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>There&#8217;s music in our genes</title>
		<link>http://binary.reathasandie.com/2007/07/08/theres-music-in-our-genes/</link>
		<comments>http://binary.reathasandie.com/2007/07/08/theres-music-in-our-genes/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 19:46:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[bioinformatics]]></category>

		<category><![CDATA[unique]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2007/07/08/theres-music-in-our-genes/</guid>
		<description><![CDATA[I recently stumbled upon this paper:
Conversion of amino-acid sequence in proteins to classical music: search for auditory patterns
Rie Takahashi &#38; Jeffrey H Miller
Genome Biology 2007, *8*:405
_&#8221;The primary goal of this work is to convert genome-encoded protein sequences into musical notes in order to hear auditory protein patterns.&#8221;_
This is an interesting - and unique - approach [...]]]></description>
			<content:encoded><![CDATA[<p>I recently stumbled upon this paper:<br />
<a href="http://genomebiology.com/2007/8/5/405">Conversion of amino-acid sequence in proteins to classical music: search for auditory patterns</a><br />
Rie Takahashi &amp; Jeffrey H Miller<br />
Genome Biology 2007, *8*:405</p>
<p>_&#8221;The primary goal of this work is to convert genome-encoded protein sequences into musical notes in order to hear auditory protein patterns.&#8221;_</p>
<p>This is an interesting - and unique - approach to analyzing protein sequences. They&#8217;ve taken many things into consideration, including codon distribution and amino acid frequency. They&#8217;ve developped rules for rhythm, range, dynamics and note lengths. Unlike previous efforts which have tried to directly translate an amino acid to a musical note, this approach uses chords and musical rules to generate these compositions.</p>
<p><span id="more-20"></span>Previous efforts to translate amino acids into notes didn&#8217;t work too well, as there seemed to be quite a few sudden shifts in range. Essentially, they sounded like a three year old banging on the piano. This approach used by Takahashi and Miller managed to reduce it down to 13 base notes _&#8221;&#8230;according to hydrophobicity and pairing of similar amino acids.&#8221;_  I don&#8217;t have a history in music or musical theory beyond three years as a clarinet player in elementary school, so I have little to no idea what&#8217;s going on when they start talking about &#8216;three-note chords&#8217;, &#8216;root position&#8217; and &#8216;first inversion chord&#8217;. (Anyone care to evaluate this for me?) The compositions are not simply &#8216;note-note-note&#8217; such as you would find in a one-on-one translation of amino acids to notes. Instead, they developped chords, which really fill out the composition and make it more auditorily (sp?) pleasing. Then, the rhythm was added, based on codon distribution among a set of 1000 codons. This approach provided the pacing for the piece, making it much more musically pleasing.</p>
<p>Listening to this, you can hear the repeats and other specific domains in a protein. Huntintin gets slightly annoying after a few seconds, but what can you expect from a protein with that many tandem repeats? After listening to a few samples, you realize that there is something off with their algorithm, because you start hearing the same sequence of notes in the same pattern, repeating through different proteins. This could be a biproduct of their algorithm, or it could just be that I&#8217;m hearing similar domains in each of the proteins. I&#8217;m leaning more towards the second explanation, because after a while your mind starts to associate the tones to one another. They only have 13 base notes, after all.</p>
<p>Personally, my favourite is the horse hemoglobin.</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2007/07/08/theres-music-in-our-genes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blogging in the Bioinformatics World.</title>
		<link>http://binary.reathasandie.com/2007/06/25/blogging-in-the-bioinformatics-world/</link>
		<comments>http://binary.reathasandie.com/2007/06/25/blogging-in-the-bioinformatics-world/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 19:43:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[bioinformatics]]></category>

		<guid isPermaLink="false">http://binary.reathasandie.com/2007/06/25/blogging-in-the-bioinformatics-world/</guid>
		<description><![CDATA[Blogs are a great way to get involved in the bioinformatics/computational biology/systems biology world. At the most basic level, it allows you to learn what others are doing, how they&#8217;re doing it and what problems they&#8217;ve encountered. It can also point you in new directions, by referencing papers, people or sites that are good/bad/instructional and [...]]]></description>
			<content:encoded><![CDATA[<p>Blogs are a great way to get involved in the bioinformatics/computational biology/systems biology world. At the most basic level, it allows you to learn what others are doing, how they&#8217;re doing it and what problems they&#8217;ve encountered. It can also point you in new directions, by referencing papers, people or sites that are good/bad/instructional and why. Additionally, there&#8217;s also the networking aspect of it, where if you&#8217;re persistent enough (but not stalker-persistent), you can gain valuable colleagues and resources. Because if you haven&#8217;t figured it out yet, in any scientific field, collaborations are gold. (Our lab in particular is involved is at least 6-8 different collaborations at any given time. This means more published papers, which leads to more funding and bigger projects.)</p>
<p>But blogging isn&#8217;t just about you getting involved in the field. It&#8217;s also about distribution of knowledge, transparency in science and global communications, which all lead to a better <em>you</em>. Having a conversation over a blog post can be a great way to develop your reasoning and researching skills. A lot of people starting out - especially those who haven&#8217;t gone through a thesis defence - have a hard time holding a reasonable &#8216;on topic&#8217; conversation with their colleagues/peers. In most cases, it&#8217;s not because of lack of knowledge, but because of an ability to express your ideas in a concise and reasoning manner. A good &#8216;on topic&#8217; conversation between two people in the same/similar field will be intelligent, well articulated and will make each participant consider new ideas or perspectives. (This type of conversation or debate is not solely isolated to the science field, but that&#8217;s what I&#8217;ll concentrate on.)</p>
<p><span id="more-19"></span>Communicating with bloggers through comments and posts on their blog or your own (if you have one), is a way to have this same type of conversation, but without the necessity of replying immediately. If you&#8217;re like me, five minutes after someone expresses some statement or idea, you come up with a response, but by then the conversation has passed on or ended. On the web, you have a chance to reason through one person&#8217;s perspective and come up with counter arguments or alternative perspectives. You don&#8217;t have the immediate pressure of face-to-face dialogue, so you can take a breath, close your eyes and determine what you want to say and how to say it most effectively. You&#8217;ll find, over time, that your ability to &#8216;think on your feet&#8217; becomes much improved.</p>
<p>You also have a chance to fact-check, which is always a plus when trying to convey a perspective or argument.</p>
<p>Leaving the conversation aspect of blogging behind, bloggers are at their core, disseminators of information. Quite honestly, none of us have time to scour the web every day for every bit of information relating to our field - well, not and do our jobs, as well. By browsing through several different blogs, each focusing on different aspects, you can keep updated on a lot of the newer technologies/techniques/breakthroughs that are happening in your field.</p>
<p>You can find blogs on almost any subject, but bioinformatics-related blogs - I&#8217;ve found - tend to be some of the most diverse. They range from programming tips/languages to science issues to ethical debates to political/religious topics to the latest trends in tech and abroad.</p>
<p>And they&#8217;re well written. I think that&#8217;s one of the most valuable aspects of blogs nowadays - the concise and even-level tone of blogs. There are thousands of great writers out there, but until the advent of the internet and blogs, they&#8217;ve been mostly confined to published works. These people then tend to become more about the writing, and less about the science they&#8217;re writing about. Blogging for bioinformaticians, as well as for many other people in many diverse fields, is done as a side project. It&#8217;s something they put thought and effort into, without the expectation of monetary reward (usually) or having to fit into a set mold (word count, views, topics, etc&#8230;). The net is not simply about net-speak and social networking sites, it&#8217;s about expressing opinions in a well thought out manner that conveys the ideas and arguments of the writer in a reasonable way. Also, having a well-written blog post garners more attention and credibility than one filled with grammatical errors, no punctuation or capitalization and overflowing with net speak. If you want to be taken seriously on the internet, you have to sound like a professional. Often, people won&#8217;t know who you are or what you do for a living or even how you act, so your words need to convey that you are intelligent, open minded and well-read, and that your opinions matter just as much as everyone else&#8217;s. Your words are all they have available to make an impression about, so don&#8217;t sound like a whiny twelve year old.</p>
<p>Blogging is also a good way to keep in touch with colleagues and friends as you move through different positions and jobs. It&#8217;s a more passive way to keep in touch than email, but just as powerful. In this field, an extended network of friends and/or colleagues are as good as gold (see above re: collaborations).</p>
<p>But reading and writing blog posts is not the end. Read the comments, too. Lots of good ideas are put forth in blog comments, including links to other material. I find a lot of my reference links that way.</p>
<p>Blogging has opened up a whole new world for the scientific community. Editorials and reviews are no longer the purview of published journals alone, and meaningful, intelligent discussions <em>can</em> occur outside these journals&#8217; discussion boards. As the internet grows, the world becomes smaller; people are able to put forth new ideas, or discuss old ones, advancing personal and professional alike. There&#8217;s a transparency developing online, in just about every aspect of life. There are no &#8216;big secrets&#8217; anymore, because there is a repository of knowledge on the internet, just waiting to be found and disseminated. The scientific community included.</p>
]]></content:encoded>
			<wfw:commentRss>http://binary.reathasandie.com/2007/06/25/blogging-in-the-bioinformatics-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

