Author: Olga Botvinnik
Email: [email protected]
Date: 2016-06-06
This document sets up fresh iMacs with no bioinformatics tools to be ready for running alignments and counting reads.
-
- Start downloading a gzip of all the data
curl https://s3-us-west-2.amazonaws.com/single-cell-bioinformatics/data.tar.gz > single-cell-bioinformatics-data.tar.gz
-
- Open a new tab and download latest Miniconda for Python3 and save as
miniconda.sh
- Open a new tab and download latest Miniconda for Python3 and save as
curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o miniconda.sh
-
- Install Miniconda with defaults (
-b
flag) into specific folder
- Install Miniconda with defaults (
bash miniconda.sh -b -p $HOME/miniconda
-
- Add
~/miniconda/bin
to$PATH
- Add
export PATH="$HOME/miniconda/bin:$PATH"
-
- Add R and Bioconda channels
conda config --add channels r
conda config --add channels bioconda
-
- Install Bioinformatics packages
conda install --yes STAR samtools subread bedtools cutadapt fastqc
-
- Unzip the data. This creates a folder called
single-cell-bioinformatics
- Unzip the data. This creates a folder called
tar xzvf single-cell-bioinformatics-data.tar.gz
-
- Move everything in the
single-cell-bioinformatics
folder down to the home folder
- Move everything in the
mv single-cell-bioinformatics-data/* ~/
-
- Remove the empty
single-cell-bioinformatics-data
folder
- Remove the empty
rm -rf single-cell-bioinformatics-data