10
|
1 #!/usr/bin/env bash
|
|
2
|
|
3 # Homebrew
|
|
4 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
5
|
|
6 # python
|
|
7 brew install python
|
|
8
|
|
9 # pip
|
|
10 curl -O http://python-distribute.org/distribute_setup.py
|
|
11 python distribute_setup.py
|
|
12 curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
|
|
13 python get-pip.py
|
|
14
|
|
15 # wget
|
|
16 brew install wget
|
|
17
|
|
18 # clean after installation
|
|
19 rm -t tmp
|
|
20
|
|
21 # Install pysam library
|
|
22 pip install pysam
|
|
23
|
|
24 # Install Bio Python
|
|
25 pip install biopython
|
|
26
|
|
27 # install bedtools
|
|
28 brew install homebrew/science/bedtools
|
|
29
|
|
30 # install ART
|
|
31 mkdir cnvsim/ART
|
|
32 wget -O cnvsim/ART/art.tgz http://www.niehs.nih.gov/research/resources/assets/docs/artsrcgreatsmokymountains041716macostgz.tgz
|
|
33 tar -xvzf cnvsim/ART/art.tgz -C cnvsim/ART
|
|
34 rm cnvsim/ART/art.tgz
|
|
35 mv cnvsim/ART/art_src_GreatSmokyMountains_MacOS/art_illumina cnvsim/ART/art_illumina
|
|
36 rm -rf cnvsim/ART/art_src_GreatSmokyMountains_MacOS
|
|
37
|
|
38
|