view setup-mac.sh @ 18:eca72016b5b3 draft default tip

Uploaded
author ahosny
date Wed, 07 Sep 2016 09:37:49 -0400
parents 302eb5118a36
children
line wrap: on
line source

#!/usr/bin/env bash

# Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# python
brew install python

# pip
curl -O http://python-distribute.org/distribute_setup.py
python distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py

# wget
brew install wget

# clean after installation
rm -t tmp

# Install pysam library
pip install pysam

# Install Bio Python
pip install biopython

# install bedtools
brew install homebrew/science/bedtools

# install ART
mkdir cnvsim/ART
wget -O cnvsim/ART/art.tgz http://www.niehs.nih.gov/research/resources/assets/docs/artsrcgreatsmokymountains041716macostgz.tgz
tar -xvzf cnvsim/ART/art.tgz -C cnvsim/ART
rm cnvsim/ART/art.tgz
mv cnvsim/ART/art_src_GreatSmokyMountains_MacOS/art_illumina cnvsim/ART/art_illumina
rm -rf cnvsim/ART/art_src_GreatSmokyMountains_MacOS