Software Install – samtools-0.1.19 and stacks-1.37

Getting ready to analyze our Ostrea lurida genotype-by-sequencing data and wanted to use the Stacks software.

We have an existing version of Stacks on Hummingbird (the Apple server blade I will be running this analysis on), but I figured I might as well install the latest version (stacks-1.37).

Additionally, Stacks requires samtools-0.1.19 to run, which we did NOT have installed.

I tracked all of this in the Jupyter (iPython) notebook below.

Due to permissions issues during installation, I frequently had to leave the Jupyter notebook to run “sudo” in bash. As such, the notebook is messy, but does outline the necessary steps to get these two programs installed.

Jupyter notebook: 20160406_STACKS_install.ipynb

NBviewer: 20160406_STACKS_install.ipynb

3 comments

  1. Will you be waiting for the genome to use Stacks, or doing de novo assembly? If de novo, I recommend you read the details on what the parameters for ustacks mean, especially the -M parameter:
    http://catchenlab.life.illinois.edu/stacks/param_tut.php

    You should definitely increase -M for ustacks and -n for cstacks. If you don’t want to wait for a genome, then I recommend setting -M to at least 8, then when you have a genome you can map the loci assembled by stacks to the genome in order to idenify potential paralogs that were grouped together.

Leave a Reply

Your email address will not be published. Required fields are marked *


e.g. 0000-0002-7299-680X

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>