-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
46 lines (35 loc) · 1.27 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#conda config --set auto_activate_base false
source ~/saxony/anaconda3/bin/activate
conda init
conda env create -f environment.yml
source activate zcwpw1
conda deactivate
conda remove --name zcwpw1 --all
#conda install -c bioconda ucsc-liftover
#conda install -c bioconda crossmap
#pip3 install CrossMap --user "No module named bx"
wget http://hgdownload.soe.ucsc.edu/goldenPath/hg19/liftOver/hg19ToHg38.over.chain.gz
conda install -c bioconda ucsc-bedgraphtobigwig
echo ".libPaths( c( '~/R/' , .libPaths() ) )" > ~/.Rprofile
install.packages("remotes")
remotes::install_github("myersgroup/MotifFinder")
#conda install openssl=1.0
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/wigToBigWig
chmod 777 wigToBigWig
./wigToBigWig
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigToBedGraph
chmod 777 bigWigToBedGraph
# conda env remove --name zcwpw1
conda install -c conda-forge ripgrep
# install bwtool
git clone https://github.com/CRG-Barcelona/bwtool.git
git clone https://github.com/CRG-Barcelona/libbeato.git
cd libbeato
git checkout 0c30432
./configure --prefix=$HOME CFLAGS="-g -O0 -I${HOME}/include" LDFLAGS=-L${HOME}/lib
make
make install
cd ../bwtool/
./configure --prefix=$HOME CFLAGS="-g -O0 -I${HOME}/include" LDFLAGS=-L${HOME}/lib
make
make install