An init script for ghost on CentOS

As you may have noticed, we've setup a new blog for the lab, and I have also moved some of my content from elsewhere into this space. The new blog runs the ghost software for node.js. I could not find a suitable initscript for CentOS/RHEL, so I created…

A penny for your method: AMPure substitute

NOTE:  This is a repost of an entry that I wrote for the molecularecologist.com. This week may stand as the most exciting week of the year for decreasing the cost of PCR cleanup, DNA cleanup, and library prep. Why, you ask? Because a great paper was published over in…

Lego my regex

NOTE:  This is a repost of an entry that I wrote for the molecularecologist.com. Regular expressions are something that pretty much everyone working with more than a handful of data should take the time to learn (a handful being around 500 lines). They can easily improve your life, particularly…

A penny for your method: Nutator

NOTE:  This is a repost of an entry that I wrote for the molecularecologist.com. This one requires a little ingenuity on your part (and perhaps some craft, duct tape, construction, and/or welding skills). A nutator (AKA nutating mixer or rotating mixer) is a gently rocking/rotating platform useful…

Dr. Prepper

NOTE:  This is a repost of an entry that I wrote for the molecularecologist.com. Library preparation for next-gen sequencing has become a fact of life in many labs working with model and non-model organisms. The problems with library preparation are that (1) library prep is slow and (2) library…

Python multiprocessing - multiple producers, single consumer

I'm working on some code that I initially wrote to write results to a mysql database. I chose mysql because it supports concurrent writes, and this program processess data in parallel having each process write it's results to the database when a given task is complete. This was a lazy…