<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Observe.Think.Touch Nature</title>
	<atom:link href="http://evolutionontheway.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://evolutionontheway.wordpress.com</link>
	<description>Bin&#039;s space for recording research-related thinkings</description>
	<lastBuildDate>Tue, 10 Jan 2012 19:28:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='evolutionontheway.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Observe.Think.Touch Nature</title>
		<link>http://evolutionontheway.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://evolutionontheway.wordpress.com/osd.xml" title="Observe.Think.Touch Nature" />
	<atom:link rel='hub' href='http://evolutionontheway.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Calculate Nucleotide Diversity &#8212; per base pair summation method</title>
		<link>http://evolutionontheway.wordpress.com/2011/12/29/calculate-nucleotide-diversity-per-base-pair-summation-method/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/12/29/calculate-nucleotide-diversity-per-base-pair-summation-method/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 03:58:03 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Science Related]]></category>
		<category><![CDATA[Technical notes]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=911</guid>
		<description><![CDATA[The definition of (pairwise) nucleotide diversity is straightforward: the average distance between two randomly chosen DNA sequence from a population. The calculation based on this definition is also simple: sum up the pairwise differences (in nucleotides) for all possible pairs, then divide by the total number of such pairs, which yields the desired quantity. However, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=911&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The definition of (pairwise) nucleotide diversity is straightforward: the average distance between two randomly chosen DNA sequence from a population.</p>
<p>The calculation based on this definition is also simple: sum up the pairwise differences (in nucleotides) for all possible pairs, then divide by the total number of such pairs, which yields the desired quantity.</p>
<p>However, sometimes it is easier to perform the calculation on a per base pair basis, i.e. imagine you march along a multiple alignment, where your unit of calculation is a column of aligned sequences. This is particularly true when one deals with a long stretch of sequences, or when the coverage differs at different locations, as is true for today&#8217;s short reads generated from NGS.</p>
<p>I did some search on the internet and didn&#8217;t find a simple formula for this. Well, in fact, there is one, from <a title="Population Genomics: Whole-Genome Analysis of Polymorphism and Divergence in Drosophila simulans " href="http://www.plosbiology.org/article/info:doi/10.1371/journal.pbio.0050310#s3" target="_blank">this paper</a>. However it takes a bit of time to digest it. Here is a digested version, or more importantly, a way to think of the formula:</p>
<p>Think of the very original definition as two levels of summation: first sum over the length of the sequence for any random pair of DNA from the population, calculate the total number of differences; then sum that over all pairs. The grand total is then divided by the total number of pairs. Imagine if we expand the summations: every unit is just one bp difference at position X between sequence x and y, which contributed ONE to the summation in the numerator. Now let&#8217;s ask how many &#8220;ONE&#8221;s does position X contribute in total to the numerator. That depends on the frequency of either the minor or major allele. Let&#8217;s say there are n sequences in total and the minor allele at X occurs j times out of n. Then the total number of &#8220;ONE&#8221;s is easy to calculate: it is just (j choose 1) * (n-j choose 1), which equals j*(n-j). The shared denominator is (n choose 2), equaling n(n-1)/2. Therefore the following formula:</p>
<p>sum ( 2j(n-j) / n(n-1) )</p>
<p>Note that this formula does a bp-by-bp calculation and thus it seems that one can incorporate the coverage differences into the calculation by varying n for different sites. Indeed, with some simple algebra, one can show that this way of calculation equals the coverage adjusted nucleotide diversity estimate proposed by Begun et al in the paper I mentioned above. This calculation is then fairly straightforward.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/911/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/911/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/911/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/911/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/911/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/911/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/911/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/911/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=911&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/12/29/calculate-nucleotide-diversity-per-base-pair-summation-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Failure of Enhancer Prediction or failure of in-vivo validation?</title>
		<link>http://evolutionontheway.wordpress.com/2011/12/21/failure-of-enhancer-prediction-or-failure-of-in-vivo-validation/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/12/21/failure-of-enhancer-prediction-or-failure-of-in-vivo-validation/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 16:37:25 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Papers]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=896</guid>
		<description><![CDATA[Kwon, A. T., Chou, A. Y., Arenillas, D. J. &#38; Wasserman, W. W. Validation of skeletal muscle cis-Regulatory module predictions reveals nucleotide composition bias in functional enhancers. PLoS Comput Biol 7, e1002256+ (2011). URL http://dx.doi.org/10.1371/journal.pcbi.1002256. The title is a bit deceiving, as what is really reported in this article is a failure of in-vivo validation of in-silico predicted muscle enhancers. OK. straight [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=896&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Kwon, A. T., Chou, A. Y., Arenillas, D. J. &amp; Wasserman, W. W. Validation of skeletal muscle cis-Regulatory module predictions reveals nucleotide composition bias in functional enhancers. <em>PLoS Comput Biol</em> <strong>7</strong>, e1002256+ (2011). URL <a href="http://dx.doi.org/10.1371/journal.pcbi.1002256"><tt>http://dx.doi.org/10.1371/journal.pcbi.1002256</tt></a>.</p>
<p>The title is a bit deceiving, as what is really reported in this article is a failure of in-vivo validation of in-silico predicted muscle enhancers. OK. straight to what they have done:</p>
<p>The essence of the results is summarized (and hidden) in this supplementary table 2:</p>
<table width="453" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="71">Region Set</td>
<td valign="top" width="60"># Samples Allocated</td>
<td valign="top" width="64"># Cloned and Tested</td>
<td valign="top" width="58"># Viable Clones</td>
<td valign="top" width="70"># Validated as Positive</td>
<td valign="top" width="130"># Validated / # Viable Clones (%)</td>
</tr>
<tr>
<td valign="top" width="71">Background</td>
<td valign="top" width="60">192</td>
<td valign="top" width="64">88</td>
<td valign="top" width="58">55</td>
<td valign="top" width="70">4</td>
<td valign="top" width="130">7.3 %</td>
</tr>
<tr>
<td valign="top" width="71">Non-muscle</td>
<td valign="top" width="60">96</td>
<td valign="top" width="64">55</td>
<td valign="top" width="58">37</td>
<td valign="top" width="70">4</td>
<td valign="top" width="130">10.8 %</td>
</tr>
<tr>
<td valign="top" width="71">Muscle</td>
<td valign="top" width="60">384</td>
<td valign="top" width="64">198</td>
<td valign="top" width="58">186</td>
<td valign="top" width="70">11</td>
<td valign="top" width="130">5.9 %</td>
</tr>
</tbody>
</table>
<p>One can see that (1) the testing process has fairly high failure rate, such that less than half of the samples could successfully make it to the final tests; (2) among those tested, because the method has high background noise, they setup a high stringency to call a &#8220;muscle specific enhancer&#8221;. As a result, a very small fraction (&lt;10%) were called. Surprisingly, the positive hits is not at all enriched among the apriori &#8220;muscle specific gene set&#8221;. If anything, there is a deficit of positive hits in this set (although the difference is not significant according to Fisher&#8217;s Exact Test).</p>
<p>So how are these enhancer elements predicted? They used three programs, the Logistic Regression Analysis (LRA), which is the initial idea of using clusters of binding sites (1998), two later variations&#8211;MSCAN and ClusterBuster. Note that all of them were based on this idea of clustering of transcription factor binding sites. Five key TF believed to be involved in muscle development were included with their PWM taken from JASPAR. &#8212; Q: how good are these PWMs?</p>
<p>They first assembled three sets of genomic regions: muscle gene regulatory regions; non-muscle gene regulatory regions and background conserved sequences. For the first two, they took literature curated (based on microarray of gene expression profile or individual studies) muscle genes and a random set of the non-muscle genes. They conducted their searches effectively in a +/- 10kb region of a gene, that is, the gene locus plus 10kb upstream and downstream, all non-coding regions included. &#8212; Q: is 10kb enough to capture most of the enhancers? Will expand this range include more authentic ones and thus raise their heuristic threshold for calling a significant enrichment for enhancers?</p>
<p>One detail worth noticing is that the constructs they tested are very short, at most 400 bp long (1st. and 3rd. quartiles are 259bp and 365 bp). This is surprising to me as even in <em>Drosophila</em> where the enhancers are known to be quite compact, a 300bp enhancer is considered extremely short. &#8212; Q: is this short length a result of the prediction algorithms or artificially trimmed to make them amenable to cloning and testing? Critically, if we believe that minimal functional enhancers in human are on average much longer than 400bp (which is not unreasonable given our knowledge about minimal enhancer length in <em>Drosophila</em> and the comparison between human and flies), could this short length be a key contributor to the surprisingly low validation rate???</p>
<p>There is more details pertaining to their methodologies, such as how they determine whether an amplicon drives &#8220;muscle specific gene expression&#8221; or not, involving the use of three different cell lines. I&#8217;m not sure whether the cell line systems are good enough to capture the essential biologies. Naively, suppose we know the truth functional enhancers for muscle development in-vivo, how many of them can be detected in this cell line system? But since those technical details are well beyond my expertise, I&#8217;ll leave them to someone who is more qualified at to critique.</p>
<p>Overall, I find the short length of the inserts the most concerning, and to me that may explain the low success rate of validation. But I&#8217;m also not surprised if truly the predictions don&#8217;t work that well, which suggests additional rules necessary for predicting enhancer elements.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/896/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/896/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/896/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/896/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/896/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/896/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/896/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/896/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=896&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/12/21/failure-of-enhancer-prediction-or-failure-of-in-vivo-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding SSH login with public key</title>
		<link>http://evolutionontheway.wordpress.com/2011/11/13/understanding-ssh-login-with-public-key/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/11/13/understanding-ssh-login-with-public-key/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 16:37:18 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Science Related]]></category>
		<category><![CDATA[Technical notes]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=878</guid>
		<description><![CDATA[[ref] http://www.unixwiz.net/techtips/ssh-agent-forwarding.html http://mah.everybody.org/docs/ssh [Notes] use ssh-keygen to generate a public-private key pair. The public key is stored in id_rsa.pub (or id_dsa.pub). This need to be copied to the server YOU ARE CONNECTING TO, into the ~/.ssh/autherized_keys the private key is stored in id_rsa (or id_dsa). To connect to the same server from another remote machine, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=878&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>[ref]</p>
<p>http://www.unixwiz.net/techtips/ssh-agent-forwarding.html</p>
<p>http://mah.everybody.org/docs/ssh</p>
<p>[Notes]</p>
<ol>
<li>use ssh-keygen to generate a public-private key pair.</li>
<li>The public key is stored in id_rsa.pub (or id_dsa.pub). This need to be copied to the server YOU ARE CONNECTING TO, into the ~/.ssh/autherized_keys</li>
<li>the private key is stored in id_rsa (or id_dsa). To connect to the same server from another remote machine, copy this file to that machine&#8217;s ~/.ssh/ folder</li>
<li>The security mechanism of the public-private key pairs are still unclear to me (I get some part by reading online). Somehow the security aspect is related to the fact that during the process of the authentification, the private key itself is NEVER sent via the network. Instead, the local ssh program use the private key to compute a message, sometimes called digital signature, which is sent to the server. The signature is related to the key pair such that anyone who knows the public key can use the signature to verify the identity of the other party. But because the private key itself is never sent, and that the signature is only one-time generated, will change the next time, no one should be able to guess your private key based on the signature and/or the public key.
<p>I found this site gives a relatively clear explanation:</p>
<p>[ref]</p>
<p>http://www.unixwiz.net/techtips/ssh-agent-forwarding.html</p>
<h1 id="chal">How Key Challenges Work</h1>
<p><img src="http://www.unixwiz.net/images/ssh-key-challenge.gif" alt="key challenge generation" width="236" height="219" /></p>
<p>One of the more clever aspects of the agent is how it can verify a user&#8217;s identity (or more precisely, possession of a private key) without revealing that private key to anybody. This, like so many other things in modern secure communications, uses public key encryption.</p>
<p>When a user wishes access to an ssh server, he presents his username to the server with a request to set up a key session. This username helps locate the list of public keys allowed access to that server: typically it&#8217;s found in the <strong>$HOME/.ssh/authorized_keys</strong> file.</p>
<p>The server creates a &#8220;challenge&#8221; which can only be answered by one in possession of the corresponding private key: it creates and remembers a large random number, then encrypts it with the user&#8217;s public key. This creates a buffer of binary data which is sent to the user requesting access. To anybody without the private key, it&#8217;s just a pile of bits.</p>
<p><img src="http://www.unixwiz.net/images/ssh-key-response.gif" alt="key response generation" width="236" height="379" /></p>
<p>When the agent receives the challenge, it decrypts it with the private key. If this key is the &#8220;other half&#8221; of the public key on the server, the decryption will be successful, revealing the original random number generated by the server. Only the holder of the private key could ever extract this random number, so this constitutes proof that the user is the holder of the private key.</p>
<p>The agent takes this random number, appends the SSH session ID (which varies from connection to connection), and creates an MD5 hash value of the resultant string: this result is sent back to the server as the key response.</p>
<p>The server computes the same MD5 hash (random number + session ID) and compares it with the key response from the agent: if they match, the user must have been in possession of the private key, and access is granted. If not, the next key in the list (of any) is tried in succession until a valid key is found, or no more authorized keys are available. At that point, access is denied.</p>
<p>Curiously, the actual random number is never exposed in the client/agent exchange &#8211; it&#8217;s sent encrypted <strong>to</strong>the agent, and included in an MD5 hash <strong>from</strong> the agent. It&#8217;s likely that this is a security precaution designed to make it harder to characterize the properties of the random number generator on the server by looking at the the client/agent exchange.</p>
<p>More information on MD5 hashes can be found in <a href="http://www.unixwiz.net/techtips/iguide-crypto-hashes.html">An Illustrated Guide to Cryptographic Hashes</a>, also on this server.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/878/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/878/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/878/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=878&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/11/13/understanding-ssh-login-with-public-key/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>

		<media:content url="http://www.unixwiz.net/images/ssh-key-challenge.gif" medium="image">
			<media:title type="html">key challenge generation</media:title>
		</media:content>

		<media:content url="http://www.unixwiz.net/images/ssh-key-response.gif" medium="image">
			<media:title type="html">key response generation</media:title>
		</media:content>
	</item>
		<item>
		<title>gDNA extraction for Drosophila in 96-well plates</title>
		<link>http://evolutionontheway.wordpress.com/2011/10/05/gdna-extraction-for-drosophila-in-96-well-plates/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/10/05/gdna-extraction-for-drosophila-in-96-well-plates/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 18:16:05 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Technical notes]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=869</guid>
		<description><![CDATA[see method in this website: http://flysnp.imp.ac.at/methods.html#isolation Here is a copy of the pdf file content: Single fly genomic DNA preparation This is a short protocol for the isolation of genomic DNA from a single fly for PCR applications. Of the DNA yield, 1-5µl were used to perform PCR reactions. Squishing Buffer (SB): 10mM Tris-HCl pH8.2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=869&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>see method in this website:</p>
<p>http://flysnp.imp.ac.at/methods.html#isolation</p>
<p>Here is a copy of the pdf file content:</p>
<pre>Single fly genomic DNA preparation
This is a short protocol for the isolation of genomic DNA from a
single fly for PCR applications. Of the DNA yield, 1-5µl were
used to perform PCR reactions.
Squishing Buffer (SB):
 10mM Tris-HCl pH8.2
 1mM EDTA
 25mM NaCl
 200µg/ml Proteinase K (store 4mg/ml stock solution in –80˚C and
  add 1/20 to the SB just before use)
1. Add Proteinase K to the Squishing Buffer (SB) freshly from the
stock.
2. Place each single fly in wells of a 96 well plate and mash the
fly for 5-10 seconds with the tips of a multi-pipette
containing 50µl of SB each, without expelling any liquid
(sufficient liquid escapes from the tip). Expel the remaining
SB.
3. Incubate at 37˚C for 30 minutes.
4. Inactivate the Proteinase K by heating to 95˚C for 5 minutes.
It is convenient to use the PCR machine.
5. Add 50µl of TE or H2O. Use 1µl for PLP-PCR (~200bp), or 2-5µl
for normal PCR (~1kb).</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/869/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/869/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/869/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=869&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/10/05/gdna-extraction-for-drosophila-in-96-well-plates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing hypothesis on the evolutionary forces maintaining gene clusters</title>
		<link>http://evolutionontheway.wordpress.com/2011/10/02/testing-hypothesis-on-the-evolutionary-forces-maintaining-gene-clusters/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/10/02/testing-hypothesis-on-the-evolutionary-forces-maintaining-gene-clusters/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 02:48:43 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Papers]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=864</guid>
		<description><![CDATA[A test of the coordinated expression hypothesis for the origin and maintenance of the GAL cluster in yeast. Lang GI and Botstein D. 2011. PLoS ONE. Sep 22; 10.1371/journal.pone.0025290. [PDF] [Motivation] What is the evolutionary force that favors the clustering of genes functioning in the same pathway? [Hypothesis] coordinated expression, perhaps to facilitate &#8220;channeling&#8221; of toxic intermediates in metabolic pathways [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=864&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>A test of the coordinated expression hypothesis for the origin and maintenance of the <em>GAL</em> cluster in yeast.</strong><br />
<span style="text-decoration:underline;">Lang GI</span> and Botstein D. 2011. <em>PLoS ONE</em>. Sep 22; 10.1371/journal.pone.0025290. <a href="http://www.genomics.princeton.edu/glang/PLoSONE2011.pdf" target="_blank">[PDF]</a></p>
<p>[Motivation]</p>
<p>What is the evolutionary force that favors the clustering of genes functioning in the same pathway?</p>
<p>[Hypothesis]</p>
<ol>
<li>coordinated expression, perhaps to facilitate &#8220;channeling&#8221; of toxic intermediates in metabolic pathways</li>
<li>to utilize the genetic linkage to preserve co-adapted genes.</li>
<li>reflect a history with frequent horizontal transfers.</li>
</ol>
<div>[Results]</div>
<div>
<ul>
<li>It seems to me that the results are quite inconclusive, despite the question being highly motivating. Their test for the first hypothesis, namely the clustering is favored because it contributes to coordinated expression, is achieved by tagging two genes in the pathway by different fluorescence proteins. Importantly, in a diploid cell, they only tag one copy of the gene and as a result, there are two ways of tagging: tagging the two genes on the same chromosome or two that are on different chromosomes. The hypothesis, therefore, can be tested by reading the expression correlation between the two genes tagged either in cis (same chromosome) or trans (on different chromosome).
<p>While this is all good, I think there is a possibility that one or both of the genes might harbor some self-regulating abilities. Let&#8217;s look at the trans case. Although the two genes whose expression are being monitored are on different chromosomes, each of them does have another copy non-tagged. If their expression are partially self-regulated, then having one untagged copy in cis could potentially coordinate the expression of the two copies. While this may sound absurd, given that no explicit mechanism for coordinated expression is being offered and tested here, we could envision any possible mechanism.</p>
<p>To circumvent this problem, I would like to see this experiment redesigned with some elements borrowed from the second experiment, namely knocking out one copy (the untagged) and leave just one. This should eliminate the self-regulation concern. Given that they had done the second experiment, the additional experiments should be feasible.</li>
<li>Concerning the test for the second hypothesis, my concern is that they don&#8217;t see a fitness difference not because there is not or it is too small for them to see in their experiments, but that the experiment design has fault that prevents them from seeing the effect. My reasoning is that the fitness difference, if any, should result from incompatibility between gene pairs that have each co-adapted with their native partners and when brought together behave less fit than either wildtype. The assumption here is that there has been co-evolution. In this case, I think it is crucial to pick two strains that are reasonably diverged &#8212; either two closely related species that can still make hybrids, or two distant strains within a species that harbor different ecological niches with regard to the function of the GAL pathway. In absence of that (the authors mentioned that all strains used in this experiment are derived from the same strain), I don&#8217;t see how this experiment can test the hypothesis.</li>
</ul>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/864/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/864/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/864/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=864&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/10/02/testing-hypothesis-on-the-evolutionary-forces-maintaining-gene-clusters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Huxly  &#8212; pondering upon human&#8217;s position in nature</title>
		<link>http://evolutionontheway.wordpress.com/2011/09/20/huxly-pondering-upon-humans-position-in-nature/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/09/20/huxly-pondering-upon-humans-position-in-nature/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 23:22:18 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Humanity]]></category>
		<category><![CDATA[Science Related]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=859</guid>
		<description><![CDATA[from Huxley &#8220;Man and the Lowest Animals&#8221; (1861) &#8230;&#8230; Perhaps no order of mammals presents us with so extraordinary a series of gradations as this–leading us insensibly from the crown and summit of the animal creation down to creatures, from which there is but a step, as it seems, to the lowest, smallest, and least [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=859&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="JUSTIFY">from Huxley &#8220;Man and the Lowest Animals&#8221; (1861)</p>
<p align="JUSTIFY">&#8230;&#8230;</p>
<p align="JUSTIFY">Perhaps no order of mammals presents us with so extraordinary a series of gradations as this–leading us insensibly from the crown and summit of the animal creation down to creatures, from which there is but a step, as it seems, to the lowest, smallest, and least intelligent of the placental Mammalia. It is as if nature herself had foreseen the arrogance of man, and with Roman severity had provided that his intellect by its very triumphs, should call into prominence the slaves, admonishing the conqueror that he is but dust.</p>
<p align="JUSTIFY">These are the chief facts, this the immediate conclusion from them to which I adverted in the commencement of this Essay. The facts, I believe, cannot be disputed; and if so, the conclusion appears to me to be inevitable.</p>
<p align="JUSTIFY">But if Man be separated by no greater structural barrier from the brutes than they are from one another–then it seems to follow that if any process of physical causation can be discovered by which the genera and families of ordinary animals have been produced, that process of causation is [147] amply sufficient to account for the origin of Man. In other words, if it could be shown that the Marmosets, for example, have arisen by gradual modification of the ordinary Platyrhini, or that both Marmosets and Platyrhini are modified ramifications of a primitive stock–then, there would be no rational ground for doubting that man might have originated, in the one case, by the gradual modification of a man-like ape; or, in the other case, as a ramification of the same primitive stock as those apes.</p>
<p align="JUSTIFY">At the present moment, but one such process of physical causation has any evidence in its favour; or, in other words, there is but one hypothesis regarding the origin of species of animals in general which has any scientific existence–that propounded by Mr. Darwin. For Lamarck, sagacious as many of his views were, mingled them with so much that was crude and even absurd, as to neutralize the benefit which his originality might have effected, had he been a more sober and cautious thinker; and though I have heard of the announcement of a formula touching &#8220;the ordained continuous becoming of organic forms,&#8221; it is obvious that it is the first duty of a hypothesis to be intelligible, and that a qua-quâ-versal proposition of this kind, which may be read backwards, or forwards, or sideways, with exactly the same amount of signification, does not really exist, though it may seem to do so.</p>
<p align="JUSTIFY">[148] At the present moment, therefore, the question of the relation of man to the lower animals resolves itself, in the end, into the larger question of the tenability, or untenability, of Mr. Darwin&#8217;s views. But here we enter upon difficult ground, and it behoves us to define our exact position with the greatest care.</p>
<p align="JUSTIFY">It cannot be doubted, I think, that Mr. Darwin has satisfactorily proved that what he terms selection, or selective modification, must occur, and does occur, in nature; and he has also proved to superfluity that such selection is competent to produce forms as distinct, structurally, as some genera even are. If the animated world presented us with none but structural differences, I should have no hesitation in saying that Mr. Darwin had demonstrated the existence of a true physical cause, amply competent to account for the origin of living species, and of man among the rest.</p>
<p align="JUSTIFY">&#8230;&#8230;</p>
<p align="JUSTIFY">On all sides I shall hear the cry–&#8221;We are men [152] and women, not a mere better sort of apes, a little longer in the leg, more compact in the foot, and bigger in brain than your brutal Chimpanzees and Gorillas. The power of knowledge–the conscience of good and evil–the pitiful tenderness of human affections, raise us out of all real fellowship with the brutes, however closely they may seem to approximate us.&#8221;</p>
<p align="JUSTIFY">To this I can only reply that the exclamation would be most just and would have my own entire sympathy, if it were only relevant. But, it is not I who seek to base Man&#8217;s dignity upon his great toe, or insinuate that we are lost if an Ape has a hippocampus minor. On the contrary, I have done my best to sweep away this vanity. I have endeavoured to show that no absolute structural line of demarcation, wider than that between the animals which immediately succeed us in the scale, can be drawn between the animal world and ourselves; and I may add the expression of my belief that the attempt to draw a psychical distinction is equally futile, and that even the highest faculties of feeling and of intellect begin to germinate in lower forms of life.<sup><a name="cite8" href="http://aleph0.clarku.edu/huxley/CE7/RelM-L-A.html#note8"></a>8</sup> At the same [153] time, no one is more strongly convinced than I am of the vastness of the gulf between civilized man and the brutes; or is more certain that whether <em>from</em> them or not, he is assuredly not <em>of</em> them. No one is less disposed to think lightly of the present dignity, or desparingly of the future hopes, of the only consciously intelligent denizen of this world.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/859/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=859&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/09/20/huxly-pondering-upon-humans-position-in-nature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Barak Cohen &#8212; Learning Regulatory Code from Synthetic Promoters</title>
		<link>http://evolutionontheway.wordpress.com/2011/09/20/barak-cohen-learning-regulatory-code-from-synthetic-promoters/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/09/20/barak-cohen-learning-regulatory-code-from-synthetic-promoters/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 18:06:55 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Papers]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=854</guid>
		<description><![CDATA[Gertz, J., Siggia, E. D. &#38; Cohen, B. A. Analysis of combinatorial cis-regulation in synthetic and genomic promoters. Nature 457, 215-218 (2008). URLhttp://dx.doi.org/10.1038/nature07521. a technical note the expression level was measured by fluorescence to cell volume ratio for 25,000 cells in flowcytometry and take the mean. The reason to use the ratio is that the number of transcripts, i.e. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=854&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Gertz, J., Siggia, E. D. &amp; Cohen, B. A. Analysis of combinatorial cis-regulation in synthetic and genomic promoters. <em>Nature</em> <strong>457</strong>, 215-218 (2008). URL<a href="http://dx.doi.org/10.1038/nature07521"><tt>http://dx.doi.org/10.1038/nature07521</tt></a>.</p>
<ul>
<li>a technical note<br />
the expression level was measured by fluorescence to cell volume ratio for 25,000 cells in flowcytometry and take the mean. The reason to use the ratio is that the number of transcripts, i.e. expression level, depends on not only the promoter strength but also the cell&#8217;s &#8220;developmental stage&#8221;. Naively, one would expect that a cell grows its size and linearly increases its transcript number. Therefore the logic behind this ratio measure.</li>
<li>1st result &#8212; Mig1 binds cooperatively
<p><div id="attachment_855" class="wp-caption alignnone" style="width: 384px"><a href="http://evolutionontheway.files.wordpress.com/2011/09/hill_coefficient.png"><img class="size-full wp-image-855" title="hill_coefficient" src="http://evolutionontheway.files.wordpress.com/2011/09/hill_coefficient.png" alt="" width="374" height="228" /></a><p class="wp-caption-text">Hill equation with a Hill coefficient of 3.4 and K 5 1.8 (red) fits the observed data (blue) well, compared to a Hill equation with a Hill coefficient of 1 (green).</p></div></li>
<li>Role of weak binding sites<br />
It&#8217;s a bit different than what I used to understand. Here is my current (I think correct) understanding: weak sites, when nearby a strong site, doesn&#8217;t get promoted to be a strong site, at least according to the model. This is what I used to believe what they suggest. But in fact, they estimated a free parameter that measures the ratio of affinity of MIG1 protein to the weak site to its affinity to a strong site, which gives 6.7. They claim that this is in the 95% CI of the PWM prediction, which suggests 9 fold lower affinity for the weaker site. The reason they suggest a weak site is useful is through its cooperative binding with the strong site. ( how is this the case? ) See figure below:</p>
<p><div id="attachment_856" class="wp-caption alignnone" style="width: 477px"><a href="http://evolutionontheway.files.wordpress.com/2011/09/weak_site.png"><img class="size-full wp-image-856" title="weak_site" src="http://evolutionontheway.files.wordpress.com/2011/09/weak_site.png" alt="" width="467" height="194" /></a><p class="wp-caption-text">Plots of expression for pairs of promoters that are almost identical except that either one strong Mig1 site or two strong Mig1 sites replace one strong and one weak Mig1 site. A blue circle represents one promoter pair and the red line represents equal expression.</p></div></li>
<li>Role of weak binding sites in vivo<br />
They have two strategies to link their findings from the synthetic libraries to the in vivo biology<br />
(1) compare the number of co-occurrence of weak site in promoters that harbor a strong site with that of shuffled promoters<br />
(2) they did a slightly trickier comparison: they found 359 promoters that contain at least one strong Mig1 site from all yeast promoters. They then applied their thermodynamic model through all the promoters, rank them by the predicted Mig1 repression and take the top ranking 359. As a test, they had 136 documented Mig1 target genes (perhaps by some microarray assays). They use this as a reference set and ask how much could the two 359 promoters sets overlap with the 136 biologically defined targets. In the end, their thermodynamic model predicted set predicts 8 more promoters out of the 136 (41 vs 33). This demonstrates that the thermodynamic model captures more features of repression than a simple look for strong hit.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/854/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=854&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/09/20/barak-cohen-learning-regulatory-code-from-synthetic-promoters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>

		<media:content url="http://evolutionontheway.files.wordpress.com/2011/09/hill_coefficient.png" medium="image">
			<media:title type="html">hill_coefficient</media:title>
		</media:content>

		<media:content url="http://evolutionontheway.files.wordpress.com/2011/09/weak_site.png" medium="image">
			<media:title type="html">weak_site</media:title>
		</media:content>
	</item>
		<item>
		<title>Weak selection in evolutionary game</title>
		<link>http://evolutionontheway.wordpress.com/2011/09/09/weak-selection-in-evolutionary-game/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/09/09/weak-selection-in-evolutionary-game/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 20:01:32 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Seminars]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=844</guid>
		<description><![CDATA[Philipp M. Altrock The conditional fixation time can be longer on average for a weakly selected mutation (positively) than a neutral mutation. (Martin Novak comment: this might be because we are calculating the &#8220;conditional fixation time&#8221;. In such cases, most of the neutral mutations don&#8217;t make it to fixation. Those that do make it have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=844&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Philipp M. Altrock</p>
<p>The conditional fixation time can be longer on average for a weakly selected mutation (positively) than a neutral mutation. (Martin Novak comment: this might be because we are calculating the &#8220;conditional fixation time&#8221;. In such cases, most of the neutral mutations don&#8217;t make it to fixation. Those that do make it have a certain average time between arise and fixation. For weakly selected mutations, the effect of selection is weak and therefore the difference in time is not large. However, when mutations are weakly selected, they are more likely to go to fixation, however also hang around for a longer time.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/844/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/844/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/844/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=844&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/09/09/weak-selection-in-evolutionary-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Compare directories in Unix using diff command</title>
		<link>http://evolutionontheway.wordpress.com/2011/09/01/compare-directories-in-unix-using-diff-command/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/09/01/compare-directories-in-unix-using-diff-command/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 15:28:38 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Technical notes]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=833</guid>
		<description><![CDATA[from http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/ How To Compare Directories in Unix June 9th, 2008 &#124; Basic stuff, Unix Hi! If you&#8217;re new here, you may want to subscribe to the Unix Tutorial RSS feed to get regular tips &#38; tricks for all flavors of Unix. You can follow me on Twitter, too! Thanks for visiting! Certain situations require you to quickly confirm which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=833&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>from http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/</p>
<h1>How To Compare Directories in Unix</h1>
<p>June 9th, 2008 | <a title="View all posts in Basic stuff" href="http://www.unixtutorial.org/category/basic/" rel="category tag">Basic stuff</a>, <a title="View all posts in Unix" href="http://www.unixtutorial.org/category/unix/" rel="category tag">Unix</a></p>
<div>
<div>
<p>Hi! If you&#8217;re new here, you may want to subscribe to the <a href="http://www.unixtutorial.org/feed/"><strong>Unix Tutorial RSS feed</strong></a> to get regular tips &amp; tricks for all flavors of Unix. You can <a href="http://twitter.com/PerfectBlogger">follow me on Twitter</a>, too! Thanks for visiting!</p>
</div>
<p>Certain situations require you to quickly confirm which files between two directories are different, and while your particular requirements may suggest writing a script for this task, I want to make sure you&#8217;re familiar with the basics first – majority of directory comparisons can be done using <strong>diff </strong>command (yes, that&#8217;s right – the same one used for<a title="Comparing text files" href="http://www.unixtutorial.org/2008/02/compare-text-files-using-diff/">comparing files</a>).</p>
<h3>Why compare directories?</h3>
<p>First of all, let&#8217;s agree on why you may need to compare directories. There&#8217;s a few possible reasons:</p>
<ul>
<li><strong>identifying if some files are missing from one of the directories</strong> – can be useful when you want to make sure two directories with configuration files for a certain package are identical – files can be different, but the same files are present in the same locations for both directories</li>
<li><strong>confirming if files in two directories are the same</strong> – a typical task when comparing your actual data against a backup copy. When something goes wrong, this is one of the first things you do to make sure all the important files are not only present, but are actually the same as they have been when you took the last backup copy</li>
<li><strong>highlighting textual differences between files in directories</strong> – this is a useful exercise when you&#8217;re looking at two similar directories and expect only minor changes between the files – version numbers, different file or directory names hardcoded in various scripts, etc.</li>
</ul>
<h3>Test setup for comparison exercises</h3>
<p>For today&#8217;s post, I&#8217;ve created a set of directories and files to show how you can compare them. Here is the setup:</p>
<pre>ubuntu$ <strong>find /tmp/dir1 /tmp/dir2</strong>
/tmp/dir1
/tmp/dir1/file1
/tmp/dir1/file2
/tmp/dir1/dir11
/tmp/dir1/dir11/file11
/tmp/dir1/dir11/file12
/tmp/dir2
/tmp/dir2/file1
/tmp/dir2/dir11
/tmp/dir2/dir11/file11
/tmp/dir2/dir11/file12
/tmp/dir2/file3</pre>
<p>As you can see, I&#8217;ve got two directories: <em>/tmp/dir1</em> and <em>/tmp/dir2</em>, with a dir11 subdirectory in each of them. There&#8217;s also a few files here and there, some of them missing from one of the directories specifically to be highlighted by our comparison exercises.</p>
<h3>Basic diff usage for comparing directories</h3>
<p>The easiest way to get started is to simply invoke diff command and specify two directories as command line parameters. Here&#8217;s what you will probably see:</p>
<pre>ubuntu$ <strong>diff /tmp/dir1 /tmp/dir2</strong>
Common subdirectories: /tmp/dir1/dir11 and /tmp/dir2/dir11
diff /tmp/dir1/file1 /tmp/dir2/file1
1d0
&lt; New line
Only in /tmp/dir1: file2
Only in /tmp/dir2: file3</pre>
<p>This output confirms that <em>/tmp/dir1</em> and <em>/tmp/dir2 </em>both contain a dir11 directory, and also shows that <em>/tm/dir1/file1</em> and <em>/tmp/dir2/file1</em> are actually different files even though they have the same name. By default, diff compares such files and you can see the result of each comparison in the output. Also included are pointers to the files which are present only in one of the compared directories: you can see that<em>file2 </em>can only be found in <em>/tmp/dir1</em> and <em>file3 </em>was present only in<em>/tmp/dir2</em>.</p>
<h3>Find which files are missing in one of the directories</h3>
<p>From the example below, it is easy to deduct that the command line for identifying files missing in one of the directories will be this one:</p>
<pre>ubuntu$ <strong>diff /tmp/dir1 /tmp/dir2 | grep Only</strong>
Only in /tmp/dir1: file2
Only in /tmp/dir2: file3</pre>
<h3>Highlight the different files, not the differences</h3>
<p>If you&#8217;re only interested in files which exist in both directory structures, but are different – you can use a special command line option. It will simply point the files out, without getting into any further details. You&#8217;ll probably notice how this output is very similar to the default one:</p>
<pre>ubuntu$ <strong>diff --brief /tmp/dir1 /tmp/dir2</strong>
Common subdirectories: /tmp/dir1/dir11 and /tmp/dir2/dir11
Files /tmp/dir1/file1 and /tmp/dir2/file1 differ
Only in /tmp/dir1: file2
Only in /tmp/dir2: file3</pre>
<p>Note how instead of showing the difference between <em>file1 </em>in <em>/tmp/dir1</em>and <em>/tmp/dir2</em>, this time you only get told that these two files are different.</p>
<h3>How to recursively compare directories</h3>
<p>If you&#8217;re dealing with a complex directory structure, you&#8217;ll be glad to know that –recursive parameter for the <strong>diff </strong>command compares not only the immediate directories pointed to from the command line, but also walks through the full tree of subdirectories:</p>
<pre>ubuntu$ <strong>diff --recursive --brief /tmp/dir1 /tmp/dir2</strong>
Files /tmp/dir1/dir11/file12 and /tmp/dir2/dir11/file12 differ
Files /tmp/dir1/file1 and /tmp/dir2/file1 differ
Only in /tmp/dir1: file2
Only in /tmp/dir2: file3</pre>
<p>Feel better now? Many directory comparison tasks can be accomplished using the diff command, but if you&#8217;re stuck with a particular problem which can&#8217;t be solved using my examples – please leave a commend and I&#8217;ll come up with a solution.</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/833/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=833&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/09/01/compare-directories-in-unix-using-diff-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>
	</item>
		<item>
		<title>Fly Work &#8212; reference article from Bloomington Stock Center</title>
		<link>http://evolutionontheway.wordpress.com/2011/08/29/fly-work-reference-article-from-bloomington-stock-center/</link>
		<comments>http://evolutionontheway.wordpress.com/2011/08/29/fly-work-reference-article-from-bloomington-stock-center/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 20:06:37 +0000</pubDate>
		<dc:creator>hebin</dc:creator>
				<category><![CDATA[Technical notes]]></category>

		<guid isPermaLink="false">http://evolutionontheway.wordpress.com/?p=827</guid>
		<description><![CDATA[http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm Basic Methods of Culturing Drosophila Updated March 30, 2007 Stockkeeping Mechanics Balanced stocks and balancers Culture contaminants Mites Fungi and Bacteria Experimental populations Matings Virgins<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=827&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm">http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm</a></p>
<table width="100%" cellpadding="0">
<tbody>
<tr>
<td width="100%" height="25">
<table width="100%" border="0">
<tbody>
<tr>
<td width="88%">Basic Methods of Culturing Drosophila<br />
Updated March 30, 2007</td>
<td width="12%">
<div align="right"><img src="http://flystocks.bio.indiana.edu/Fireworks/bloomlogo.png" alt="Stock Center logo" width="120" height="59" align="right" /></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFF0" height="25">
<div>
<ul>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#stockkeeping">Stockkeeping</a></li>
<ul>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#mechanics">Mechanics</a></li>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#balancing">Balanced stocks and balancers</a></li>
</ul>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#contaminants">Culture contaminants</a></li>
<ul>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#mites">Mites</a></li>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#microbes">Fungi and Bacteria</a></li>
</ul>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#experimental">Experimental populations</a></li>
<ul>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#matings">Matings</a></li>
<li><a href="http://flystocks.bio.indiana.edu/Fly_Work/culturing.htm#virgins">Virgin</a>s</li>
</ul>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/evolutionontheway.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/evolutionontheway.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/evolutionontheway.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/evolutionontheway.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/evolutionontheway.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/evolutionontheway.wordpress.com/827/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/evolutionontheway.wordpress.com/827/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/evolutionontheway.wordpress.com/827/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=evolutionontheway.wordpress.com&amp;blog=1500987&amp;post=827&amp;subd=evolutionontheway&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://evolutionontheway.wordpress.com/2011/08/29/fly-work-reference-article-from-bloomington-stock-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1da369cdd8dfbf6d462aa2a178308ff8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hebin</media:title>
		</media:content>

		<media:content url="http://flystocks.bio.indiana.edu/Fireworks/bloomlogo.png" medium="image">
			<media:title type="html">Stock Center logo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
