<?xml version="1.0" encoding="iso-8859-1"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>MedWorm Tags: diary</title>
        <description>MedWorm provides a medical RSS filtering service. Over 6000 RSS medical sources are combined and output via different filters. This feed contains the latest medical blog items that have been tagged with 'diary'.</description>
        <link><![CDATA[http://www.medworm.com/rss/search.php?qu=%22diary%22&t=%22diary%22&r=Exact&o=d&f=tag]]></link>
        <lastBuildDate>Sat, 03 Sep 2011 01:58:47 +0100</lastBuildDate>
        <item>
            <title>A beginner’s guide to BioRuby development</title>
            <link>http://www.medworm.com/index.php?rid=5096849&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F08%2F04%2Fa-beginners-guide-to-bioruby-development%2F</link>
            <description>I&amp;#8217;m the &amp;#8220;biologist-turned-programmer&amp;#8221; type of bioinformatician which makes me a hacker, not a developer. Most of the day-to-day coding that I do goes something like this:
Colleague: Hey Neil, can you write me a script to read data from file X, do Y to it and output a table in file Z?
Me: Sure&amp;#8230; (clickety-click, hackety-hack&amp;#8230;) &amp;#8230;there you go.
Colleague: Great! Thanks.
I&amp;#8217;m a big fan of the Bio* projects and have used them for many years, beginning with Bioperl and more recently, BioRuby. And I&amp;#8217;ve always wanted to contribute some code to them, but have never got around to doing so. This week, two thoughts popped into my head:

How hard can it be?
There isn&amp;#8217;t much introductory documentation for would-be Bio* developers

The answer to the firs...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=5096849</comments>
            <pubDate>Thu, 04 Aug 2011 13:31:35 +0100</pubDate>
            <guid isPermaLink="false">5096849</guid>        </item>
        <item>
            <title>I give up</title>
            <link>http://www.medworm.com/index.php?rid=5028877&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F07%2F15%2Fi-give-up%2F</link>
            <description>It&amp;#8217;s what &amp;#8211; 10 years or more? &amp;#8211; since we began to wonder when web technologies such as RSS, wikis and social bookmarking sites would be widely adopted by most working scientists, to further their productivity.
The email that I received today which began &amp;#8220;I&amp;#8217;ve read 3 interesting papers&amp;#8221; and included 1 .doc, 3 .docx and 4 .pdf files as attachments is indicative of the answer to this question, which is &amp;#8220;not any time soon.&amp;#8221;
I&amp;#8217;ve given up trying to educate colleagues in best practices. Clearly, I&amp;#8217;m the one with the problem, since this is completely normal, acceptable behaviour for practically everyone that I&amp;#8217;ve ever worked with. Instead, I&amp;#8217;m just waiting for them to retire (or die). I reckon most senior scientists (and they...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=5028877</comments>
            <pubDate>Fri, 15 Jul 2011 04:26:35 +0100</pubDate>
            <guid isPermaLink="false">5028877</guid>        </item>
        <item>
            <title>R: calculations involving months</title>
            <link>http://www.medworm.com/index.php?rid=5008521&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F07%2F07%2Fr-calculations-involving-months%2F</link>
            <description>Ask anyone how much time has elapsed since September last year and they&amp;#8217;ll probably start counting on their fingers: &amp;#8220;October, November&amp;#8230;&amp;#8221; and tell you &amp;#8220;just over 9 months.&amp;#8221;
So, when faced as I was today with a data frame (named dates) like this:

pmid1    year1  month1   pmid2   year2  month2
21355427  2010   Dec    21542215  2011   Mar
21323727  2011   Feb    21521365  2011   Jun
21297532  2011   Feb    21336080  2011   Mar
21291296  2011   Apr    21591868  2011   Jun
...

How to add a 7th column, with the number of months between &amp;#8220;year1/month1&amp;#8243; and &amp;#8220;year2/month2&amp;#8243;?

R has lots of methods for date/time calculations, many of which seem notoriously difficult to get your head around. One answer for my problem came, as so often, from ...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=5008521</comments>
            <pubDate>Thu, 07 Jul 2011 13:32:38 +0100</pubDate>
            <guid isPermaLink="false">5008521</guid>        </item>
        <item>
            <title>City Diary: Incident on the Brooklyn Bridge</title>
            <link>http://www.medworm.com/index.php?rid=4934255&amp;cid=t_96241_105_f&amp;fid=39124&amp;url=http%3A%2F%2Fwww.jeffreymlevinemd.com%2Fcity-diary-incident-on-the-brooklyn-bridge%2F</link>
            <description>I carry my camera around Manhattan, especially on weekends when my wife and I go adventuring around the City.  Sometimes when conditions line up correctly I might get some interesting shots.  This occurs when the light is right, my battery is charged, and I remember to insert the memory card.  The Sunday of Memorial Day weekend was beautiful and sunny, and we decided to walk ...Read More (Source: Jeffrey M. Levine MD | Geriatric Specialist | Wound Care | Pressure Ulcers)</description>
            <author>Jeffrey M. Levine MD | Geriatric Specialist | Wound Care | Pressure Ulcers</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4934255</comments>
            <pubDate>Tue, 14 Jun 2011 06:44:06 +0100</pubDate>
            <guid isPermaLink="false">4934255</guid>        </item>
        <item>
            <title>6th Annual SKINS Cup</title>
            <link>http://www.medworm.com/index.php?rid=4893458&amp;cid=t_96241_88_f&amp;fid=38129&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2Flifeinthefastlane%2FWZHV%2F%7E3%2F7xLwTeapZbs%2F</link>
            <description>This day...June 2nd 2011, marked the 6th running of the SKINS Cup...A classic 100m dash with staggered handicapped starts akin to the Stawell Gift (Source: Life in the Fast Lane)</description>
            <author>Life in the Fast Lane</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4893458</comments>
            <pubDate>Thu, 02 Jun 2011 22:21:44 +0100</pubDate>
            <guid isPermaLink="false">4893458</guid>        </item>
        <item>
            <title>How to: create a partial UCSC genome MySQL database</title>
            <link>http://www.medworm.com/index.php?rid=4841830&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F05%2F18%2Fhow-to-create-a-partial-ucsc-genome-mysql-database%2F</link>
            <description>File under: simple, but a useful reminder
UCSC Genome Bioinformatics is one of the go-to locations for genomic data. They are also kind enough to provide access to their MySQL database server:

mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A

However, users are given fair warning to &amp;#8220;avoid excessive or heavy queries that may impact the server performance.&amp;#8221; It&amp;#8217;s not clear what constitutes excessive or heavy but if you&amp;#8217;re in any doubt, it&amp;#8217;s easy to create your own databases locally. It&amp;#8217;s also easy to create only the tables that you require, as and when you need them.
As an example, here&amp;#8217;s how you could create only the ensGene table for the latest hg19 database. Here, USER and PASSWD represent a local MySQL user and password with full privileg...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4841830</comments>
            <pubDate>Wed, 18 May 2011 04:54:10 +0100</pubDate>
            <guid isPermaLink="false">4841830</guid>        </item>
        <item>
            <title>GF Jooste Hospital Experience</title>
            <link>http://www.medworm.com/index.php?rid=4631488&amp;cid=t_96241_88_f&amp;fid=38129&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2Flifeinthefastlane%2FWZHV%2F%7E3%2F8GZv3MMD9aI%2F</link>
            <description>Today, I had the honor and privilege to lead the emergency department ward round at GF Jooste Hospital in Manenberg (Cape Town), South Africa. It was an amazing experience, and one which I will never forget. (Source: Life in the Fast Lane)</description>
            <author>Life in the Fast Lane</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4631488</comments>
            <pubDate>Thu, 24 Mar 2011 21:28:51 +0100</pubDate>
            <guid isPermaLink="false">4631488</guid>        </item>
        <item>
            <title>Coping with Jet Lag</title>
            <link>http://www.medworm.com/index.php?rid=4610817&amp;cid=t_96241_88_f&amp;fid=38129&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2Flifeinthefastlane%2FWZHV%2F%7E3%2FN_s6ruYJNmc%2F</link>
            <description>Travelling with fit, well hydrated, socially capable, phototropic, extrovert athletes in a Westward direction (to South Africa) should, in theory, be a fairly straight forward exercise... (Source: Life in the Fast Lane)</description>
            <author>Life in the Fast Lane</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4610817</comments>
            <pubDate>Fri, 18 Mar 2011 07:45:46 +0100</pubDate>
            <guid isPermaLink="false">4610817</guid>        </item>
        <item>
            <title>Western Force in South Africa – Preparation</title>
            <link>http://www.medworm.com/index.php?rid=4605834&amp;cid=t_96241_88_f&amp;fid=38129&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2Flifeinthefastlane%2FWZHV%2F%7E3%2FEiYPOb8auHs%2F</link>
            <description>Travel is an integral part of a professional Rugby Union Players regime. Competition schedules require the crossing of time zones and the rapid re-setting of the body clock with minimal disruption to on-field performance. (Source: Life in the Fast Lane)</description>
            <author>Life in the Fast Lane</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4605834</comments>
            <pubDate>Thu, 17 Mar 2011 09:17:22 +0100</pubDate>
            <guid isPermaLink="false">4605834</guid>        </item>
        <item>
            <title>New publication: analysis of large protein assemblies in macrophage cytoplasm</title>
            <link>http://www.medworm.com/index.php?rid=4592610&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F03%2F15%2Fnew-publication-analysis-of-large-protein-assemblies-in-macrophage-cytoplasm%2F</link>
            <description>First for 2011:

Proteomic and electron microscopy survey of large assemblies in macrophage cytoplasm.
Maco, B., Ross I.L., Landsberg, M., Mouradov, D., Saunders, N.F.W., Hankamer, B. and Kobe, B. (2011)
Molecular &amp; Cellular Proteomics, in press, doi:10.1074/mcp.M111.008763

This is an in-press article which is freely-available just now (although strangely, the supplemental data are not). I&amp;#8217;m pleased to note that we also made the raw data available in Proteome Commons. In fact, it was a condition of publication.
Lots of hard work went into this one. My contribution was quite minor: some bioinformatic analysis and hacking away at PyMsXML to make it work with newer versions of vendor formats. I&amp;#8217;d like to thank Brad Chapman with respect to PyMsXML, who provided invaluable advi...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4592610</comments>
            <pubDate>Tue, 15 Mar 2011 04:07:58 +0100</pubDate>
            <guid isPermaLink="false">4592610</guid>        </item>
        <item>
            <title>Algorithms running day and night</title>
            <link>http://www.medworm.com/index.php?rid=4455410&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F02%2F09%2Falgorithms-running-day-and-night%2F</link>
            <description>Warning: contains murky, somewhat unstructured thoughts on large-scale biological data analysis
Picture this. It&amp;#8217;s based on a true story: names and details altered.
Alice, a biomedical researcher, performs an experiment to determine how gene expression in cells from a particular tissue is altered when the cells are exposed to an organic compound, substance Y. She collates a list of the most differentially-expressed genes and notes, in passing, that the expression of Gene X is much lower in the presence of substance Y.
Bob, a bioinformatician in the same organisation but in a different city to Alice, is analysing a public dataset. This experiment looks at gene expression in the same tissue but under different conditions: normal compared with a disease state, Z Syndrome. He also notes ...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4455410</comments>
            <pubDate>Wed, 09 Feb 2011 03:41:21 +0100</pubDate>
            <guid isPermaLink="false">4455410</guid>        </item>
        <item>
            <title>A Change of Direction</title>
            <link>http://www.medworm.com/index.php?rid=4450298&amp;cid=t_96241_88_f&amp;fid=38129&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2Flifeinthefastlane%2FWZHV%2F%7E3%2FPwZbVEdu5o4%2F</link>
            <description>I have taken on a new challenge as team doctor for the Emirates Western Force (EWF) Super XV Rugby Union Team in Perth, Western Australia (Source: Life in the Fast Lane)</description>
            <author>Life in the Fast Lane</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4450298</comments>
            <pubDate>Tue, 08 Feb 2011 09:37:26 +0100</pubDate>
            <guid isPermaLink="false">4450298</guid>        </item>
        <item>
            <title>APIs have let me down part 1/2: ArrayExpress</title>
            <link>http://www.medworm.com/index.php?rid=4405961&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2011%2F01%2F27%2Fapis-have-let-me-down-part-12-arrayexpress%2F</link>
            <description>The API &amp;#8211; Application Programming Interface &amp;#8211; is, in principle, a wonderful thing. You make a request to a server using a URL and back come lovely, structured data, ready to parse and analyse. We&amp;#8217;ve begun to demand that all online data sources offer an API and lament the fact that so few online biological databases do so.
Better though, to have no API at all than one which is poorly implemented and leads to frustration? I&amp;#8217;m beginning to think so, after recent experiences on both a work project and one of my &amp;#8220;fun side projects&amp;#8221;. Let&amp;#8217;s start with the work project, an attempt to mine a subset of the ArrayExpress microarray database.

1. Introduction
ArrayExpress is an online database of microarray experiments, organised by both gene (the expression at...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4405961</comments>
            <pubDate>Thu, 27 Jan 2011 09:04:11 +0100</pubDate>
            <guid isPermaLink="false">4405961</guid>        </item>
        <item>
            <title>First publication for a while: a review of nuclear localization</title>
            <link>http://www.medworm.com/index.php?rid=4142921&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F11%2F08%2Ffirst-publication-for-a-while-a-review-of-nuclear-localization%2F</link>
            <description>Thanks to my former colleagues at UQ for involving me with:

Marfori, M., Mynott, A., Ellis, J.J., Mehdid, A.M., Saunders, N.F.W., Curmi, P.M., Forwood, J.K., Bodén, M. and Kobe, B. (2010)
Molecular basis for specificity of nuclear import and prediction of nuclear localization.
Biochimica et Biophysica Acta (BBA) &amp;#8211; Molecular Cell Research: in press &amp;#8211; uncorrected proof.

A real group effort this one; I made a small contribution to Section 3 &amp;#8211; Nuclear localization databases and computational tools to predict nuclear localization.
Note that this version is an uncorrected proof and may change slightly before full publication. If nuclear localization is your thing, I think you&amp;#8217;ll enjoy it; it&amp;#8217;s a pretty comprehensive review.
Filed under: bioinformatics, publicatio...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4142921</comments>
            <pubDate>Mon, 08 Nov 2010 03:06:50 +0100</pubDate>
            <guid isPermaLink="false">4142921</guid>        </item>
        <item>
            <title>Best of Our Blogs: October 5, 2010</title>
            <link>http://www.medworm.com/index.php?rid=4031304&amp;cid=t_96241_109_f&amp;fid=34750&amp;url=http%3A%2F%2Fpsychcentral.com%2Fblog%2Farchives%2F2010%2F10%2F05%2Fbest-of-our-blogs-october-5-2010%2F</link>
            <description>It&amp;#8217;s October and Mental Health Awareness Week! How are you celebrating?
Yep, there&amp;#8217;s no denying it&amp;#8217;s fall. I went to the park this weekend and the crispy air and falling leaves were signs that this is indeed the end of the ease of summer and the beginning of a new season.
Every ending has a new beginning and like New Year&amp;#8217;s it is another opportunity for self-growth and change. It beckons us to ask the question, &amp;#8220;Will I embrace the coming season or mourn the lost of the one before?&amp;#8221;
If you are courageous, brave and on a mission for change, then you&amp;#8217;ll be tickled with this week&amp;#8217;s top posts.
Why?

Do you remember the scene in Bridget Jones&amp;#8217;s Diary where Bridget&amp;#8217;s enemy Mark Darcy suddenly turns into the love of her life over night wi...</description>
            <author>World of Psychology</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=4031304</comments>
            <pubDate>Tue, 05 Oct 2010 12:32:22 +0100</pubDate>
            <guid isPermaLink="false">4031304</guid>        </item>
        <item>
            <title>Connecting to a MongoDB database from R using Java</title>
            <link>http://www.medworm.com/index.php?rid=3999181&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F09%2F24%2Fconnecting-to-a-mongodb-database-from-r-using-java%2F</link>
            <description>It would be nice if there were an R package, along the lines of RMySQL, for MongoDB. For now there is not &amp;#8211; so, how best to get data from a MongoDB database into R?
One option is to retrieve JSON via the MongoDB REST interface and parse it using the rjson package. Assuming, for example, that you have retrieved your CiteULike collection in JSON format from this URL:


http://www.citeulike.org/json/user/neils

- and saved it to a database named citeulike in a collection named articles, you can fetch the first 5 articles into R like so:

library(RCurl)
library(rjson)

db &amp;lt;- &amp;quot;http://localhost:28017/citeulike/articles/?limit=5&amp;quot;
articles &amp;lt;- fromJSON(getURL(db))
articles$rows[[1]]$title
# [1] &amp;quot;A computational genomics pipeline for prokaryotic sequencing projects&amp;quot;

...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3999181</comments>
            <pubDate>Fri, 24 Sep 2010 07:15:00 +0100</pubDate>
            <guid isPermaLink="false">3999181</guid>        </item>
        <item>
            <title>How many monotypic genera?</title>
            <link>http://www.medworm.com/index.php?rid=3718624&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F07%2F02%2Fhow-many-monotypic-genera%2F</link>
            <description>During all the recent discussion around Neandertals and modern humans, it&amp;#8217;s often pointed out that Homo sapiens is the sole extant representative of the genus Homo. I began to wonder &amp;#8220;how unusual is this?&amp;#8221; in a FriendFeed comment thread. What resources exist that could help us to answer this question?
Genera that contain only one species are termed monotypic. Wikipedia even has a category page for this topic but their lists are limited, since Wikipedia is not a comprehensive taxonomy resource.
Taxonomy is not my specialty but once in a while, I enjoy challenging myself with unfamiliar resources and data types. I figured initially that we could get some way towards an answer using BioSQL and the NCBI taxonomy database. As it turned out I was completely wrong, but it was an...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3718624</comments>
            <pubDate>Fri, 02 Jul 2010 02:56:59 +0100</pubDate>
            <guid isPermaLink="false">3718624</guid>        </item>
        <item>
            <title>Beware of rogue header files (Bioconductor installation)</title>
            <link>http://www.medworm.com/index.php?rid=3552477&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F05%2F11%2Fbeware-of-rogue-header-files-bioconductor-installation%2F</link>
            <description>Just a short note concerning a &amp;#8220;gotcha&amp;#8221;.
As I have many times before, I opened an R console on my newly-upgraded (to lucid 10.04) Ubuntu machine, typed source(&amp;#8220;http://bioconductor.org/biocLite.R&amp;#8221;) and began a Bioconductor install with biocLite(). Only this time, I saw this:

Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library
 '/home/sau103/R/i486-pc-linux-gnu-library/2.11/affyio/libs/affyio.so':
 /home/sau103/R/i486-pc-linux-gnu-library/2.11/affyio/libs/affyio.so: undefined symbol: egzread
ERROR: loading failed
* removing ‘/home/sau103/R/i486-pc-linux-gnu-library/2.11/affyio’

A quick email to the Bioconductor mailing list put me in touch with the very helpful Martin Morgan, who suggested that I check my zlib libraries. Sure enough, ...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3552477</comments>
            <pubDate>Tue, 11 May 2010 06:18:18 +0100</pubDate>
            <guid isPermaLink="false">3552477</guid>        </item>
        <item>
            <title>Experiments with igraph</title>
            <link>http://www.medworm.com/index.php?rid=3490802&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F04%2F21%2Fexperiments-with-igraph%2F</link>
            <description>Networks &amp;#8211; social and biological &amp;#8211; are all the rage, just now. Indeed, a recent entry at Duncan&amp;#8217;s QOTD described the &amp;#8220;hairball&amp;#8221; network representation as the dominant cultural icon in molecular biology.
I&amp;#8217;ve not had occasion to explore networks &amp;#8220;professionally&amp;#8221;, but have always been fascinated by both networks and the tools used to analyse them. My grasp of graph theory, the mathematics behind networks, is more or less summarised by this Wikipedia page. I&amp;#8217;ve also been exploring the igraph library and thought I&amp;#8217;d share a few of my &amp;#8220;experiments with igraph&amp;#8221;. As I say, I&amp;#8217;m learning myself as I go along, so none of this should be taken as professional advice.
Let&amp;#8217;s start with my favourite network &amp;#8211; Friend...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3490802</comments>
            <pubDate>Wed, 21 Apr 2010 06:21:36 +0100</pubDate>
            <guid isPermaLink="false">3490802</guid>        </item>
        <item>
            <title>Getting your web application and R(Apache) to talk to each other</title>
            <link>http://www.medworm.com/index.php?rid=3483046&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F04%2F19%2Fgetting-your-web-application-and-rapache-to-talk-to-each-other%2F</link>
            <description>Here&amp;#8217;s the situation. Web applications, built using a framework (e.g. Rails, Django) are great for fetching data from a database and rendering it. They&amp;#8217;re not so great for crunching and charting the data. Conversely, R is great for crunching and charting, but doesn&amp;#8217;t make for a great web application.
Index view for values
The idea then, is to let each do what it does best and enable the passing of data between them. There isn&amp;#8217;t a whole lot of literature on this topic, but there are a couple of guides:

In these seminar slides (PDF), Jeroen Ooms describes how data can be passed between a web browser and R. Briefly, he uses client-side javascript to format the data as a JSON string. Server-side R (RApache) then parses the POST variable using fromJSON() (in the rjson p...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3483046</comments>
            <pubDate>Mon, 19 Apr 2010 13:44:08 +0100</pubDate>
            <guid isPermaLink="false">3483046</guid>        </item>
        <item>
            <title>I’d be more than happy with the unlinked data web</title>
            <link>http://www.medworm.com/index.php?rid=3471975&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F04%2F15%2Fid-be-more-than-happy-with-the-unlinked-data-web%2F</link>
            <description>Visit this URL and you&amp;#8217;ll find a perfectly-formatted CSV file containing information about recent earthquakes. A nice feature of R is the ability to slurp such a URL straight into a data frame:

quakes &amp;lt;- read.csv(&amp;quot;http://neic.usgs.gov/neis/gis/qed.asc&amp;quot;, header = T)
colnames(quakes)
# [1] &amp;quot;Date&amp;quot;   &amp;quot;TimeUTC&amp;quot;  &amp;quot;Latitude&amp;quot; &amp;quot;Longitude&amp;quot; &amp;quot;Magnitude&amp;quot; &amp;quot;Depth&amp;quot;
# number of recent quakes
nrow(quakes)
# [1] 3135
# biggest recent quake
subset(quakes, quakes$Magnitude == max(quakes$Magnitude, na.rm = T))
#      Date  TimeUTC Latitude Longitude Magnitude Depth
# 2060 2010/02/27 06:34:14.0 -35.993  -72.828    8.8  35

I hear a lot about the &amp;#8220;web of data&amp;#8221; and the &amp;#8220;linked data web&amp;#8221; but honestly, I&amp;#8217;ll ...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3471975</comments>
            <pubDate>Thu, 15 Apr 2010 05:02:15 +0100</pubDate>
            <guid isPermaLink="false">3471975</guid>        </item>
        <item>
            <title>BioMart (and biomaRt)</title>
            <link>http://www.medworm.com/index.php?rid=3408575&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F03%2F26%2Fbiomart-and-biomart%2F</link>
            <description>I&amp;#8217;ve been vaguely aware of BioMart for a few years. Inexplicably, I&amp;#8217;ve only recently started to use it. It&amp;#8217;s one of the most useful applications I&amp;#8217;ve ever used.

The concept is simple. You have a set of identifiers that describe a biological object, such as a gene. These are called filters. They have values &amp;#8211; for example, HGNC symbols. You want to retrieve other identifiers &amp;#8211; attributes &amp;#8211; for your objects.
You can use BioMart as a web application called MartView. However, R users should check out the biomaRt package, part of the Bioconductor suite. Here&amp;#8217;s a couple of examples.
Example 1: fetch Ensembl gene identifiers given HGNC symbols
Let&amp;#8217;s start with a simple example. You have a CSV file in which one of the fields is a HGNC symbol (w...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3408575</comments>
            <pubDate>Fri, 26 Mar 2010 07:23:18 +0100</pubDate>
            <guid isPermaLink="false">3408575</guid>        </item>
        <item>
            <title>Forget Me Not: Put Me Online</title>
            <link>http://www.medworm.com/index.php?rid=3395096&amp;cid=t_96241_87_f&amp;fid=36050&amp;url=http%3A%2F%2Fblisstree.com%2Flive%2Fforget-me-not-put-me-online%2F</link>
            <description>Photo albums? So last year. A book? We&amp;#8217;d rather read our Nook. If you missed the e-memo: Bound is out, digital is in.
When you upgrade from paper to PDF, it&amp;#8217;s time to toss your old journal. Thanks to new online diary services, you can use the Internet to unleash your inner Bridget Jones. Here are three of our fave places to soul-search on the World Wide Web:

Penzu – Like the bound journals of yore, Penzu is a simple, straight-up diary platform. Its pages look like lined paper, and you can add digital photos through Flickr. You choose whether to keep your profile and journal private, or share entries with friends. (free)
Cozi – This family journal blows your pen and paper off the table. It&amp;#8217;s designed to be a collaborative journal, calendar, and communication service f...</description>
            <author>Breastfeeding 1-2-3</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3395096</comments>
            <pubDate>Mon, 22 Mar 2010 17:41:37 +0100</pubDate>
            <guid isPermaLink="false">3395096</guid>        </item>
        <item>
            <title>Clustering GEO samples by title (briefly) revisited</title>
            <link>http://www.medworm.com/index.php?rid=3212505&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F01%2F27%2Fclustering-geo-samples-by-title-briefly-revisited%2F</link>
            <description>So, we had a brief discussion regarding my previous post and clearly the statement:

The longest key for which values exist classifies your titles

does not hold true for all cases. Not that I ever said that it did! I remind you that this blog is a place for the half-formed ideas that spill out of my head, not an instruction manual.
Let&amp;#8217;s look, for example, at GSE19318. This GEO series comprises 2 platforms: one for dog (10 samples) and one for humans (1 sample), with these sample titles:

['Dog-tumor-81705', 'Dog-tumor-78709', 'Dog-tumor-88012', 'Dog-tumor-8888302', 'Dog-tumor-209439', 'Dog-tumor-212227', 'Dog-tumor-48', 'Dog-tumor-125', 'Dog-tumor-394', 'Dog-tumor-896', 'Human-tumor']

Run that through the Ruby code in my last post and we get:

{&amp;quot;Dog-tumor-48&amp;quot;=&amp;gt;[&amp;quot;...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3212505</comments>
            <pubDate>Wed, 27 Jan 2010 01:29:56 +0100</pubDate>
            <guid isPermaLink="false">3212505</guid>        </item>
        <item>
            <title>“Thinking algorithmically”:  clustering GEO samples by title</title>
            <link>http://www.medworm.com/index.php?rid=3201861&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F01%2F24%2Fthinking-algorithmically-clustering-geo-samples-by-title%2F</link>
            <description>Today&amp;#8217;s challenge. Take a look at this array, which contains the &amp;#8220;title&amp;#8221; field for the 6 samples from GSE1323, a series in the GEO microarray database:

['SW-480-1','SW-480-2','SW-480-3','SW-620-1','SW-620-2','SW-620-3']

Humans are very good at classification. Almost instantly, you&amp;#8217;ll see that there are 2 classes, &amp;#8220;SW-480&amp;#8243; and &amp;#8220;SW-620&amp;#8243;, each with 3 samples. How can we write a program to do the same job?

I&amp;#8217;m sure that for those with formal training in computer science and algorithms, this is pretty trivial. The rest of us have to figure it out from first principles. Here&amp;#8217;s what I did, in words:

# Imagine that you have 2 titles: &amp;quot;abc1&amp;quot; and &amp;quot;abc2&amp;quot;
# Take the first character - call it the key, call the remaining...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3201861</comments>
            <pubDate>Sun, 24 Jan 2010 05:03:00 +0100</pubDate>
            <guid isPermaLink="false">3201861</guid>        </item>
        <item>
            <title>What I learned this week about:  productivity, MongoDB and nginx</title>
            <link>http://www.medworm.com/index.php?rid=3178941&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F01%2F15%2Fwhat-i-learned-this-week-about-productivity-mongodb-and-nginx%2F</link>
            <description>Productivity
It was an excellent week. It was also a week in which I payed much less attention than usual to Twitter and FriendFeed. Something to think about&amp;#8230;
MongoDB
I&amp;#8217;m now using MongoDB so frequently that I&amp;#8217;d like the database server to start up on boot and stay running. There are 2 init scripts for Debian/Ubuntu in this Google Groups thread. I followed the instructions in the second post, with minor modifications to the script:

# I like to keep mongodb in /opt
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/mongodb/bin
DAEMON=/opt/mongodb/bin/mongod
# you don't need 'run' in these options
DAEMON_OPTS='--dbpath /data/db'
# I prefer lower-case name for the PID file
NAME=mongodb
# I think /data/db should be owned by the mongodb user
sudo chown -R ...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3178941</comments>
            <pubDate>Fri, 15 Jan 2010 08:45:46 +0100</pubDate>
            <guid isPermaLink="false">3178941</guid>        </item>
        <item>
            <title>A new twist on the identifier mapping problem</title>
            <link>http://www.medworm.com/index.php?rid=3163976&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2010%2F01%2F12%2Fa-new-twist-on-the-identifier-mapping-problem%2F</link>
            <description>Yesterday, Deepak wrote about BridgeDB, a software package to deal with the &amp;#8220;identifier mapping problem&amp;#8221;. Put simply, biologists can name a biological entity in any way that they like, leading to multiple names for the same object. Easily solved, you might think, by choosing one identifier and sticking to it, but that&amp;#8217;s apparently way too much of a challenge.
However, there are times when this situation is forced upon us. Consider this code snippet, which uses the Bioconductor package GEOquery via the RSRuby library to retrieve a sample from the GEO database:

require &amp;quot;rubygems&amp;quot;
require &amp;quot;rsruby&amp;quot;

if ENV['R_HOME'].nil?
 ENV['R_HOME'] = &amp;quot;/usr/lib/R&amp;quot;
end

r = RSRuby.instance
r.library(&amp;quot;GEOquery&amp;quot;)
sample = r.getGEO(&amp;quot;GSM434143&amp;quot;...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3163976</comments>
            <pubDate>Tue, 12 Jan 2010 03:57:02 +0100</pubDate>
            <guid isPermaLink="false">3163976</guid>        </item>
        <item>
            <title>Has our quest for completeness made things too complicated?</title>
            <link>http://www.medworm.com/index.php?rid=3048289&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F12%2F02%2Fhas-our-quest-for-completeness-made-things-too-complicated%2F</link>
            <description>In my opinion, yes. Let me elaborate.
My current job is very much focused on &amp;#8220;data integration&amp;#8221;. What this means is that we have a large amount of diverse data from different &amp;#8220;-omics&amp;#8221; experiments: microarrays, protein mass spectrometry, DNA sequencing &amp;#8211; really, whatever you like, but it&amp;#8217;s all aimed at answering the same question. Namely: which of these biological entities (transcripts, proteins, metabolites) are markers for various human disease states?

Somehow, we have to pull all of these data into a common framework so that it can be analysed using statistics. The problem: whilst a lot of effort has gone into designing schema and ontologies that describe the individual data types, less effort has been applied to the question: what do all these things...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3048289</comments>
            <pubDate>Wed, 02 Dec 2009 02:38:06 +0100</pubDate>
            <guid isPermaLink="false">3048289</guid>        </item>
        <item>
            <title>A brief survey of R web interfaces</title>
            <link>http://www.medworm.com/index.php?rid=3039956&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F11%2F30%2Fa-brief-survey-of-r-web-interfaces%2F</link>
            <description>I&amp;#8217;m looking at ways to provide access to R via a web application. First rule: see what&amp;#8217;s available first, before you reinvent the wheel. It&amp;#8217;s not pretty.
From the R Web Interfaces FAQ:


Software
Brief notes


Rweb
Page last updated 1999. Of the 3 example links on the page one ran very slowly, the second not at all and the third is broken.


R-Online
Or rather, not online. Unless this CGI form is the same thing. I tried Example 1, it returned a server error.


Rcgi
Links to several CGI forms, none of which worked for me.


CGI-based R access
Link did not load.


CGIwithR
Package now maintained at Omegahat. Did not attempt installation. Last updated 2005.


Rpad
I could not connect to this URL.


RApache
The pick of the bunch. Provides server-side access to R through an Ap...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=3039956</comments>
            <pubDate>Mon, 30 Nov 2009 03:03:39 +0100</pubDate>
            <guid isPermaLink="false">3039956</guid>        </item>
        <item>
            <title>Top Ten Bipolar Blogs 2009</title>
            <link>http://www.medworm.com/index.php?rid=2934767&amp;cid=t_96241_109_f&amp;fid=34750&amp;url=http%3A%2F%2Fpsychcentral.com%2Fblog%2Farchives%2F2009%2F10%2F28%2Ftop-ten-bipolar-blogs-2009%2F</link>
            <description>Every year the entrants for the Best of the Web awards multiply. In 2009, veterans stood tough as new kids dazzled. It was difficult to narrow the list to just ten (and some more faves we want to mention), but here are our picks for the top blogs written by people who have been diagnosed with a bipolar disorder.

1. The Secret Life of a Manic Depressive
Do&amp;#8217;s and Don&amp;#8217;ts for the Mentally Interesting was a BBC Radio play based on Seaneen&amp;#8217;s blog produced last May and just nominated for a Mind Mental Health Media Award. Always a compelling and honest read, it was no fluke or sympathy vote that caused us to place this blog near the top of our list last year - it deserves many accolades. Well done.
2. The Trouble With Spikol
Another great year for Liz Spikol, a stellar writer an...</description>
            <author>World of Psychology</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2934767</comments>
            <pubDate>Wed, 28 Oct 2009 12:58:05 +0100</pubDate>
            <guid isPermaLink="false">2934767</guid>        </item>
        <item>
            <title>Art Therapy</title>
            <link>http://www.medworm.com/index.php?rid=2851855&amp;cid=t_96241_109_f&amp;fid=38953&amp;url=http%3A%2F%2Frileyjennifer.blogspot.com%2F2009%2F09%2Fi-have-already-posted-about-creativity.html</link>
            <description>I have already posted about creativity being associated with mental illnesses.If you are one of those people struggling with a psychiatric disorder, art therapy might be something you will want to try. You already have a statistical advantage of being able to creatively express yourself, and you have to do something in order to start feeling better, and mood diaries (as helpful as they are and you shouldn’t stop doing any other homework you are currently doing) and cleaning the cat box can get dull pretty quick. As well, as your condition improves, you will need to add more activities to your schedule in order to keep your mind healthy and active.The creation of an artistic piece of work can be emotionally difficult or it can be a relaxing process. It has been my experience that artists ...</description>
            <author>Psych Scamp</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2851855</comments>
            <pubDate>Wed, 30 Sep 2009 04:50:00 +0100</pubDate>
            <guid isPermaLink="false">2851855</guid>        </item>
        <item>
            <title>---</title>
            <link>http://www.medworm.com/index.php?rid=2846435&amp;cid=t_96241_109_f&amp;fid=38953&amp;url=http%3A%2F%2Frileyjennifer.blogspot.com%2F2009%2F09%2Fi-have-already-posted-about-creativity.html</link>
            <description>I have already posted about creativity being associated with mental illnesses.If you are one of those people struggling with a psychiatric disorder, art therapy might be something you will want to try. You already have a statistical advantage of being able to creatively express yourself, and you have to do something in order to start feeling better, and mood diaries (as helpful as they are and you shouldn’t stop doing any other homework you are currently doing) and cleaning the cat box can get dull pretty quick. As well, as your condition improves, you will need to add more activities to your schedule in order to keep your mind healthy and active.The creation of an artistic piece of work can be emotionally difficult or it can be a relaxing process. It has been my experience that artists ...</description>
            <author>Psych Scamp</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2846435</comments>
            <pubDate>Wed, 30 Sep 2009 04:50:00 +0100</pubDate>
            <guid isPermaLink="false">2846435</guid>        </item>
        <item>
            <title>Improvements to the reference management workflow</title>
            <link>http://www.medworm.com/index.php?rid=2699811&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F08%2F14%2Fimprovements-to-the-reference-management-workflow%2F</link>
            <description>I use Google Reader to subscribe to the RSS feeds from journals that interest me (see my public page). I&amp;#8217;m also a big fan of CiteULike as a reference management system.
For a long time I&amp;#8217;ve thought: it would be great if GReader handled journal articles more efficiently. Rather than going from link in GReader -&amp;gt; article at journal -&amp;gt; CiteULike bookmark -&amp;gt; back to GReader, how about &amp;#8220;post directly from GReader?&amp;#8221;
With Google Reader&amp;#8217;s new send-to feature, you can do just that. See this forum post for the details. Also, take a look at this how-to for a quick way to post to CiteULike by entering a PubMed PMID, DOI or ISBN identifier in the address bar.
Posted in bibliography, research diary, web resources (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2699811</comments>
            <pubDate>Fri, 14 Aug 2009 00:30:22 +0100</pubDate>
            <guid isPermaLink="false">2699811</guid>        </item>
        <item>
            <title>How-to:  search across linked tables using acts_as_ferret</title>
            <link>http://www.medworm.com/index.php?rid=2561491&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F07%2F01%2Fhow-to-search-across-linked-tables-using-acts_as_ferret%2F</link>
            <description>I&amp;#8217;m in the process of adding search to a Rails application, using acts_as_ferret and ran into this issue. How to search a table using a field from another table, supplied by a foreign key?

Let&amp;#8217;s say you created a table for a model named Feature:


 create_table &amp;quot;features&amp;quot;, :force =&amp;gt; true do |t|
  t.integer &amp;quot;feature_name_id&amp;quot;
  t.integer &amp;quot;chromosome_id&amp;quot;
  t.integer &amp;quot;start&amp;quot;
  t.integer &amp;quot;end&amp;quot;
  t.string  &amp;quot;strand&amp;quot;
  t.datetime &amp;quot;created_at&amp;quot;
  t.datetime &amp;quot;updated_at&amp;quot;
 end

This model, Feature, belongs_to two models, FeatureName and Chromosome, each with a field &amp;#8220;name&amp;#8221;:


 create_table &amp;quot;feature_names&amp;quot;, :force =&amp;gt; true do |t|
  t.string  &amp;quot;name&amp;quot;
  t.datetime &amp;quot;created...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2561491</comments>
            <pubDate>Wed, 01 Jul 2009 07:38:40 +0100</pubDate>
            <guid isPermaLink="false">2561491</guid>        </item>
        <item>
            <title>Taxpayers and the Federal Diary</title>
            <link>http://www.medworm.com/index.php?rid=2441169&amp;cid=t_96241_87_f&amp;fid=36438&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2FCato-at-liberty%2F%7E3%2FDdyysKBdvUk%2F</link>
            <description>The Federal Diary column in the Washington Post is a curious piece of newspaper real estate. Most newspaper columns are aimed at the broad general public, but this column is aimed directly at the few hundred thousand government workers in the DC region. The result is that it takes a very government- and union-centric view of the world. The fact that the federal civilian workforce costs taxpayers an enormous $300 billion or so every year is beside the point for the column.
In a briefing with reporters yesterday, the head of the Office of Personnel Management complained about a Lou Dobbs television bit that featured this data that I assembled from the Bureau of Economic Analysis. The Federal Diary columnist called me yesterday about the data, and I explained to him the shortcomings of ...</description>
            <author>Cato-at-liberty</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2441169</comments>
            <pubDate>Thu, 28 May 2009 20:46:14 +0100</pubDate>
            <guid isPermaLink="false">2441169</guid>        </item>
        <item>
            <title>Wikification:  thinking in public</title>
            <link>http://www.medworm.com/index.php?rid=2100876&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F01%2F14%2Fwikification-thinking-in-public%2F</link>
            <description>Over the last 3 years, I&amp;#8217;ve stored many small snippets of information in a set of Google Notebooks. Sample topics: notes for blog posts, programming skills that I&amp;#8217;d like to learn and preliminary (or half-baked) ideas for research or software projects. I&amp;#8217;ve learned that:

Whilst Google Notebook is great for scraping information from web pages, it leaves a lot to be desired in terms of editing and presentation
Ideas left in private notebooks quickly become dead ideas

Yes you can publicise, tag and collaborate at a Google Notebook, but this doesn&amp;#8217;t fit with my workflow - or that of many others, I suspect. So, I&amp;#8217;ve taken as much of the material as I want to make public and dumped it on a wiki at Wikidot.com. By the way, if you&amp;#8217;re looking for a free hosted w...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2100876</comments>
            <pubDate>Wed, 14 Jan 2009 03:42:06 +0100</pubDate>
            <guid isPermaLink="false">2100876</guid>        </item>
        <item>
            <title>Easy visualisation of database schemas using SQLFairy</title>
            <link>http://www.medworm.com/index.php?rid=2095831&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F01%2F11%2Feasy-visualisation-of-database-schemas-using-sqlfairy%2F</link>
            <description>BioSQL schema
Here&amp;#8217;s a common problem solved: how to generate a pretty picture of your database schema. A Google search throws up all manner of home-brewed solutions using graphviz, perl scripts and so on. Or you can make life easier and simply install SQLFairy.
Under Ubuntu: as simple as &amp;#8220;sudo apt-get install sqlfairy&amp;#8221;.
Next, dump your database tables, e.g. for MySQL:


mysqldump -u username -p -d mydatabase &amp;gt; mydatabase.sql

Finally, for a PNG image of your schema:


sqlt-graph -f MySQL -o mydatabase.png -t png mydatabase.sql

Too easy. Example shown is the BioSQL schema.
update: if your schema lacks explicit foreign keys, try the &amp;#8211;natural-join options (man sqlt-graph, man sqlt-diagram)
Posted in bioinformatics, computing, linux, research diary&amp;nbsp;&amp;nbsp;&amp;nbsp...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2095831</comments>
            <pubDate>Sun, 11 Jan 2009 08:45:44 +0100</pubDate>
            <guid isPermaLink="false">2095831</guid>        </item>
        <item>
            <title>Text to fasta and other delights of the shell</title>
            <link>http://www.medworm.com/index.php?rid=2083948&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2009%2F01%2F07%2Ftext-to-fasta-and-other-delights-of-the-shell%2F</link>
            <description>One thing I&amp;#8217;ve learned in my current job is that some familiarity with Linux tools for processing text files: awk, sed, grep, head/tail, cut/paste and so on, often provides a speedier solution than writing a script in (insert scripting language of choice here). I know this stuff is trivial to shell gurus, but I still get a little buzz out of it. A couple of real-life examples.


Delimited text to fasta
Your collaborator has developed &amp;#8220;peptides on a chip&amp;#8221; and sends you a text file describing said chip where column 1 = spot number, column 2 = peptide sequence:

1	ELDQGSLATSF
2	VDLAATPTDVR
3	TTNEEYLDLSQ
4	SSLDVYDGRFL
5	ALVHSYMTGRR


Your analysis requires that the peptide sequences be in fasta format. Easy, using awk:


awk &amp;#039;{print &amp;quot;&amp;gt;peptide&amp;quot; $1 &amp;quot;\n&amp;qu...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2083948</comments>
            <pubDate>Wed, 07 Jan 2009 03:02:42 +0100</pubDate>
            <guid isPermaLink="false">2083948</guid>        </item>
        <item>
            <title>I'd Blog Something Interesting...</title>
            <link>http://www.medworm.com/index.php?rid=2510246&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2FAScannerBrightly%2F%7E3%2Frj02T93Pgpw%2Fid-blog-something-interesting.html</link>
            <description>But I'm too busy trying not to smoke.I've been a two pack a day guy for many years. I had a total of three cigs yesterday. This might be the year! (Source: A Scanner Brightly)</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=2510246</comments>
            <pubDate>Tue, 06 Jan 2009 17:52:00 +0100</pubDate>
            <guid isPermaLink="false">2510246</guid>        </item>
        <item>
            <title>The three phases of MySQL usage</title>
            <link>http://www.medworm.com/index.php?rid=1883278&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F10%2F17%2Fthe-three-phases-of-mysql-usage%2F</link>
            <description>As Mike keeps reminding me, getting your data into database tables is A Good Thing. Like many people, my database of choice is MySQL - largely because it was the first one that I tried and it works for me.
However, I&amp;#8217;m far from being an expert MySQL user. In fact, I&amp;#8217;ve identified 3 stages in my use of MySQL over the years; see if you recognise yourself in any of them.


The single table database
Early in your MySQL career, you discover either &amp;#8220;LOAD DATA INFILE&amp;#8221; or the command-line tool &amp;#8220;mysqlimport&amp;#8221;. You realise that this is a quick and easy way to get all of those delimited text files straight into a database. Off you go, merrily importing everything on your hard drive into tables.
At some stage, you begin to wonder whether listing the same identifier (...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1883278</comments>
            <pubDate>Fri, 17 Oct 2008 04:55:33 +0100</pubDate>
            <guid isPermaLink="false">1883278</guid>        </item>
        <item>
            <title>Genomic analysis of Pseudoalteromonas tunicata</title>
            <link>http://www.medworm.com/index.php?rid=1825493&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F09%2F25%2Fgenomic-analysis-of-pseudoalteromonas-tunicata%2F</link>
            <description>Some years ago, I provided advice and a little analysis for a group at UNSW studying marine bacteria. It&amp;#8217;s nice to see that they remembered me:

Thomas, T., Evans, F.F., Schleheck, D., Mai-Prochnow, A., Burke, C., Penesyan, A., Dalisay, D.S., Stelzer-Braid, S., Saunders, N., Johnson, J., Ferriera, S., Kjelleberg, S. and Egan, S. (2008).
Analysis of the Pseudoalteromonas tunicata Genome Reveals Properties of a Surface-Associated Life Style in the Marine Environment.
PLoS ONE 3:e3252.

If correlating genomic features with microbial physiology is your thing, go and check it out. The article is open access, for your pleasure - as are five of my last six efforts, I just noticed.
Posted in bioinformatics, genomics, publications, research diary&amp;nbsp;&amp;nbsp;&amp;nbsp;Tagged: plos one, pseudoalter...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1825493</comments>
            <pubDate>Thu, 25 Sep 2008 06:31:41 +0100</pubDate>
            <guid isPermaLink="false">1825493</guid>        </item>
        <item>
            <title>Not as many structures as you might think</title>
            <link>http://www.medworm.com/index.php?rid=1802641&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F09%2F18%2Fnot-as-many-structures-as-you-might-think%2F</link>
            <description>In the midst of preparing a talk for next Monday. It occurred to me that perhaps we don&amp;#8217;t see more protein structure-based prediction in bioinformatics because - there aren&amp;#8217;t enough structures.pdbstatsSure, the PDB has grown a lot in the past 5 years or so and 53 103 structures (as of now) looks impressive. However, if you&amp;#8217;re interested in protein-protein interaction, you want at least 2 chains: which more or less halves the dataset. If you want two different protein chains, you lose almost another 75%. Let&amp;#8217;s specify a reasonable minimum resolution for X-ray diffraction data and there go ~ 3 000 entries. We probably don&amp;#8217;t want multiple, similar proteins so let&amp;#8217;s remove sequence identity at a redundancy of 90%. We&amp;#8217;re left with about 2% of the origin...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1802641</comments>
            <pubDate>Thu, 18 Sep 2008 05:14:26 +0100</pubDate>
            <guid isPermaLink="false">1802641</guid>        </item>
        <item>
            <title>10 Years Ago ...</title>
            <link>http://www.medworm.com/index.php?rid=1763830&amp;cid=t_96241_136_f&amp;fid=35303&amp;url=http%3A%2F%2Fwww.assertivepatient.com%2F2008%2F09%2F10-years-ago.html</link>
            <description>September is the anniversary of my cancer diagnosis, and this month is the 10-year anniversary. And while I celebrate this anniversary as a milestone--I&amp;#39;ve survived 10 years, after all, despite recurrences and metastases to my bones--it is also a difficult anniversary: The weeks following my mammogram were the most difficult of my life.&amp;#160;I was afraid. I was angry. And the medical care I received was less than optimal--The attitudes of the doctor, nurses, and other staff who took care of me during this diagnosis period added to my distress, big time.&amp;#160;That is one reason I always give priority to people who write to me who are newly diagnosed. I understand what they are feeling,&amp;#160; and I want to do whatever I can to help.&amp;#160;Here&amp;#39;s what I wrote in &amp;quot;Jeanne&amp;#39;s Diar...</description>
            <author>The Assertive Cancer Patient</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1763830</comments>
            <pubDate>Thu, 04 Sep 2008 19:38:55 +0100</pubDate>
            <guid isPermaLink="false">1763830</guid>        </item>
        <item>
            <title>Mysteries of CCP4</title>
            <link>http://www.medworm.com/index.php?rid=1711726&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F08%2F18%2Fmysteries-of-ccp4%2F</link>
            <description>Since moving to a structural biology group, I&amp;#8217;ve had to become somewhat familiar with CCP4, a suite of programs that do all manner of things using structural data, typically PDB files.
Being a bioinformatician, I tend to ignore the GUI in favour of the input -&amp;gt; script -&amp;gt; output approach, as I&amp;#8217;m mostly interested in batch processing. Documentation describing this operation for CCP4 programs is strangely lacking on the web. The best that I can find is the CCP4 wiki; if you know the package well, please contribute to it.
I eventually dug up what I was looking for in:

/opt/ccp4/ccp4-6.0.2/examples/unix/runnable/

or the equivalent on your system. Here, you&amp;#8217;ll find a collection of shell scripts, confusingly named with the suffix &amp;#8220;.exam&amp;#8221;. As an example, here&amp;...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1711726</comments>
            <pubDate>Mon, 18 Aug 2008 07:30:45 +0100</pubDate>
            <guid isPermaLink="false">1711726</guid>        </item>
        <item>
            <title>When To Be Born A Woman Is A Curse:  A Case of Honor Killing</title>
            <link>http://www.medworm.com/index.php?rid=1677279&amp;cid=t_96241_85_f&amp;fid=36194&amp;url=http%3A%2F%2Ftesstermulo.com%2F2008%2F08%2F03%2Fwhen-to-be-born-a-woman-is-a-curse-a-case-of-honor-killing%2F</link>
            <description>The atrocities of men and women around the world and the extent of which they commit such never fail to disgust and distress me.  Who has to believe in an afterlife of eternal torment and punishment when, here on earth, humans already bring it upon their fellowmen?  And the saddest thing is that in most of these crimes, the women receives the greater punishment.
One of those horrific crimes of violence against women is the practice of &amp;#8220;honor&amp;#8221; killing.
Honor killing is the revengeful murder of a female member of the family, carried out by any or all of the family member themselves, when it&amp;#8217;s been perceived that she has brought dishonor upon the family name.  Refusing an arranged marriage, falling in love with another man that is not approved upon by the family for marri...</description>
            <author>Prudence and Madness</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1677279</comments>
            <pubDate>Sun, 03 Aug 2008 13:28:26 +0100</pubDate>
            <guid isPermaLink="false">1677279</guid>        </item>
        <item>
            <title>Off to ISMB 2008</title>
            <link>http://www.medworm.com/index.php?rid=1622074&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F07%2F15%2Foff-to-ismb-2008%2F</link>
            <description>ISMB 2008 posterThe last major international conference that I attended was ISMB 2003. It was - right here in Brisbane, although I was living in Sydney at the time. I have to admit that I haven&amp;#8217;t always been proactive when it comes to seeking funds to attend meetings. I&amp;#8217;ll admit too that I have mixed feelings about conferences. Many of my best friends are scientists, but there&amp;#8217;s something about being in a confined space with several hundred intense, academic types that unsettles me. There&amp;#8217;s also the prospect (for Australians) of travelling for 24 hours to reach N. America or Europe.
Tomorrow, I&amp;#8217;m jetting off to ISMB 2008 in Toronto. I&amp;#8217;m sure that I&amp;#8217;ll have a fine time once I get there and look forward to putting faces to those names that I&amp;#8217;ve...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1622074</comments>
            <pubDate>Tue, 15 Jul 2008 00:09:10 +0100</pubDate>
            <guid isPermaLink="false">1622074</guid>        </item>
        <item>
            <title>Thoughts on other programming languages</title>
            <link>http://www.medworm.com/index.php?rid=1593770&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F07%2F08%2Fthoughts-on-other-programming-languages%2F</link>
            <description>With respect to their potential for bioinformatics web applications:


Feature
Python
Ruby


Modern, clean syntax, object-oriented
Yes
Yes


Web framework
Django
Rails


Bio library
BioPython
BioRuby


Extensive Bio graphics library
Not really - any more than this?
Kind of - Bio::Graphics


Use with App Engine
Yes
Not yet


Well-regarded by scientific programmers
Yes
??


To the novice, it looks like &amp;#8220;much of a muchness&amp;#8221;. Thoughts? (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1593770</comments>
            <pubDate>Tue, 08 Jul 2008 01:53:38 +0100</pubDate>
            <guid isPermaLink="false">1593770</guid>        </item>
        <item>
            <title>My Top 10 Emerging Influential Blogs for 2008</title>
            <link>http://www.medworm.com/index.php?rid=1593936&amp;cid=t_96241_85_f&amp;fid=36194&amp;url=http%3A%2F%2Ftesstermulo.com%2F2008%2F07%2F08%2Fmy-top-10-emerging-influential-blogs-for-2008%2F</link>
            <description>Goodness!  It really did take me some time before I was able to decide which blogs to include in this list.  The problem I had in compiling the blogs was that most of the blogs I visit cannot qualify for the Top 10 anymore because their blogs started way before 2007.  I was keen on putting a vote for The Blog Rounds (TBR), a medical blog carnival started by Filipino doctors, as spearheaded by Bone MD.  But the problem is that the TBR isn&amp;#8217;t hosted in its own blog, but rather is currently a section of Bone MD&amp;#8217;s blog.  So I&amp;#8217;m not sure if it would still qualify, though I&amp;#8217;m more inclined to think that it wouldn&amp;#8217;t.  So I&amp;#8217;ve to review the other blogs I visit and came up with the following (listed in no particular order):

Filipino Voices.com
It is general...</description>
            <author>Prudence and Madness</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1593936</comments>
            <pubDate>Mon, 07 Jul 2008 16:13:13 +0100</pubDate>
            <guid isPermaLink="false">1593936</guid>        </item>
        <item>
            <title>Notes from the day job:  published #3, #4, 2008</title>
            <link>http://www.medworm.com/index.php?rid=1488130&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F06%2F03%2Fnotes-from-the-day-job-published-3-4-2008%2F</link>
            <description>This year, I&amp;#8217;ve experienced what bloggers call - um, not blogging very much. One reason is that much of our conversation has moved to other services - notably FriendFeed. However, the main reason is that I have a day job: develop bioinformatics applications, perform research, publish articles, present talks and keep the boss happy. Read on for some &amp;#8220;notes from the day job&amp;#8221; - especially if protein kinases and their substrates are your thing.

When I arrived at UQ a couple of years ago, I inherited a project named Predikin. The goal of Predikin is to predict substrates for protein kinases, using structural features in the kinase catalytic domain. It&amp;#8217;s a simple but effective idea: you look at the available structures of protein kinase-substrate peptide complexes and lo...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1488130</comments>
            <pubDate>Tue, 03 Jun 2008 04:49:43 +0100</pubDate>
            <guid isPermaLink="false">1488130</guid>        </item>
        <item>
            <title>Proteomics discussion from the science streamosphere</title>
            <link>http://www.medworm.com/index.php?rid=1436793&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F05%2F12%2Fproteomics-discussion-from-the-science-streamosphere%2F</link>
            <description>We find ourselves wondering why codon adaptation index (CAI) is used as a measure of protein expression level in this article.
One answer is that CAI does correlate well with protein expression in many proteomics studies; but surely these same studies contain raw data with protein expression level? On reflection, I bet the answer is that it&amp;#8217;s too difficult and laborious to access this type of data. There are plenty of papers that describe large-scale analysis of protein expression using proteomics, but the data are locked up in the articles or as inappropriate supplementary files.
Note to self: look into open-source software and standard data formats for proteomic data. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1436793</comments>
            <pubDate>Mon, 12 May 2008 01:27:45 +0100</pubDate>
            <guid isPermaLink="false">1436793</guid>        </item>
        <item>
            <title>Published #2 (2008)</title>
            <link>http://www.medworm.com/index.php?rid=1432379&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F05%2F09%2Fpublished-2-2008%2F</link>
            <description>It&amp;#8217;s turned out to be a pretty good week. This one has been in press for ever, but finally hit the web:

Frith, M.C., Saunders, N.F.W., Kobe, B. and Bailey, T.L. (2008).
Discovering Sequence Motifs with Arbitrary Insertions and Deletions.
PLoS Computational Biology 4(4):e1000071. [Open Access] | [PubMed]

This paper describes GLAM2, a Gibbs sampler that finds and refines variable-width motifs, allowing insertion and deletion, in related but dissimilar sets of sequences. The work is very much Martin&amp;#8217;s baby; my minor contribution was to try it out on some test datasets. It&amp;#8217;s open-access, so you can all go and enjoy it.
Two more (unrelated) in press to tell you about soon. See, I do have a day job outside of this blog. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1432379</comments>
            <pubDate>Fri, 09 May 2008 13:42:36 +0100</pubDate>
            <guid isPermaLink="false">1432379</guid>        </item>
        <item>
            <title>Published</title>
            <link>http://www.medworm.com/index.php?rid=1292211&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F03%2F11%2Fpublished%2F</link>
            <description>It&amp;#8217;s online, so I guess I can tell you about:

Lonic, A. Barry, E.F., Quach, C., Kobe, B., Saunders, N.F.W. and Guthridge, M.A. (2008)
FGFR2 phosphorylation on Serine 779 couples to 14-3-3 and regulates cell survival and proliferation.
Mol. Cell. Biol. (ahead of print); DOI:10.1128/MCB.01837-07 [Abstract] | [Manuscript]

A minor contribution from me: they asked which kinases might phosphorylate S779, I gave them a list (using a tool that may see the light of day eventually), they showed that activation of a candidate kinase leads to increased phosphorylation. That would rate an acknowledgement from some people, but these guys were kind enough to add our names to the paper.
Just another scene from the life of the &amp;#8220;go-to&amp;#8221; bioinformatician. (Source: What You're Doing Is Rath...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1292211</comments>
            <pubDate>Tue, 11 Mar 2008 01:42:00 +0100</pubDate>
            <guid isPermaLink="false">1292211</guid>        </item>
        <item>
            <title>How to: map protein sequence onto chromosomal coordinates using BioPerl</title>
            <link>http://www.medworm.com/index.php?rid=1259910&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F02%2F27%2Fhow-to-map-protein-sequence-onto-chromosomal-coordinates-using-bioperl%2F</link>
            <description>My coding challenge this week: given a protein sequence and its exons, how do you map single amino acid residues to a location on a DNA sequence? It&amp;#8217;s trickier than you might think. Read on for my latest BioPerl how-to.

Basic concepts
Picture a hypothetical protein sequence, 7 amino acid residues long. Those residues are encoded by 7 x 3 = 21 codons. Therefore, to describe the location of an amino acid on a DNA sequence, we require 3 positions.
In prokaryotes, the codons for our protein sequence are contiguous. If I tell you that the gene for our 7 amino acid protein begins at position 1000 on the chromosome, you can tell me that amino acid #1 maps to (1000, 1001, 1002), amino acid #2 maps to (1003, 1004, 1005) and so on, up to amino acid #7 at (1018, 1019, 1020). In general, the co...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1259910</comments>
            <pubDate>Wed, 27 Feb 2008 07:41:10 +0100</pubDate>
            <guid isPermaLink="false">1259910</guid>        </item>
        <item>
            <title>OpenWetWare</title>
            <link>http://www.medworm.com/index.php?rid=1246583&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F02%2F21%2Fopenwetware%2F</link>
            <description>This post from the OpenWetWare blog (discovered via Pedro&amp;#8217;s shared items) has inspired me to sign up to OWW - should have done so much earlier. Here&amp;#8217;s my user page and the beginnings of a wiki for our lab. Read the OWW mission statement if you&amp;#8217;re not familiar with their goals.
I think the OWW site provides an excellent space for collaborative projects. Note to self: aim to set up at least one in the next couple of months or so. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1246583</comments>
            <pubDate>Thu, 21 Feb 2008 00:04:42 +0100</pubDate>
            <guid isPermaLink="false">1246583</guid>        </item>
        <item>
            <title>Hospital Bill: Appendix Ultimatum</title>
            <link>http://www.medworm.com/index.php?rid=1243608&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F237955795%2Fhospital-bill-appendix-ultimatum.html</link>
            <description>I have finally squared away my various hospital bills from last August's appendectomy, so what follows is a discussion of the hospital charges versus what everyone involved finally got paid. Excitement! Suspense! Thrills! Chills! Horror! It's hospital claims data!Episode OneFirst things first. A hospital visit includes a bunch of stuff, so I'm going to give you the full price for the entire episode of care, but I'll also break it down so we can see the component parts. And special thanks to CIGNA, who upgraded their Web site and now allow me to get claim records from more than a year ago. I'm now with Aetna as of January, and I haven't dealt with their Web site yet...Episode of Care:Total Charges: $28,089.62Total Paid: $8,324.25 (real cost)29.6% of charges paid. In other words, my bill was...</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1243608</comments>
            <pubDate>Wed, 20 Feb 2008 01:07:00 +0100</pubDate>
            <guid isPermaLink="false">1243608</guid>        </item>
        <item>
            <title>Chiropractor Scans</title>
            <link>http://www.medworm.com/index.php?rid=1183223&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F224709698%2Fchiropractor-scans.html</link>
            <description>I finally got around to getting my electro-magnetic scans from my first chiropractor visit online.If it's not readable I'll post it somewhere else, in fact I'll upload this to Flickr once I'm done. I'm not used to uploading pictures on Blogger. Thanks to Ronnie for scanning them in. (Source: A Scanner Brightly)</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1183223</comments>
            <pubDate>Mon, 28 Jan 2008 17:55:00 +0100</pubDate>
            <guid isPermaLink="false">1183223</guid>        </item>
        <item>
            <title>The Crippen Diary - 2008 : January (3)</title>
            <link>http://www.medworm.com/index.php?rid=1174873&amp;cid=t_96241_87_f&amp;fid=34595&amp;url=http%3A%2F%2Fnhsblogdoc.blogspot.com%2F2008%2F01%2Fcrippen-diary-2008-january-3.html</link>
            <description>What do you want to do when you grow up...January 2008 (3)Mr Green is a new patient. He lives in the posh part of town. According to the notes, he is a quantity surveyor. I was running about twenty minutes late when he came in. I smiled, and said I was sorry to have kept him waiting. He did not smile. He sat down and said, &quot;I want to see a dermatologist.&quot;&quot;Is there anything I can help with?&quot;&quot;No, I have tried everything I can think of, and it has not helped so I need to see a dermatologist.&quot;&quot;OK, right, er... have you ruled out the possibility that anyone here can help you?&quot;&quot;I have had this rash for nearly a year, and I want to see a dermatologist&quot; he said, firmly.Not winning here. &quot;OK, I will refer you today.&quot;&quot;How long will it take?&quot; he asked.&quot;Several weeks&quot; I said.Mr Green was not happy. I ...</description>
            <author>NHS Blog Doctor</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1174873</comments>
            <pubDate>Thu, 24 Jan 2008 14:46:00 +0100</pubDate>
            <guid isPermaLink="false">1174873</guid>        </item>
        <item>
            <title>When scripts fail, check databases</title>
            <link>http://www.medworm.com/index.php?rid=1162004&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F01%2F19%2Fwhen-scripts-fail-check-databases%2F</link>
            <description>Note to self: how many biological databases provide their release notes as an RSS feed?
One of my database mining scripts failed today; on reading the SwissProt What&amp;#8217;s New page, I discovered why:

Changes concerning keywords (KW line)
Modified keywords:
  * Phosphorylation -&amp;gt; Phosphoprotein

Perhaps there&amp;#8217;s a better way than looking for keywords? Then again, they changed the MOD_RES line a few months ago too. Scripts are bound to fail eventually if providers can change their format whenever they see fit. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1162004</comments>
            <pubDate>Sat, 19 Jan 2008 08:04:43 +0100</pubDate>
            <guid isPermaLink="false">1162004</guid>        </item>
        <item>
            <title>Rapid command-line access to the PDB</title>
            <link>http://www.medworm.com/index.php?rid=1148143&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F01%2F14%2Frapid-command-line-access-to-the-pdb%2F</link>
            <description>This is hardly earth-shattering stuff, but just for reference.
There are multiple ways to grab PDB files from the RCSB PDB servers. If you know the accession code of a structure, the simplest way is wget (or similar) straight off the FTP server:



wget ftp://ftp.wwpdb.org:/pub/pdb/data/structures/all/pdb/pdbXXXX.ent.gz



where XXXX is the 4-character PDB accession code.
Note the recent change of URL for the PDB archive: ftp://ftp.wwpdb.org. Note also the confusing 2, not 3 &amp;#8220;w&amp;#8221; in the URL. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1148143</comments>
            <pubDate>Mon, 14 Jan 2008 05:56:07 +0100</pubDate>
            <guid isPermaLink="false">1148143</guid>        </item>
        <item>
            <title>Prokaryotes:  not so “simple” after all</title>
            <link>http://www.medworm.com/index.php?rid=1132679&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2008%2F01%2F07%2Fprokaryotes-not-so-simple-after-all%2F</link>
            <description>One of my research challenges for 2008 is to marry my previous work (and my &amp;#8220;true interest&amp;#8221;), microbial genomics, with my current project which focuses on protein kinase substrate prediction. It should prove to be fascinating and fun, provided that publications such as this one keep appearing:

Schneiker, S. et al. (2007)
Complete genome sequence of the myxobacterium Sorangium cellulosum.
Nature Biotech. 25: 1281-1289
doi:10.1038/nbt1354 | Abstract | Full Text (subscription) | PubMed

It&amp;#8217;s years since I read a textbook but I imagine that many of them will tell you that cell signalling via serine/threonine/tyrosine phosphorylation is &amp;#8220;eukaryotic&amp;#8221;, whereas Bacteria and Archaea use two-component sensor/histidine kinase systems. Some far-sighted individuals have b...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1132679</comments>
            <pubDate>Mon, 07 Jan 2008 04:29:26 +0100</pubDate>
            <guid isPermaLink="false">1132679</guid>        </item>
        <item>
            <title>I Am Deformed</title>
            <link>http://www.medworm.com/index.php?rid=1119427&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F207172736%2Fi-am-deformed.html</link>
            <description>I've been having some annoying shoulder and neck pain lately which I've been attributing to rugby and like all good Welsh rugby idiots, I've figured if I ignored it it would go away eventually. Ah well.After a month of wincing I finally decided to see someone about it, but really didn't want to go the whole doctor/surgeon route. So I went to a chiropractor.I will document my experience over the next few months, which I'll start here by talking about the first visit.My first note on arrival was that it was pretty much like a doctor's office, girls behind the desk, a bunch of chairs, some magazines. Everything was more naturopathic though, the magazines were all granola types.After my insurance card was inspected, I was taken to a back room with a massage table device and a computer. A tech ...</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1119427</comments>
            <pubDate>Thu, 27 Dec 2007 19:33:00 +0100</pubDate>
            <guid isPermaLink="false">1119427</guid>        </item>
        <item>
            <title>Tie::Handle::CSV</title>
            <link>http://www.medworm.com/index.php?rid=1085551&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F12%2F11%2Ftiehandlecsv%2F</link>
            <description>Bioinformaticians like tabular data; plain ASCII text delimited by tabs, commas or whatever. In the past, I&amp;#8217;ve written an awful lot of scripts that begin something like this:


open IN, $file;
 while(&amp;lt;IN&amp;gt;) {
  chomp;
  my @line = split(&quot;&amp;#92;t&quot;, $_);
## count fields in a line and check for header
  if($#line == 6 &amp;&amp; $line[0] ne &quot;ID&quot;) {
## do something with fields
                    }
       }
close IN;


Bad programmer! Why not use one of the many Perl modules for handling CSV files, such as Tie::Handle::CSV?
 Read the rest&amp;#8230; (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1085551</comments>
            <pubDate>Tue, 11 Dec 2007 06:21:34 +0100</pubDate>
            <guid isPermaLink="false">1085551</guid>        </item>
        <item>
            <title>Handy Perl variables: @- and @+</title>
            <link>http://www.medworm.com/index.php?rid=1034609&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F11%2F18%2Fhandy-perl-variables-and%2F</link>
            <description>Regular expression matching is one of the key features that makes Perl a widely used language in bioinformatics. For example, we can match a peptide to a longer protein sequence like this:


my $seq = &quot;MVQRWLYSTNAKDIAVLYFMLAIFSGMAGTAMSLIIRLELAAPG&quot;;
my $pep = &quot;MAGTAM&quot;;

while($seq =~/$pep/g) {
  print &quot;Found a match&amp;#92;n&quot;;
           }


Perl also uses a bunch of &amp;#8220;special variables&amp;#8221;, that are automatically assigned values when you perform certain operations. Two of these, @- and @+, contain indices representing the start and end of a regular expression match. Very handy for when you want to know the matching positions in the longer sequence. Note that you need to add one to the start position since indices start at 0, whereas sequences start at 1:


while($seq =~/$pep/g) {
  pr...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=1034609</comments>
            <pubDate>Sun, 18 Nov 2007 04:01:07 +0100</pubDate>
            <guid isPermaLink="false">1034609</guid>        </item>
        <item>
            <title>A small achievement</title>
            <link>http://www.medworm.com/index.php?rid=996486&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F11%2F01%2Fa-small-achievement%2F</link>
            <description>Moving to a new group and a new project is always difficult. However, one of the better aspects of being a bioinformatician is that you can often contribute to other projects - which can be a bonus when your own are not progressing so well.
I&amp;#8217;m happy to announce:

Thakur, A.S., Robin, G., Guncar, G., Saunders, N.F.W., Newman, J., Martin, J.L. and Kobe, B. (2007). Improved Success of Protein Crystallization Sparse Matrix Screening with Heterogeneous Nucleating Agents. PLoS ONE 2:e1091. Open Access

My contribution was very minor; some writing and a little statistical evaluation (although the method that I had in mind didn&amp;#8217;t make it to the final version). The take-home message is: if your protein won&amp;#8217;t crystallise, try throwing some dried seaweed into the mix! It&amp;#8217;s no...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=996486</comments>
            <pubDate>Thu, 01 Nov 2007 03:59:54 +0100</pubDate>
            <guid isPermaLink="false">996486</guid>        </item>
        <item>
            <title>Appendix Ultimatum</title>
            <link>http://www.medworm.com/index.php?rid=949486&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F159477550%2Fappendix-ultimatum.html</link>
            <description>So, the old appendix flared up again, as of course it should. Same symptoms as before, it was evident what was coming. I left work, drove home, and prepared for my first hospital stay.(Quick reminder for the uninitiated: I visited Hospital A in February with symptoms of appendicitis, waited six and a half hours in the E.R. until giving up and going home. I then visited Hospital B the next day and had the most awful day I've had in quite some time, culminating in me being seated on a gurney two corridors away from the E.R. outside the isolation room where a guy with full-blown tuberculosis and his wife were wandering in and out of isolation back and forth in front of me complaining of the heat. I've had a dodgy appendix for quite some time. Read the full story in all it's glory here.)I gath...</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=949486</comments>
            <pubDate>Fri, 21 Sep 2007 13:51:00 +0100</pubDate>
            <guid isPermaLink="false">949486</guid>        </item>
        <item>
            <title>Where N is an arbitrarily large fraction approaching one</title>
            <link>http://www.medworm.com/index.php?rid=883647&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F09%2F19%2Fwhere-n-is-an-arbitrarily-large-fraction-approaching-one%2F</link>
            <description>What&amp;#8217;s N? It&amp;#8217;s the fraction of time that bioinformaticians spend obtaining, formatting and getting raw data ready to use, as opposed to analysing it.
There&amp;#8217;ll be a longer post on this topic soon. Suffice to say, I&amp;#8217;ve spent the last month evaluating the performance of 5 predictive tools that are available on the web. To do this, a test dataset of 200 or so sequences had to be submitted to each one. Each tool generates a score for particular residues in the sequence. The final output, which is what I require to do some statistical analysis, looks something like this:


P08153 114   method   61.74  0
P08153 522   method   82.10  1


where we have a sequence UniProt accession number, a sequence position, the name of the tool used (method), a score and either 1 (a positi...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=883647</comments>
            <pubDate>Wed, 19 Sep 2007 03:06:00 +0100</pubDate>
            <guid isPermaLink="false">883647</guid>        </item>
        <item>
            <title>Caregiver's Daily Care Diary or Journal</title>
            <link>http://www.medworm.com/index.php?rid=844777&amp;cid=t_96241_158_f&amp;fid=36018&amp;url=http%3A%2F%2Fcaregiversbeacon.blogspot.com%2F2007%2F09%2Fcaregivers-daily-care-diary-or-journal.html</link>
            <description>Updates on diet, meals, medication, exercise, activities, household management, and schedules can be kept in a caregiver's daily logbook. If blood pressure is being taken, or blood suger is being monitored this can be included in the notes. The daily diary notes are useful because family caregivers, paid caregivers, and medical personnel can refer to the notes for updates and to track conditions.At the website for osspublishing.com you can see what a typical care diary looks like and order a published one or make your own version. You can get a notebook, paper, and dividers with labels for sections such as Daily Notes, Medications, Phone Numbers, Care Plan and so on.For example, if a caregiver is preparing meals for a senior who is a diabetic, then writing down the foods and amounts as wel...</description>
            <author>The Caregiver's Beacon - Resources, Links, Ideas, News</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=844777</comments>
            <pubDate>Wed, 05 Sep 2007 13:25:00 +0100</pubDate>
            <guid isPermaLink="false">844777</guid>        </item>
        <item>
            <title>Writing About Charlie, Learning and Learning</title>
            <link>http://www.medworm.com/index.php?rid=837467&amp;cid=t_96241_133_f&amp;fid=35096&amp;url=http%3A%2F%2Ffeeds.b5media.com%2F%7Er%2Fb5media%2FAutismVox%2F%7E3%2F151477846%2F</link>
            <description>&amp;#8220;Hollie puts me into situations where I end up learning something about myself and about her.&amp;#8221;
Says Trisha Kayden about her 7-year-old autistic daughter in a profile in the September 2nd Midland Daily News (Michigan). Kayden also notes that &amp;#8220;&amp;#8216;If I couldn&amp;#8217;t find a reason to laugh, I&amp;#8217;d probably be crying a lot&amp;#8230;&amp;#8230;You get rewards that other people take for granted.&amp;#8217;&amp;#8221; Kayden&amp;#8217;s story, &amp;#8220;McBuns&amp;#8221; (about a trip with Hollie to McDonalds) will be included in Chicken Soup for the Soul: Children with Special Needs, which is due out today.
The Midland Daily News notes that Kayden has been &amp;#8220;writing in a journal for as long as she can remember&amp;#8221; and that keeping the journal &amp;#8220;helped her better understand and subseq...</description>
            <author>Autism Vox</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=837467</comments>
            <pubDate>Mon, 03 Sep 2007 04:30:49 +0100</pubDate>
            <guid isPermaLink="false">837467</guid>        </item>
        <item>
            <title>R tip for the day</title>
            <link>http://www.medworm.com/index.php?rid=825370&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F08%2F28%2Fr-tip-for-the-day%2F</link>
            <description>The ROCR package is very useful - and a bit tricky to install. The documentation says:

You will also need gplots from the R package bundle gregmisc

To avoid packages complaining that they can&amp;#8217;t find other packages, install the packages in this order:


sudo R
install.packages(&quot;gtools&quot;,&quot;gdata&quot;,&quot;gplots&quot;,&quot;ROCR&quot;)


Reading in data is easiest using read.table if you can hack an input file with column 1 = scores, column 2 = true/false, like this:


6.17  1
5.98  0
5.97  0
5.92  0
5.87  1

data &amp;lt;- read.table(&quot;myfile.dat&quot;)
pred &amp;lt;- prediction(data[,1], data[,2])
## ROC curve
plot(performance(pred, measure = &quot;tpr&quot;, x.measure = &quot;fpr&quot;)) (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=825370</comments>
            <pubDate>Tue, 28 Aug 2007 09:07:42 +0100</pubDate>
            <guid isPermaLink="false">825370</guid>        </item>
        <item>
            <title>Zotero word processor integration</title>
            <link>http://www.medworm.com/index.php?rid=808595&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F08%2F20%2Fzotero-word-processor-integration%2F</link>
            <description>Zotero have quietly released plugins for integration with OpenOffice and NeoOffice (oh, and the other commonly-used word processor).
There&amp;#8217;s not much documentation yet. Here&amp;#8217;s what I did for OpenOffice, Ubuntu/Feisty:

Download and unzip the extension
In OpenOffice go to Tools-&amp;gt;Extension Manager-&amp;gt;Add
Locate the Zotero.oxt file and install
Restart OpenOffice

You should now see a new menu like this:

Clicking on &amp;#8220;insert citation&amp;#8221; brings up your Zotero database. It&amp;#8217;s a bit rough and ready just now with limited options, but definitely an exciting development.
Technorati Tags: zotero, bibliography (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=808595</comments>
            <pubDate>Sun, 19 Aug 2007 22:49:33 +0100</pubDate>
            <guid isPermaLink="false">808595</guid>        </item>
        <item>
            <title>Rejection and acceptance</title>
            <link>http://www.medworm.com/index.php?rid=786656&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F08%2F08%2Frejection-and-acceptance%2F</link>
            <description>From Schmap:
I am delighted to let you know that your submitted photo has been selected for inclusion in the newly released third edition of our Schmap Brisbane Guide:
Mt Coot-tha Lookout

And from an unnamed journal:
I am sorry to say that we cannot consider the manuscript for publication&amp;#8230;
&amp;#8230;If at some stage you are able to fully address the referees&amp;#8217; concerns, we are happy to consider a new manuscript&amp;#8230;

The first email made me happy, at least. I don&amp;#8217;t think there&amp;#8217;s a way to blog about manuscript rejection that won&amp;#8217;t turn into an angry rant, so I&amp;#8217;ll leave it. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=786656</comments>
            <pubDate>Wed, 08 Aug 2007 07:16:30 +0100</pubDate>
            <guid isPermaLink="false">786656</guid>        </item>
        <item>
            <title>Brief note on MGLTools</title>
            <link>http://www.medworm.com/index.php?rid=782903&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F08%2F07%2Fbrief-note-on-mgltools%2F</link>
            <description>MGLTools provides a GUI and python scripts for use with AutoDock. Installation on Ubuntu 7.04 is easy enough with the binary installer. However, none of the GUIs want to run:


TclError: Togl: couldn't get visual
hit enter to continue


We at least get to a window by appending &amp;#8220;DISPLAY=:0&amp;#8243; to the front of the command.
Seems to be an Xgl issue. Why am I running Xgl? Take a guess. Oh, how I hate the ATI fglrx driver for Linux. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=782903</comments>
            <pubDate>Mon, 06 Aug 2007 23:20:31 +0100</pubDate>
            <guid isPermaLink="false">782903</guid>        </item>
        <item>
            <title>AutoDock 4.0: now with added GPL</title>
            <link>http://www.medworm.com/index.php?rid=781273&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F08%2F06%2Fautodock-40-now-with-added-gpl%2F</link>
            <description>It&amp;#8217;s been a year or two since I investigated AutoDock, a software suite for docking small molecules to receptors. I was pleased to discover today that the latest version, 4.0.1, is freely available for academic use under a GPL license. Oddly, version 3 still requires the incredibly old-fashioned &amp;#8220;fax a signed agreement&amp;#8221; procedure, for some reason.
Looks like it&amp;#8217;s going to be a learning curve. I&amp;#8217;ve made it through the configure, make, make install cycle giving me the autodock and autogrid binaries, but that&amp;#8217;s about it for now. There&amp;#8217;s an installation of MGLTools to figure out, then some combing through the website in search of documentation. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=781273</comments>
            <pubDate>Mon, 06 Aug 2007 11:42:20 +0100</pubDate>
            <guid isPermaLink="false">781273</guid>        </item>
        <item>
            <title>A nasty MOD_RES surprise</title>
            <link>http://www.medworm.com/index.php?rid=761441&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F07%2F27%2Fa-nasty-mod_res-surprise%2F</link>
            <description>A lot of bioinformatics consists of fetching files in various formats from databases and writing parsers to extract features. What to do when one of your trusty parsers unexpectedly fails?

Don&amp;#8217;t panic
Make sure that you haven&amp;#8217;t done something silly:

did you inadvertently alter the code recently?
did you run a different version of the code by mistake?
did you use the correct file(s) as input?
does the machine that you&amp;#8217;re using have the required libraries and software used by the parser?

If your code or machine setup hasn&amp;#8217;t changed, then the culprit must be the input file

Take a look at the file - use something like grep if possible to examine specific lines and see if their format has altered.
One of my more robust perl scripts is designed to examine the MOD_RES ...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=761441</comments>
            <pubDate>Fri, 27 Jul 2007 03:42:53 +0100</pubDate>
            <guid isPermaLink="false">761441</guid>        </item>
        <item>
            <title>HOWTO:  generate random sequences using EMBOSS and Perl</title>
            <link>http://www.medworm.com/index.php?rid=756658&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F07%2F25%2Fhowto-generate-random-sequences-using-emboss-and-perl%2F</link>
            <description>Once in a while, you need a &amp;#8220;random&amp;#8221; sequence.&amp;nbsp; For instance, you might perform a simple statistical analysis on a bunch of sequences from a database and decide that it looks interesting.&amp;nbsp; However, if the analysis looks the same when performed on a set of completely random sequences, it&amp;#8217;s a fair bet that it isn&amp;#8217;t interesting at all.
 Read the rest. . . (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=756658</comments>
            <pubDate>Wed, 25 Jul 2007 08:01:19 +0100</pubDate>
            <guid isPermaLink="false">756658</guid>        </item>
        <item>
            <title>Finally:  ATI fglrx + xgl + beryl for Ubuntu feisty</title>
            <link>http://www.medworm.com/index.php?rid=752764&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F07%2F24%2Ffinally-ati-fglrx-xgl-beryl-for-ubuntu-feisty%2F</link>
            <description>I&amp;#8217;ve had harsh words to say about ATI Linux video drivers in the past - and I&amp;#8217;m not withdrawing them. My advice is still do yourself a favour and buy NVIDIA. That said, I did an Ubuntu install on a work machine today (we get little choice with the specs) and finally got the proprietary fglrx driver working with Xgl and beryl, for a fancy desktop. All thanks to this very clear post; I&amp;#8217;ve read many and this is the best.
The key points are:

The open-source radeon driver has composite (for beryl/compiz), but no TV-out and doesn&amp;#8217;t support newer cards
The closed fglrx driver has TV-out but no composite. However, you can get beryl/compiz to run by combining it with Xgl, which is as simple as installing xserver-xgl and editing a small start-up script.
Here&amp;#8217;s the key:...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=752764</comments>
            <pubDate>Tue, 24 Jul 2007 09:34:34 +0100</pubDate>
            <guid isPermaLink="false">752764</guid>        </item>
        <item>
            <title>Parse the PDB using Bioperl</title>
            <link>http://www.medworm.com/index.php?rid=743283&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F07%2F19%2Fparse-the-pdb-using-bioperl%2F</link>
            <description>I think it&amp;#8217;s time for a quick Perl tutorial. This week: how to extract PDB entries based on 3 factors: a domain that interests you, the number of chains and their length.
 Read the rest. . . (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=743283</comments>
            <pubDate>Thu, 19 Jul 2007 12:51:54 +0100</pubDate>
            <guid isPermaLink="false">743283</guid>        </item>
        <item>
            <title>Open science discussion</title>
            <link>http://www.medworm.com/index.php?rid=733534&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F07%2F13%2Fopen-science-discussion%2F</link>
            <description>Question: does the open research world need a single access point?
You do open research. You write about it in your blog. Feedback comes in the form of blog comments. Great, but undoubtedly others can learn from the discussion - if they can find it. Do people find it?
If a blogger has research questions and you have the answers, consider creating an article on the Nodalpoint open research discussion wiki page. I&amp;#8217;m not suggesting that this become the place to go for answers (although that would be nice), but it&amp;#8217;s a place. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=733534</comments>
            <pubDate>Fri, 13 Jul 2007 05:27:24 +0100</pubDate>
            <guid isPermaLink="false">733534</guid>        </item>
        <item>
            <title>Note to Pharmacists</title>
            <link>http://www.medworm.com/index.php?rid=949489&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F125839910%2Fnote-to-pharmacists.html</link>
            <description>Stop pressing my buttons! It's my question, I'll answer it!The last three prescriptions I filled I encountered the same complete lack of customer service that is really beginning to peeve me off.During checkout, here in NYC at least, after the money has changed hands the little screen pops up a screen that allows you to respond &quot;No I do not need advice&quot; or &quot;Yes I received advice on my medication&quot; or something to that effect.Each of the last three times, the person handling the transaction leaned over and clicked the &quot;no I don't need advice&quot; button for me.Un-flippin'-believable.The first time was an independent pharmacy where I was getting my son's first ever dose of penicillin and yes, actually, I had some questions. I was worried about an allergic reaction as this would be the first time ...</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=949489</comments>
            <pubDate>Mon, 18 Jun 2007 16:22:00 +0100</pubDate>
            <guid isPermaLink="false">949489</guid>        </item>
        <item>
            <title>Explaining the resistance to sharing data</title>
            <link>http://www.medworm.com/index.php?rid=674623&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F06%2F15%2Fexplaining-the-resistance-to-sharing-data%2F</link>
            <description>I have a theory. My theory is that many scientists are prone to doublethink. They believe that they are acting in a certain way when in fact, they&amp;#8217;re doing the exact opposite.
Take data sharing.
 Read the rest. . . (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=674623</comments>
            <pubDate>Fri, 15 Jun 2007 06:17:57 +0100</pubDate>
            <guid isPermaLink="false">674623</guid>        </item>
        <item>
            <title>Biologists, software and ELNs</title>
            <link>http://www.medworm.com/index.php?rid=674629&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F06%2F07%2Fgetting-biologists-to-think-about-software%2F</link>
            <description>Every few months, my colleagues decide that electronic laboratory notebooks (ELNs) are a good idea. I go through the ritual of searching the web, bookmarking some resources and where possible downloading, installing, configuring and running packages to see how well they work. I know in advance that I&amp;#8217;m wasting my time, because I&amp;#8217;ve tried them all and there isn&amp;#8217;t one free/open-source ELN that works for me.
 Read the rest. . . (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=674629</comments>
            <pubDate>Thu, 07 Jun 2007 04:52:37 +0100</pubDate>
            <guid isPermaLink="false">674629</guid>        </item>
        <item>
            <title>How to:  create bioinformatics code from a published article</title>
            <link>http://www.medworm.com/index.php?rid=644666&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F05%2F29%2Fhow-to-create-bioinformatics-code-from-a-published-article%2F</link>
            <description>It&amp;#8217;s been a while since I posted a &amp;#8220;how to&amp;#8221; article - and now is a good time, as Bio::Blogs #11 is going to feature a special tips and tricks section.
So today, I&amp;#8217;d like to illustrate how to create some useful code for bioinformatics analysis by reading a scientific paper.
 Read the rest. . . (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=644666</comments>
            <pubDate>Tue, 29 May 2007 00:06:13 +0100</pubDate>
            <guid isPermaLink="false">644666</guid>        </item>
        <item>
            <title>A welcome surprise</title>
            <link>http://www.medworm.com/index.php?rid=644667&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F05%2F28%2Fa-welcome-surprise%2F</link>
            <description>I attended a departmental seminar today, entitled &amp;#8220;drug discovery in tropical diseases&amp;#8221; and given by Matthew Todd.
Much of the talk focused on the synthesis of praziquantel, a drug used to treat schistosomiasis. Interesting, though organic chemistry isn&amp;#8217;t my strong point. However, it turns out that Matthew is one of the faces behind The Synaptic Leap and he devoted a few slides to TSL, Jean-Claude Bradley&amp;#8217;s Useful Chemistry blog and the concept of open science.
This might be the first time in 7 years that I&amp;#8217;ve heard anyone in Australia talk about open science in a university seminar. Note this day and may there be many more. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=644667</comments>
            <pubDate>Mon, 28 May 2007 04:36:37 +0100</pubDate>
            <guid isPermaLink="false">644667</guid>        </item>
        <item>
            <title>Citation clouds</title>
            <link>http://www.medworm.com/index.php?rid=611376&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F05%2F16%2Fcitation-clouds%2F</link>
            <description>I&amp;#8217;m preparing a presentation in which one slide is a survey of published methods for predicting the substrates of protein kinases.
Just for fun, I made a note of the number of citations for each method, as judged by Google Scholar. Next, I tried out a couple of Perl modules from CPAN: TagCloud and WWW::CloudCreator. Result: the &amp;#8220;citation cloud&amp;#8221;.
I&amp;#8217;m sure that this is not an original idea. I&amp;#8217;m not convinced that it&amp;#8217;s any more informative than the raw numbers, but it is at least an instant visual impression. (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=611376</comments>
            <pubDate>Wed, 16 May 2007 04:21:40 +0100</pubDate>
            <guid isPermaLink="false">611376</guid>        </item>
        <item>
            <title>Announcing JoomlaLIMS - formerly MamboLIMS</title>
            <link>http://www.medworm.com/index.php?rid=578654&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F04%2F30%2Fannouncing-joomlalims-formerly-mambolims%2F</link>
            <description>A couple of years ago, I threw together a basic LIMS for my lab using a CMS called Mambo and a component called FacileForms. I made it publicly available and there was a little interest. Time passed, Mambo forked into the Joomla project, FacileForms went through several upgrades and my LIMS broke and fell into disuse.
Recently I resurrected the project as JoomlaLIMS. It uses the latest Joomla (1.0.12), the latest FacileForms (1.4.7), PHP 5 and MySQL 5. I&amp;#8217;ve got it working to the point where I&amp;#8217;m comfortable letting it loose in the world. So I give you JoomlaLIMS at Google Groups. You can download the tarball from there, unpack it in your web root, create the appropriate database, tables and user and hopefully, you&amp;#8217;ll be ready to go.
If you&amp;#8217;re looking for a simple lab...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=578654</comments>
            <pubDate>Mon, 30 Apr 2007 14:01:43 +0100</pubDate>
            <guid isPermaLink="false">578654</guid>        </item>
        <item>
            <title>Removing a MySQL user</title>
            <link>http://www.medworm.com/index.php?rid=578655&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F04%2F30%2Fremoving-a-mysql-user%2F</link>
            <description>Many of us have installed a MySQL database as part of a PHP/MySQL-based web application. Normally this procedure includes adding a specific user and password for the database:


mysql&amp;gt; grant all on mynewdb.* to idiot@localhost identified by 'guessme'


What the setup guide never tells you is how to remove that user should you decide to remove the application. You need to see what grants they have, revoke them, then remove the user from the user table:


mysql&amp;gt; show grants for idiot@localhost;
mysql&amp;gt; revoke all privileges, grant option from idiot@localhost;
mysql&amp;gt; drop user idiot@localhost; (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=578655</comments>
            <pubDate>Mon, 30 Apr 2007 01:10:23 +0100</pubDate>
            <guid isPermaLink="false">578655</guid>        </item>
        <item>
            <title>How many protein kinases in the PDB?</title>
            <link>http://www.medworm.com/index.php?rid=554309&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F04%2F19%2Fhow-many-protein-kinases-in-the-pdb%2F</link>
            <description>I often find that the most satisfying problems in bioinformatics are not related to a specific research project. They arise when someone has a query and you have a neat way to send them an answer, quickly. Take this email that I received yesterday:

I&amp;#8217;m compiling a table of serine-threonine protein kinase structures. Can you take a look and see if anything is missing?

Strangely, I don&amp;#8217;t carry a list of current PDB accessions for every protein kinase in my head. On the other hand if you ask me &amp;#8220;can I extract all structures that are protein kinases from the PDB?&amp;#8221;, the answer is yes, you can. So here&amp;#8217;s what I did.
 Read the rest. . . (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=554309</comments>
            <pubDate>Thu, 19 Apr 2007 11:16:52 +0100</pubDate>
            <guid isPermaLink="false">554309</guid>        </item>
        <item>
            <title>Outlets for hypotheses</title>
            <link>http://www.medworm.com/index.php?rid=545513&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F04%2F16%2Foutlets-for-hypotheses%2F</link>
            <description>The tale of the blog post that led to the journal article set me thinking about forums for publishing our hypotheses.
We all have ideas, some of them wild, but many based on good science, that we&amp;#8217;ve never been able to develop as we&amp;#8217;d like. By develop I mean validate experimentally. A chance observation in a genome sequence perhaps, or some data from an old project that was left unfinished when we changed jobs. Often we know just what needs to be done in order to confirm our idea but are unable, for whatever reason, to do so.
It would be great if these types of observation could be written up and published somewhere - perhaps it would spur someone else in the field to do the key experiment. My lazy query - as I don&amp;#8217;t have time to survey every life sciences journal is this:...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=545513</comments>
            <pubDate>Mon, 16 Apr 2007 09:55:55 +0100</pubDate>
            <guid isPermaLink="false">545513</guid>        </item>
        <item>
            <title>Zen of LaTeX</title>
            <link>http://www.medworm.com/index.php?rid=508866&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F03%2F29%2Fzen-of-latex%2F</link>
            <description>Zen moments are common if you use a lot of open-source software. Sometimes you download software, work your way through some tutorials and how-tos and scan mailing lists, but you don&amp;#8217;t quite see what all the fuss is about. Then one day you have your zen moment - &amp;#8220;Aaah!&amp;#8221; - when you get it.
It&amp;#8217;s taken way too many years but this week, I finally had my LaTeX zen moment.
 Read the rest&amp;#8230; (Source: What You're Doing Is Rather Desperate)</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=508866</comments>
            <pubDate>Thu, 29 Mar 2007 12:25:40 +0100</pubDate>
            <guid isPermaLink="false">508866</guid>        </item>
        <item>
            <title>Hospital Bill: Appendix Addendum</title>
            <link>http://www.medworm.com/index.php?rid=949503&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F104401125%2Fhospital-bill-appendix-addendum.html</link>
            <description>Well, my weekend got away from me, so I'll settle for blogging the hospital bill I just received regarding my recent day trip to the local Emergency Room, as chronicled in Appendix Addendum.In case you missed the first post, I went to one ER, bailed, and went to a second one the next day. In all fairness, I haven't seen a claim made on my first, failed visit, which I'd be cool with if they billed for the labs they more than likely ordered before I left.So, Hospital B.In short summary, I had a blood and urine workup, one CAT scan, and was seen by an ER doc and a surgeon.The bill goes like this:Eight, count them, eight lab charges.$101.00, $125.00, $28.20, $89.00, $89.00 again, $96.00, $50.00 and $62.00Total lab charges: $640.20Total amount covered by my insurance company? $62.41All lab char...</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=949503</comments>
            <pubDate>Mon, 26 Mar 2007 02:09:00 +0100</pubDate>
            <guid isPermaLink="false">949503</guid>        </item>
        <item>
            <title>Appendix Addendum</title>
            <link>http://www.medworm.com/index.php?rid=949507&amp;cid=t_96241_87_f&amp;fid=36516&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2F%7Er%2FAScannerBrightly%2F%7E3%2F102217074%2Fappendix-addendum.html</link>
            <description>This is a personal account of my recent brush with appendicitis and the fun I had getting hospital care...I had appendicitis, but it took me a week and a half to figure it out. Couple that with my built-in fear of all things medicinal and by the time I had a CAT scan I'd actually beaten the inflammation back from whence it came.As it turns out, I now know what that funny stomach ache that lasted a week back when I lived in France actually was. That's right. I've had appendicitis TWICE.So seeing as how I'm this health care report card guy, I decided to put my money where my mouth is and chose a hospital based on the report card I built. Due to the nature of my work I have a better knowledge than most of the hospitals in my area, and I chose Hospital A, high scores for quality and surgical i...</description>
            <author>A Scanner Brightly</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=949507</comments>
            <pubDate>Fri, 16 Mar 2007 16:38:00 +0100</pubDate>
            <guid isPermaLink="false">949507</guid>        </item>
        <item>
            <title>Calling all PSSM experts</title>
            <link>http://www.medworm.com/index.php?rid=484829&amp;cid=t_96241_132_f&amp;fid=35006&amp;url=http%3A%2F%2Fnsaunders.wordpress.com%2F2007%2F03%2F13%2Fcalling-all-pssm-experts%2F</link>
            <description>I&amp;#8217;ve been employing an equation in one of my Perl modules. It&amp;#8217;s used to convert a matrix of frequencies at positions in a sequence to a matrix of weights; you see this called a position-weight matrix (PWM) or position site-specific matrix (PSSM).
The equation looks like this (behold, the WordPress LaTeX plugin):

where f(b,i) is frequency of base at position i, N is the sum of frequencies for a column and p(b) is the prior probability of the base in the sequence. Those terms with N are a statistical fudge called a pseudocount.
The thing is - I&amp;#8217;ve been using it somewhat empirically - which means that it seems to do what I want, but I&amp;#8217;m not confident that my usage is justifiable in terms of the theory. So if you&amp;#8217;re a PSSM expert, here are 3 questions for you:

I...</description>
            <author>What You're Doing Is Rather Desperate</author>
            <type>blogs</type>
        <comments>http://www.medworm.com/rss/comments.php?id=484829</comments>
            <pubDate>Tue, 13 Mar 2007 06:50:18 +0100</pubDate>
            <guid isPermaLink="false">484829</guid>        </item>
    </channel>
</rss>

