Sunday, February 27, 2011

Qiime (9) shell scripts


This is the README.txt file of a zipped directory on Dropbox (here). It's been tested on OS X and on a Virtual Box running Linux with QIIME (my post here).

The scripts in this directory are intended to simplify the process followed in the Qiime overview tutorial:


http://qiime.sourceforge.net/tutorials/tutorial.html


What they do:

  • download the tutorial files
  • configure the tutorial directory with short paths and file names
  • carry out each step of the workflow scripts individually
  • organize things the way I like it


    They do require that Qiime is already installed, and that the files core.txt and mask.txt be available in ~/data.

    To use this, copy this directory (qiime_shellscripts) to the Desktop.
    Fire up the Terminal and do:


    ~/Desktop/qiime_shellscripts/download.sh


    This script will download the Qiime overview tutorial and unpack it to a new directory qiime_tutorial on your Desktop. On Linux, you will need to substitute wget for curl (or install curl). As things progress, it is likely that you will have to edit the version number in the script. The zipped download remains on the Desktop, so if things get messed up, you won't have to repeat yourself. Then do:


    ~/Desktop/qiime_shellscripts/preliminary.sh


    This will do step 0, splitting the sequences. Next do:


    ~/Desktop/qiime_shellscripts/run_all.sh


    If you wish to re-run the workflow analyses individually, you can first remove results of the previous work with:


    ~/Desktop/qiime_shellscripts/clean.sh


    This last script does not reverse the split step.

    If you need a new copy of this directory, it should still be on Dropbox:


    http://dl.dropbox.com/u/3534458/qiime_shellscripts.zip