<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>That's Funny...</title>
	<atom:link href="http://staff.washington.edu/rec3141/feed" rel="self" type="application/rss+xml" />
	<link>http://staff.washington.edu/rec3141</link>
	<description>the website of Eric Collins, grad student</description>
	<lastBuildDate>Wed, 11 Nov 2009 18:25:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How well can we predict the future of sea ice? And what do we do when the ice is gone?</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/683</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/683#comments</comments>
		<pubDate>Wed, 11 Nov 2009 18:25:46 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=683</guid>
		<description><![CDATA[Sea Ice Report &#8212; Summary of 2009 Pan-Arctic Sea Ice Outlook
The amount of sea ice in the Arctic grows and shrinks every year as the seasons change. The largest extent is in late winter, after which it melts throughout the summer. The minimum annual sea ice extent generally occurs in mid-September. This year (2009) it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/downloads/pan-arctic/pdf/sio-pan-arctic-summary-full-report.pdf">Sea Ice Report &#8212; </a><a href="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/downloads/pan-arctic/pdf/sio-pan-arctic-summary-full-report.pdf">Summary of 2009 Pan-Arctic Sea Ice Outlook</a></p>
<p>The amount of sea ice in the Arctic grows and shrinks every year as the seasons change. The largest extent is in late winter, after which it melts throughout the summer. The minimum annual sea ice extent generally occurs in mid-September. This year (2009) it occurred around September 16. As of today (November 11) the sea ice has been growing more slowly than usual and is now at a record minimum for this time of year.</p>
<p><img src="http://nsidc.org/data/seaice_index/images/daily_images/N_timeseries.png" width=600></p>
<p>The smallest Arctic sea ice extent ever observed was in 2007 but in the past two years it has rebounded. However, there is a long-term decline in September sea ice extent going back at least 30 years, so although this year&#8217;s September ice minimum is near that predicted by the 30-year declining trend, it falls well short of the actual September ice minimum in 1979.</p>
<p><img src="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/images/pan-arctic/figure-6.jpg" /></p>
<p>Early in this year&#8217;s melt season (May) a number of sea ice scientists made predictions about the year&#8217;s September minimum. They used a variety of methods, ranging from simple extrapolation of the 10-year decline trend to complicated computer models involving existing sea ice and weather conditions, but all of them predicted smaller minimums than were actually observed. <a href="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/downloads/pan-arctic/pdf/sio-pan-arctic-summary-full-report.pdf">The report</a> shows that we still have a lot to learn about predicting inter-annual variations in complex natural phenomena like weather conditions and sea ice extent. Some factors affecting our ability to make predictions include large inter-annual variability in the historical record, limitations in our ability to interpret satellite data from sea ice covered areas (see <a href="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/downloads/pan-arctic/pdf/barber-etal-2009-summary-report.pdf">this report by Barber et al.</a>), and the long-term decline in ice thickness (and thus ice volume) as thick multi-year ice melts and is replaced by thinner, younger ice.</p>
<p><img src="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/images/pan-arctic/figure-1.jpg"></p>
<p>Nevertheless, it is clear that summer sea ice is an endangered environment in the Arctic. I think we should use this information to re-assess our priorities for research in the polar regions, but it is not clear which direction we should take. Should we focus on learning about the biology and ecosystem functions present today in multi-year ice and summer sea ice, as a method of archiving the environment in the literature so that it will continue to live on even after it is gone? Or should we look to the Antarctic as a model for what to expect in the future of the Arctic, focusing our resources on predicting the responses of ecosystems and food webs to the ongoing transition from large summer sea ice extents to small? I&#8217;m not yet sure, but we will have to move fast to make these kinds of decisions because nature is not going to wait for us&#8211;by the time my generation retires there may not be any summer ice left to study in the Arctic.</p>
<p><img src="http://www.arcus.org/search/seaiceoutlook/2009_outlook/summary_report/images/pan-arctic/figure-3.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/683/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated bacteria or virus counts in ImageJ</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/505</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/505#comments</comments>
		<pubDate>Tue, 29 Sep 2009 01:36:03 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[science microscopy viruses]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/wordpress/archives/505</guid>
		<description><![CDATA[THIS IS EXPERIMENTAL, UNPUBLISHED SOFTWARE. USE AT YOUR OWN RISK.
I&#8217;ve written a free, open source script for ImageJ (free, open source) to count viruses (or bacteria, but not both at the same time) automatically from JPEG image files. If you have TIFFs you can batch convert them to JPEG using ImageMagick (free, open source) with [...]]]></description>
			<content:encoded><![CDATA[<p>THIS IS EXPERIMENTAL, UNPUBLISHED SOFTWARE. USE AT YOUR OWN RISK.</p>
<p>I&#8217;ve written a free, open source script for <a href="http://rsbweb.nih.gov/ij/">ImageJ (free, open source)</a> to count viruses (or bacteria, but not both at the same time) automatically from JPEG image files. If you have TIFFs you can batch convert them to JPEG using <a href="http://www.imagemagick.org/">ImageMagick (free, open source)</a> with the following command:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mogrify <span style="color: #660033;">-format</span> jpg <span style="color: #000000; font-weight: bold;">*</span>.tif</div></div>
<p>You can download the script here as a text file (<a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/JVirusCount.txt'>JVirusCount</a>), or the full source is written below. Opened in ImageJ (after opening any image in the desired directory), it will iteratively adjust the noise threshold and use the &#8220;Find Maxima&#8221; command to count the number of dots in every image file in the desired directory. </p>
<div id="attachment_668" class="wp-caption aligncenter" style="width: 310px"><a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/20071213-4-51.jpg"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/20071213-4-51-300x240.jpg" alt="20071213-4-5" title="20071213-4-5" width="300" height="240" class="size-medium wp-image-668" /></a><p class="wp-caption-text">viruses in Arctic seawater</p></div>
<p>The output of the script is a tab-delimited text file for each image summarizing the number of dots detected at each threshold, which can be input into a <a href="http://www.mathworks.com">Matlab (not free, closed source)</a> script (<a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/MVirusCount.m'>MVirusCount</a>) using an external function, <a href="http://staff.washington.edu/aganse/mpregression/mpregression.html">regress2lines (free, open source)</a>. I haven&#8217;t tried using it with <a href="http://www.gnu.org/software/octave/">Octave (free, open source)</a> but if you get it to work let me know. What I&#8217;ve found is that there is a significant change in the slope of this curve during the transition from measuring &#8216;noise&#8217; to &#8216;particles&#8217;, but that it depends on the quality, brightness, and contrast of the image; MVirusCount determines the intersection of those two lines and the abundance of dots at that point. A program finding the maximum of the first derivative of the curve would likely work just as well or better.</p>
<div id="attachment_673" class="wp-caption aligncenter" style="width: 512px"><a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/example1.png"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/example1.png" alt="Example graph of output" title="example" width="502" height="382" class="size-full wp-image-673" /></a><p class="wp-caption-text">Example graph of output</p></div>
<p>As seen below, the program has the lowest relative error at high concentrations of viruses, and should probably not be used at concentrations less than 100 viruses per field without further testing. I should also note that the samples shown above are field samples from an extreme environment, so usage in a laboratory setting may be more precise.</p>
<a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/humancomp.jpg"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/humancomp.jpg" alt="computer counting of viruses" title="humancomp" width="502" height="382" class="size-full wp-image-504" /></a>
<p><a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/JVirusCount.txt'>JVirusCount</a></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">list = getFileList(File.directory);<br />
<br />
for (i=0; i&lt;list.length; i++) {<br />
run(&quot;Clear Results&quot;);<br />
run(&quot;Set Measurements...&quot;, &quot; &nbsp;decimal=9&quot;);<br />
<br />
for (noise=1; noise&lt;42; noise++) {<br />
&nbsp;run(&quot;Find Maxima...&quot;, &quot;noise=&quot; + noise + &quot; output=Count&quot;);<br />
&nbsp;rows = nResults-1;<br />
&nbsp;setResult(&quot;Noise&quot;, rows, noise);<br />
&nbsp;counts = getResult(&quot;Count&quot;, rows);<br />
&nbsp;setResult(&quot;logcount&quot;, rows, log(counts));<br />
}<br />
<br />
title = getTitle();<br />
saveAs(&quot;Measurements&quot;, File.directory + title +&quot;.csv&quot;);<br />
run(&quot;Open Next&quot;);<br />
}</div></div>
<p><a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/MVirusCount.m'>MVirusCount</a></p>
<div class="codecolorer-container matlab default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><div class="matlab codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/clear.html"><span style="color: #0000FF;">clear</span></a> <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/all.html"><span style="color: #0000FF;">all</span></a>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
d=<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/dir.html"><span style="color: #0000FF;">dir</span></a><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'*jpg.csv'</span><span style="color: #080;">&#41;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
<span style="color: #0000FF;">for</span> k=1:<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/length.html"><span style="color: #0000FF;">length</span></a><span style="color: #080;">&#40;</span>d<span style="color: #080;">&#41;</span>;<br />
<br />
&nbsp; fname=d<span style="color: #080;">&#40;</span>k<span style="color: #080;">&#41;</span>.<span style="">name</span>;<br />
counts = <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/dlmread.html"><span style="color: #0000FF;">dlmread</span></a><span style="color: #080;">&#40;</span>fname,<span style="color:#A020F0;">'\t'</span>,1,0<span style="color: #080;">&#41;</span>;<br />
counts<span style="color: #080;">&#40;</span><span style="color: #0000FF;">end</span>,:<span style="color: #080;">&#41;</span>=<span style="color: #080;">&#91;</span><span style="color: #080;">&#93;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
counts<span style="color: #080;">&#40;</span>:,<span style="color: #0000FF;">end</span><span style="color: #080;">&#41;</span>=<span style="color: #080;">&#91;</span><span style="color: #080;">&#93;</span>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<br />
<span style="color: #228B22;">% from 10:end because it has sigmoidal shape screwing things up</span><br />
<span style="color: #080;">&#91;</span>m, R, idiv, G<span style="color: #080;">&#93;</span> = regress2lines<span style="color: #080;">&#40;</span>counts<span style="color: #080;">&#40;</span>10:<span style="color: #0000FF;">end</span>,3<span style="color: #080;">&#41;</span>,counts<span style="color: #080;">&#40;</span>10:<span style="color: #0000FF;">end</span>,4<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;<br />
<br />
xy = <span style="color: #080;">&#91;</span>1, m<span style="color: #080;">&#40;</span>5<span style="color: #080;">&#41;</span>; <span style="color: #080;">&#40;</span>m<span style="color: #080;">&#40;</span>1<span style="color: #080;">&#41;</span>*1+m<span style="color: #080;">&#40;</span>2<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>, <span style="color: #080;">&#40;</span>m<span style="color: #080;">&#40;</span>1<span style="color: #080;">&#41;</span>*m<span style="color: #080;">&#40;</span>5<span style="color: #080;">&#41;</span>+m<span style="color: #080;">&#40;</span>2<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>; m<span style="color: #080;">&#40;</span>5<span style="color: #080;">&#41;</span>, <span style="color: #33f;">40</span>; <span style="color: #080;">&#40;</span>m<span style="color: #080;">&#40;</span>3<span style="color: #080;">&#41;</span>*m<span style="color: #080;">&#40;</span>5<span style="color: #080;">&#41;</span>+m<span style="color: #080;">&#40;</span>4<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>, <span style="color: #080;">&#40;</span>m<span style="color: #080;">&#40;</span>3<span style="color: #080;">&#41;</span>*40+m<span style="color: #080;">&#40;</span>4<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;<span style="color: #080;">&#93;</span>;<br />
<br />
store_fname<span style="color: #080;">&#123;</span>k,1<span style="color: #080;">&#125;</span> = fname;<br />
store_intercept<span style="color: #080;">&#40;</span>k,1<span style="color: #080;">&#41;</span> = m<span style="color: #080;">&#40;</span>5<span style="color: #080;">&#41;</span>;<br />
store_count<span style="color: #080;">&#40;</span>k,1<span style="color: #080;">&#41;</span> = <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/exp.html"><span style="color: #0000FF;">exp</span></a><span style="color: #080;">&#40;</span><span style="color: #080;">&#40;</span>m<span style="color: #080;">&#40;</span>1<span style="color: #080;">&#41;</span>*m<span style="color: #080;">&#40;</span>5<span style="color: #080;">&#41;</span>+m<span style="color: #080;">&#40;</span>2<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;<br />
<br />
<span style="color: #228B22;">% &nbsp;subplot(1,length(d),k)</span><br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hold.html"><span style="color: #0000FF;">hold</span></a> off<br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.html"><span style="color: #0000FF;">plot</span></a><span style="color: #080;">&#40;</span>counts<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">3</span><span style="color: #080;">&#41;</span>,counts<span style="color: #080;">&#40;</span>:,<span style="color: #33f;">4</span><span style="color: #080;">&#41;</span>,<span style="color:#A020F0;">'bs'</span><span style="color: #080;">&#41;</span><br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hold.html"><span style="color: #0000FF;">hold</span></a> on<br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.html"><span style="color: #0000FF;">plot</span></a><span style="color: #080;">&#40;</span>xy<span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,:<span style="color: #080;">&#41;</span>,xy<span style="color: #080;">&#40;</span><span style="color: #33f;">2</span>,:<span style="color: #080;">&#41;</span>,<span style="color:#A020F0;">'b-'</span><span style="color: #080;">&#41;</span><br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.html"><span style="color: #0000FF;">plot</span></a><span style="color: #080;">&#40;</span>xy<span style="color: #080;">&#40;</span><span style="color: #33f;">3</span>,:<span style="color: #080;">&#41;</span>,xy<span style="color: #080;">&#40;</span><span style="color: #33f;">4</span>,:<span style="color: #080;">&#41;</span>,<span style="color:#A020F0;">'r-'</span><span style="color: #080;">&#41;</span><br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/title.html"><span style="color: #0000FF;">title</span></a><span style="color: #080;">&#40;</span><span style="color: #080;">&#123;</span>fname<span style="color: #080;">&#125;</span><span style="color: #080;">&#41;</span>;<br />
<br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/drawnow.html"><span style="color: #0000FF;">drawnow</span></a><br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pause.html"><span style="color: #0000FF;">pause</span></a><br />
<br />
<span style="color: #0000FF;">end</span><br />
<br />
fid = <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/fopen.html"><span style="color: #0000FF;">fopen</span></a><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'output.csv'</span>,<span style="color:#A020F0;">'a'</span><span style="color: #080;">&#41;</span>;<br />
<span style="color: #0000FF;">for</span> k=1:<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/length.html"><span style="color: #0000FF;">length</span></a><span style="color: #080;">&#40;</span>store_fname<span style="color: #080;">&#41;</span>;<br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/fprintf.html"><span style="color: #0000FF;">fprintf</span></a><span style="color: #080;">&#40;</span>fid,<span style="color:#A020F0;">'%s\t%0.5g\t%0.5g\n'</span>, store_fname<span style="color: #080;">&#123;</span>k<span style="color: #080;">&#125;</span>, store_intercept<span style="color: #080;">&#40;</span>k<span style="color: #080;">&#41;</span>, store_count<span style="color: #080;">&#40;</span>k<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;<br />
<span style="color: #228B22;">% &nbsp;sprintf('%s\t%0.5g', store_fname{k}, store_intercept(k))</span><br />
<span style="color: #0000FF;">end</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/505/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Almost technically a doctor</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/659</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/659#comments</comments>
		<pubDate>Sat, 19 Sep 2009 02:20:33 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=659</guid>
		<description><![CDATA[I successfully defended my doctoral dissertation on September 9, 2009, and am now wrapping up some edits before I submit the final thesis! I broadcast the talk live on ustream &#8212; I even had a question from the virtual audience! (thanks John). A PDF copy of my talk is available here. The most recent draft [...]]]></description>
			<content:encoded><![CDATA[<p>I successfully defended my doctoral dissertation on September 9, 2009, and am now wrapping up some edits before I submit the final thesis! I broadcast the talk live on <a href="http://www.ustream.tv/channel/microbial-evolution-in-sea-ice">ustream</a> &#8212; I even had a question from the virtual audience! (thanks John). A PDF copy of my talk is available <a href="http://staff.washington.edu/rec3141/thesis/recphd_talk.pdf">here</a>. The most recent draft of the thesis is available <a href="http://staff.washington.edu/rec3141/thesis/recphd.pdf">here</a>.</p>
<p>Next stop: <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Hamilton,+ON,+Canada&#038;sll=47.656022,-122.315522&#038;sspn=0.00688,0.01929&#038;ie=UTF8&#038;ll=43.319183,-79.867859&#038;spn=0.951169,2.469177&#038;t=h&#038;z=9&#038;iwloc=A">Hamilton, ON</a>. See you there.</p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/659/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many bacteria are in the ocean? And how far is it between bacteria in the ocean?</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/648</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/648#comments</comments>
		<pubDate>Wed, 26 Aug 2009 02:32:03 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=648</guid>
		<description><![CDATA[There are about 1,000,000 bacteria per milliliter (1/5 of a teaspoon) of water in the coastal ocean. A lot of these bacteria degrade dead plant and algae material and turn them into useful nutrients which can allow further growth of plants and algae and animals. Without bacteria in the oceans to regenerate these nutrients, life [...]]]></description>
			<content:encoded><![CDATA[<p>There are about 1,000,000 bacteria per milliliter (1/5 of a teaspoon) of water in the coastal ocean. A lot of these bacteria degrade dead plant and algae material and turn them into useful nutrients which can allow further growth of plants and algae and animals. Without bacteria in the oceans to regenerate these nutrients, life there would be impossible!</p>
<p>Bacteria are small. Very small. The length of a bacterium is about 1/1,000,000 of a meter (one meter is 3.3 feet).  One milliliter of water has the same volume as one cubic centimeter (cc) of water, which, being a cube, has three characteristic dimensions, or sides: length, width, and height. The length of each of those sides is 1 centimeter (cm, 1/100 of a meter, or about 3/8 of an inch). If the 1,000,000 bacteria in that one cubic centimeter of ocean water were spread out evenly, they would also make a cube. Each side of the cube would have 100 bacteria because 100 x 100 x 100 = 1,000,000. The distance between each bacterium on that side would then be 1 cm/100 bacterium = 0.01 cm between each bacterium.</p>
<p>Now let&#8217;s scale up the whole thing so that we can actually <em>see</em> it. Let&#8217;s make a bacterium the same length as an M&#038;M (about 1 cm), which is an increase by a factor of 10,000. In that case the distance between each bacterium (M&#038;M) would be 0.01 cm * 10,000 = 100 cm = 1 meter. So each bacterium would be about one meter from any other bacterium in any direction.</p>
<p>There are also a lot of viruses in ocean water that can infect the bacteria &#8212; about 10x more than there are bacteria, and each virus is about 1/100 as long as a bacterium. So scaled up, a virus would be about 1 cm/100 = 0.01 cm, which is a bit smaller than the length of a grain of table salt. Divided into all three directions, there would be about <img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/8a32e221ba56dd238873ae6661b36f52_2.32779pt.png' title='$\sqrt[3]{10}$' alt='$\sqrt[3]{10}$'  style="vertical-align:-2.32779pt;" > ~ 2.2 viruses (salt grains) on the line between each bacterium.</p>
<p>Remember that these bacteria and viruses are not there to hurt you! They act like nature&#8217;s recycling bin, taking in waste products and returning useful nutrients to the environment.</p>
<p><a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/08/distance-between-bacteria.jpg"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/08/distance-between-bacteria-791x1024.jpg" alt="distance-between-bacteria" title="distance-between-bacteria" width="791" height="1024" class="size-large wp-image-647" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/648/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enrichment of microorganisms into sea ice brine</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/578</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/578#comments</comments>
		<pubDate>Tue, 21 Jul 2009 01:52:06 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[bacteria]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[sea ice]]></category>
		<category><![CDATA[viruses]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=578</guid>
		<description><![CDATA[As seawater freezes into sea ice, all of the dissolved constituents of the water become concentrated within the solid ice matrix that forms. Because it is more dense than seawater due to the high salt content, a lot of this &#8216;brine&#8217; will drain from the ice by gravity. However, some brine remains in the ice [...]]]></description>
			<content:encoded><![CDATA[<p>As seawater freezes into sea ice, all of the dissolved constituents of the water become concentrated within the solid ice matrix that forms. Because it is more dense than seawater due to the high salt content, a lot of this &#8216;brine&#8217; will drain from the ice by gravity. However, some brine remains in the ice down to −55°C, the eutectic point of seawater, at which point the ice transitions to a complete solid with no liquid fraction. Between the freezing point of seawater (about −2°C) and the eutectic, there will be brine with a salinity dependent on the temperature of the ice, up to about 8 times that salinity of seawater. But it&#8217;s not just salts that are concentrated, but also nutrients, particles, and microorganisms living within the seawater, including viruses and bacteria. A former student in the lab, <a href="http://oceanexplorer.noaa.gov/explorations/02arctic/background/explorers/explorers.html#Anchor-Llyd-33261">Dr. Llyd Wells</a>, discussed the consequences of this concentration effect in detail in a 2006 paper in Environmental Microbiology: &#8220;<a href="http://dx.doi.org/10.1111/j.1462-2920.2006.00984.x">Modelled and measured dynamics of viruses in Arctic winter sea-ice brines</a>&#8220;. In this paper he used a mathematical model to predict contact rates between bacteria and viruses as a function of temperature in sea ice brine, showing that &#8220;virus-bacteria contact rates in underlying −1°C seawater were &#8230; up to 600 times lower than those in ice brines at or below −24°C.&#8221; Two contrasting factors affected the relative contact rates. First, the brine concentrating effect described above, which increases contact rates by increasing the concentrations of viruses and bacteria in the ice. Second, the diffusivity decreases as a factor of increasing viscosity at lower temperatures, which decreases the contact rates. In the figure shown below, Llyd shows that the result of these contrasting effects is overall a positive one, with very high potential contact rates occurring in the upper, colder sea ice.</p>
<a href="http://www3.interscience.wiley.com/cgi-bin/fulltext/118567424/nf1"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/nf1.gif" alt="sea ice diffusivity, wells and deming 2006" title="nf1" width="500" height="458" class="size-full wp-image-584" /></a>
<p>The equations used were as follows:</p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/f0c2b41b5f171bdf9fc3415d6cc2b93d_2.49998pt.png' title='J  =  2\pi dD_vVB' alt='J  =  2\pi dD_vVB'  style="vertical-align:-2.49998pt;" ></p>
<p>where J = contact rate, &#8220;d is the spherical diameter of the average cell (cm), D<sub>v</sub> the viral diffusivity (cm<sup>2</sup> s<sup>-1</sup>), and V and B the [in situ] concentrations of viruses and bacteria respectively (ml<sup>-1</sup> [brine or seawater]).&#8221;</p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/eb1bb61e231ca83c18836dd80e36272f_9.80396pt.png' title='D_v  =  \dfrac{kT}{3\pi \mu dv}' alt='D_v  =  \dfrac{kT}{3\pi \mu dv}'  style="vertical-align:-9.80396pt;" ></p>
<p>&#8220;where k is Boltzmann&#8217;s constant, T the temperature (Kelvin), <img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/c9faf6ead2cd2c2187bd943488de1d0a_2.94444pt.png' title='\mu' alt='\mu'  style="vertical-align:-2.94444pt;" > the viscosity (g cm<sup>-1</sup> s<sup>-1</sup>), and dv the spherical diameter of the average virus (cm)&#8221;. D<sub>v</sub> can be estimated with the following equation (determined empirically from Figure 1) where t is temperature (°C).</p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/e83ec42d8fdb490a7062b8265dbec249_2.49998pt.png' title='D_v = 40.5882 \times 10^{-9} \times 10^{0.0325t}' alt='D_v = 40.5882 \times 10^{-9} \times 10^{0.0325t}'  style="vertical-align:-2.49998pt;" ></p>
<p>The authors provide the following values for constants:</p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/c24604ace1228d6fd46ef679608701a7_22.7pt.png' title='\begin{tabular}{ccc} constant &amp; value &amp; units\\\hline k &amp; 1.38 \times 10^{-16}&amp; g cm^2 K^{-1} s^{-2}\\ d &amp; 0.5 \times 10^{-4}&amp; cm\\ dv &amp; 60 \times 10^{-7} &amp; cm\\ \end{tabular}' alt='\begin{tabular}{ccc} constant &amp; value &amp; units\\\hline k &amp; 1.38 \times 10^{-16}&amp; g cm^2 K^{-1} s^{-2}\\ d &amp; 0.5 \times 10^{-4}&amp; cm\\ dv &amp; 60 \times 10^{-7} &amp; cm\\ \end{tabular}'  style="vertical-align:-22.7pt;" ></p>
<p>but they don&#8217;t provide for the calculation of <img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/c9faf6ead2cd2c2187bd943488de1d0a_2.94444pt.png' title='\mu' alt='\mu'  style="vertical-align:-2.94444pt;" >, the viscosity in the ice, referring to a 1975 paper by George Cox (which references a 1960 paper by Dale Kaufmann [which itself references a 1929 paper by Stakelbeck and Plank]).</p>
<p>The following multiple linear equation can be used to estimate the viscosity (in centipoise = 0.01 * g cm<sup>-1</sup> s<super>-1</super>) as a function of temperature (T) and brine salinty (S) in the ice, but it is not very good:<br />
<img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/7817a79f11b277f8f573a8eb90470ad3_2.94444pt.png' title='\mu = -0.0835419T + 0.0066835S+1.7724989' alt='\mu = -0.0835419T + 0.0066835S+1.7724989'  style="vertical-align:-2.94444pt;" ></p>
<p>[The <a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/temp-salt-visc.csv'>raw data</a> and <a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/temp-salt-viscosity.R'>R script to calculate the multiple linear regression</a> are available here]</p>
<p>A better empirical equation was determined using <a href="http://zunzun.com">ZunZun.com</a>, an amazingly useful site for curve fitting. I used the Function Finder, which identified a <a href='http://zunzun.com/Equation/3/Polynomial/User-Selectable%20Reciprocal%20Polynomial/'>Reciprocal Polynomial</a> as the best available curve. The simplified equation for that curve is (mu in centipoise=  0.01 * g cm<sup>-1</sup> s<sup>-1</sup>):<br />
<img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/3438c5d9c9d2ab648d5800c3331113a9_8.69284pt.png' title='\mu = \dfrac{1}{0.62 + 0.020T + 0.00014T^2 -0.0012S -0.000030ST}' alt='\mu = \dfrac{1}{0.62 + 0.020T + 0.00014T^2 -0.0012S -0.000030ST}'  style="vertical-align:-8.69284pt;" ></p>
<p><a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/T-S-viscosity.png"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/T-S-viscosity-300x225.png" alt="T-S-viscosity" title="T-S-viscosity" width="300" height="225" class="size-medium wp-image-634" /></a></p>
<p>Finally, to calculate the relative contact rates between seawater and sea ice, given concentrations of bacteria and viruses (per volume brine or seawater):<br />
<img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/afd500c9a0b2ee2c989c65fae3a1c8fa_9.3595pt.png' title='\dfrac{J_i}{J_w}  =  \dfrac{D_{vi}}{D_{vw}} \times \dfrac{B_i}{B_w} \times \dfrac{V_i}{V_w}' alt='\dfrac{J_i}{J_w}  =  \dfrac{D_{vi}}{D_{vw}} \times \dfrac{B_i}{B_w} \times \dfrac{V_i}{V_w}'  style="vertical-align:-9.3595pt;" ></p>
<p>which can be generalized to:<br />
<img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/68509619cc210bad4ddd603406d0628f_9.3595pt.png' title='\dfrac{J_i}{J_w}  =  \dfrac{D_{vi}}{D_{vw}} \times \dfrac{f_B}{V_{br}} \times \dfrac{f_V}{V_{br}}' alt='\dfrac{J_i}{J_w}  =  \dfrac{D_{vi}}{D_{vw}} \times \dfrac{f_B}{V_{br}} \times \dfrac{f_V}{V_{br}}'  style="vertical-align:-9.3595pt;" ></p>
<p>where V<sub>br</sub> is the brine volume fraction (<a href="http://staff.washington.edu/rec3141/research/webapps/brine">calculator available here</a>), &#8220;the subscripts i and w indicate sea ice and water column respectively. The terms f<sub>B</sub> and f<sub>V</sub> represent the fraction of bacteria and viruses retained in the brine and serve as a correction to account for possible partitioning within the solid phase &#8230; as well as for two major mechanisms of loss: destruction due to impinging ice crystals or osmotic stress and release with rejected brine.</p>
<p>If passive entrainment into the ice (proportional to salts) is expected for both viruses and bacteria, then <img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/a2880ac6de15245197006deeb7039f99_9.3595pt.png' title='f_B = f_V = \dfrac{S_i}{S_w}' alt='f_B = f_V = \dfrac{S_i}{S_w}'  style="vertical-align:-9.3595pt;" >, where S is the bulk salinity of the ice or water.</p>
<p>If active entrainment into the ice is expected (complete/active concentration of bacteria and viruses into ice), then <img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/a999f3a96aa13414feb3841ae5a268aa_2.94444pt.png' title='f_B = f_V =  1' alt='f_B = f_V =  1'  style="vertical-align:-2.94444pt;" ></p>
<p>If the concentration of bacteria (or viruses) in the ice is 0 then f<sub>B</sub> = 0.</p>
<p>Another enrichment index has been used by others, including Riedel (2006), originally from Gradinger and Ikalvko (1998). Their index (I<sub>s</sub>) is 0 when the concentration in ice is 0 (I<sub>s</sub> = 0 when C<sub>i</sub> = 0) and is 1 when the concentration in ice is proportional to the salt retained in the ice (I<sub>s</sub> = 0 when C<sub>i</sub>/C<sub>w</sub> =S<sub>i</sub>/S<sub>w</sub>).</p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/de74b46017320d7a6b69f2f6b0faf416_9.3595pt.png' title='I_s = \dfrac{C_i}{C_w} \dfrac{S_w}{S_i}' alt='I_s = \dfrac{C_i}{C_w} \dfrac{S_w}{S_i}'  style="vertical-align:-9.3595pt;" ></p>
<p>A third index can be created such that at a value of 0 indicates passive enrichment and a value of 1 indicates complete/active enrichment. A value less than zero indicates loss or mortality in the ice (-1 indicates an in situ concentration of 0). Any value greater than 1 indicates production or growth within the ice. </p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/c0ddd16a6631ab90c257f82f00ca0c57_21.85782pt.png' title='E = \dfrac{\dfrac{C_i}{C_w}-\dfrac{S_i}{S_w}}{1-\dfrac{S_i}{S_w}}' alt='E = \dfrac{\dfrac{C_i}{C_w}-\dfrac{S_i}{S_w}}{1-\dfrac{S_i}{S_w}}'  style="vertical-align:-21.85782pt;" ></p>
<div id="attachment_630" class="wp-caption aligncenter" style="width: 553px"><a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/temp-sal-bcf.png"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/07/temp-sal-bcf.png" alt="temperature bulk salinity brine concentrating factor" title="temp-sal-bcf" width="543" height="502" class="size-full wp-image-630" /></a><p class="wp-caption-text">temperature bulk salinity brine concentrating factor</p></div>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/578/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Predicting the height of a saturated peak on an electropherogram</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/527</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/527#comments</comments>
		<pubDate>Thu, 07 May 2009 01:12:08 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[bacteria]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open access]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sea ice]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=527</guid>
		<description><![CDATA[One way to assess the microbial community structure in an environment is to use a &#8216;fingerprinting&#8217; technique, like T-RFLP or ARISA, to interrogate the &#8217;species&#8217; living there as determined from their 16S rRNA genes or some functional gene like amoA. Here&#8217;s an example of a T-RFLP electropherogram from sea ice:

You can see that most of [...]]]></description>
			<content:encoded><![CDATA[<p>One way to assess the microbial community structure in an environment is to use a &#8216;fingerprinting&#8217; technique, like T-RFLP or ARISA, to interrogate the &#8217;species&#8217; living there as determined from their 16S rRNA genes or some functional gene like amoA. Here&#8217;s an example of a T-RFLP electropherogram from sea ice:<br />
<a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/05/examplecsv0.png"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/05/examplecsv0.png" alt="examplecsv0" title="examplecsv0" width="480" height="480" class="size-full wp-image-548" /></a></p>
<p>You can see that most of the signal in this sample is contained within a few peaks. Sometimes those peaks saturate (max-out, overblow) the detector, which is bad if I am interested in comparing the heights of the peaks (a controversial subject, I should note I am only doing bulk, not individual, comparisons). Of course, I could just add less DNA and run it again, except that then I would be liable to lose some of the smaller peaks (also, it&#8217;s not practical for me to re-run these specific samples). So I&#8217;ve written a script in the open-source <a href="http://www.r-project.org">statistical package R</a> to estimate the heights of the saturated peaks by fitting a Gaussian function of the form</p>
<p><img src='/rec3141/wordpress/wp-content/plugins/latexrender/pictures/c29244c515375b57599c5786bb562c8d_7.85951pt.png' title='f(x) = y_0+\dfrac{b\sqrt{2/\pi}}{d}*e^{-2\left(\dfrac{x-x_0}{d}\right)^2}' alt='f(x) = y_0+\dfrac{b\sqrt{2/\pi}}{d}*e^{-2\left(\dfrac{x-x_0}{d}\right)^2}'  style="vertical-align:-7.85951pt;" ></p>
<p>where &#8216;y_0&#8242; is the y-minimum, &#8216;x_0&#8242; is the center of the peak, &#8216;b&#8217; is a scaling factor, and &#8216;d&#8217; is related to the standard deviation of the distribution.</p>
<p>You can download the script here: <a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/05/gaussfit.r'>gaussfit.r</a></p>
<p>The figures below show (A) a fitted regular-sized peak, and (B) a fitted saturated peak. In my case, the fitted function has a maximum that is 1.6 ± 2.5% of the observed maximum for regular-sized peaks.</p>
<p><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/05/examplecsv1.png" alt="examplecsv1" title="examplecsv1" width="320" height="320" class="size-full wp-image-541" /></a><a href="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/05/examplecsv2.png"><img src="http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/05/examplecsv2.png" alt="examplecsv2" title="examplecsv2" width="320" height="320" class="size-full wp-image-542" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/527/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Bazaar version control system for my Ph.D. Thesis</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/513</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/513#comments</comments>
		<pubDate>Thu, 30 Apr 2009 21:58:15 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=513</guid>
		<description><![CDATA[I wrote my last paper in LaTeX and the submitted file was named &#8216;paper_v26&#8242;. Various other files with similar names are floating around and it is a chore to keep up with which is the latest version when they are split between two computers and three operating systems.  For my thesis I decided to [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote my last paper in LaTeX and the submitted file was named &#8216;paper_v26&#8242;. Various other files with similar names are floating around and it is a chore to keep up with which is the latest version when they are split between two computers and three operating systems.  For my thesis I decided to make things easier. I tried using subversion. I really did. But it just wasn&#8217;t doing it for me. So I tried Bazaar and got it to work intuitively in just a few minutes. So that&#8217;s what I&#8217;m going to start using now. To help get you (and me) started, here&#8217;s a distilled version of <a href="http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html">this tutorial</a> and <a href="http://doc.bazaar-vcs.org/latest/en/user-guide/index.html">this user guide</a>). Requirements for my setup: 1) unfrightened by the command line; 2) SSH daemon running on central repository host.</p>
<p>Briefly, the way it works is that you set up a central repository for your files, preferably on some computer that is connected to the internet all the time, even better if it has a static domain name. Into this repository you place the files you want to be version controlled. This works best for plain text files (like LaTeX source files) because it is simple to compare versions if necessary, but it will also work for binary files like OpenOffice documents (which have built-in version control, if you didn&#8217;t know) and images. If you are working on the computer with the central repository, great, just make sure to update the files each time before you work on them and commit them each time you are done. You could probably write a cron job to do this for you if you are liable to forget. If you are working on a different computer, you just have to ask the central repository for the files and it will give you the latest versions. After you edit them you have to commit the changes to a local repository, which can then be merged with the central repository.</p>
<p>To get started:</p>
<ul>
<li>Install <a href="http://bazaar-vcs.org/">bzr</a></li>
<li>Make a new directory and copy the files you&#8217;ll be starting with into it. If you&#8217;re using LaTeX, you&#8217;ll probably only want the files that are not compiled, e.g. *.tex, *.bib, *.bst and NOT *.aux, *.log, etc.</li>
<li>Tell bzr who you are:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr whoami &quot;me &lt;me@me.com&gt;&quot;</div></div>
</li>
<li>Initialize tracking in this directory:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr init</div></div>
</li>
<li>Add all the files in the directory, recursively:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr add</div></div>
</li>
<li>Commit the files to the first revision. Make sure to add a message (-m), or you might find yourself in &#8216;vi&#8217; (shudder). Do this after every work session.
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr commit -m &quot;very important message&quot;</div></div>
</li>
<li>Next time you work from this computer with the central repository, make sure you are using the most recent version:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr update</div></div>
<li>The first time you work on your project from a different computer, pull a new copy via ssh from that computer:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr branch sftp://user@host.domain:port/location/to/remote/files /new/local/location</div></div>
</li>
<li>In future sessions, pull new edits from the central repository before working on them:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr merge sftp://user@host.domain:port/location/to/remote/files<br />
bzr commit -m &quot;merge from parent&quot;</div></div>
</li>
<li>To submit edits to the central repository, first commit them locally, then push edits via ssh to that computer:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr commit -m &quot;local changes&quot;<br />
bzr push sftp://user@host.domain:port/location/to/remote/files</div></div>
</li>
</ul>
<p>Some further usage, much of which is intuitive because it works just like regular unix commands:</p>
<ul>
<li>Clean up a directory by deleting non-versioned files and reloading the last commit:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr commit<br />
&nbsp;rm *<br />
bzr revert</div></div>
</li>
<li>Make a new versioned subdirectory:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr mkdir ./newdirectory</div></div>
</li>
<li>Add a new file to the repository:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr add ./newfile.txt</div></div>
</li>
<li>Remove a file from the repository:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr rm ./oldfile.txt</div></div>
</li>
<li>Rename or move a file or directory in the repository:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">bzr mv oldfile.txt newfile.txt</div></div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/513/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Generic Ubuntu/Kubuntu problem resolution post</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/511</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/511#comments</comments>
		<pubDate>Wed, 15 Apr 2009 21:18:59 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=511</guid>
		<description><![CDATA[Fixed &#8220;current dist not found in meta-release file&#8221; on upgrade to Kubuntu Jaunty 9.04&#8243;
The first time it ran I was within the university wifi network and the upgrade script downloaded the login page rather than the meta-release file. I corrected it by removing the incorrect file and trying it again:
rm ~/.update-manager-core/meta-release
Fixed Audigy 2ZS sound problem [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Fixed &#8220;current dist not found in meta-release file&#8221; on upgrade to Kubuntu Jaunty 9.04&#8243;</strong><br />
The first time it ran I was within the university wifi network and the upgrade script downloaded the login page rather than the meta-release file. I corrected it by removing the incorrect file and trying it again:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rm ~/.update-manager-core/meta-release</div></div>
<p><strong>Fixed Audigy 2ZS sound problem in Kubuntu!</strong><br />
Finally figured out that I had to MUTE the Analog/Digital Output Jack, and that&#8217;s it! Do it either in kmix or alsamixer, it doesn&#8217;t matter.</p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/511/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cell counting helper program</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/498</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/498#comments</comments>
		<pubDate>Tue, 17 Mar 2009 23:07:47 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=498</guid>
		<description><![CDATA[For those of us still doing microscope counts at the microscope, I offer CellCounting, a program to help make it easier. It&#8217;s written in Perl so just run it from the command line and count your cells as usual, but reward yourself with a tab-delimited output file for all your hard work!
]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/hawkwing3141/3370728055"><img alt="bacteria, archaea, and viruses from Arctic winter sea ice" src="http://farm4.static.flickr.com/3435/3370728055_6dbb8c0b27.jpg" title="spacebeans" width="500" height="400" /></a><p class="wp-caption-text">bacteria, archaea, and viruses from Arctic winter sea ice</p></div>
<p>For those of us still doing microscope counts at the microscope, I offer <a href='http://staff.washington.edu/rec3141/wordpress/wp-content/uploads/2009/03/cellcounting.pl'>CellCounting</a>, a program to help make it easier. It&#8217;s written in Perl so just run it from the command line and count your cells as usual, but reward yourself with a tab-delimited output file for all your hard work!</p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/498/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARB install on Kubuntu 8.10</title>
		<link>http://staff.washington.edu/rec3141/wordpress/archives/439</link>
		<comments>http://staff.washington.edu/rec3141/wordpress/archives/439#comments</comments>
		<pubDate>Mon, 26 Jan 2009 18:00:19 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[phylogeny]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://staff.washington.edu/rec3141/?p=439</guid>
		<description><![CDATA[I added the following lines to my &#8216;/etc/apt/sources.list&#8217;
deb http://techno.mikro.biologie.tu-muenchen.de/debian intrepid non-free
deb http://techno.mikro.biologie.tu-muenchen.de/debian hardy non-free
and installed the packages arb (base installation), transfig (something to do with LaTeX), xfig (for exporting trees), and libmotif3 (for library libXm.so.3)
sudo apt-get install arb transfig, xfig, libmotif3
More info here: http://techno.mikro.biologie.tu-muenchen.de/
]]></description>
			<content:encoded><![CDATA[<p>I added the following lines to my &#8216;/etc/apt/sources.list&#8217;</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">deb http://techno.mikro.biologie.tu-muenchen.de/debian intrepid non-free<br />
deb http://techno.mikro.biologie.tu-muenchen.de/debian hardy non-free</div></div>
<p>and installed the packages arb (base installation), transfig (something to do with LaTeX), xfig (for exporting trees), and libmotif3 (for library libXm.so.3)</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo apt-get install arb transfig, xfig, libmotif3</div></div>
<p>More info here: <a href="http://techno.mikro.biologie.tu-muenchen.de/">http://techno.mikro.biologie.tu-muenchen.de/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://staff.washington.edu/rec3141/wordpress/archives/439/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
