annotate setup-mac.sh @ 10:e904265469af draft

Uploaded setup script for mac
author ahosny
date Thu, 18 Aug 2016 18:41:35 -0400
parents
children 302eb5118a36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
1 #!/usr/bin/env bash
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
2
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
3 # Homebrew
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
4 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
5
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
6 # python
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
7 brew install python
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
8
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
9 # pip
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
10 curl -O http://python-distribute.org/distribute_setup.py
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
11 python distribute_setup.py
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
12 curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
13 python get-pip.py
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
14
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
15 # wget
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
16 brew install wget
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
17
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
18 # clean after installation
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
19 rm -t tmp
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
20
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
21 # Install pysam library
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
22 pip install pysam
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
23
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
24 # Install numpy library
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
25 pip install numpy
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
26
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
27 # Install Bio Python
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
28 pip install biopython
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
29
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
30 # install bedtools
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
31 brew install homebrew/science/bedtools
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
32
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
33 # install ART
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
34 mkdir cnvsim/ART
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
35 wget -O cnvsim/ART/art.tgz http://www.niehs.nih.gov/research/resources/assets/docs/artsrcgreatsmokymountains041716macostgz.tgz
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
36 tar -xvzf cnvsim/ART/art.tgz -C cnvsim/ART
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
37 rm cnvsim/ART/art.tgz
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
38 mv cnvsim/ART/art_src_GreatSmokyMountains_MacOS/art_illumina cnvsim/ART/art_illumina
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
39 rm -rf cnvsim/ART/art_src_GreatSmokyMountains_MacOS
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
40
e904265469af Uploaded setup script for mac
ahosny
parents:
diff changeset
41