forked from VanderwallDavid/JUMPn_1.0.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.sh
executable file
·35 lines (28 loc) · 878 Bytes
/
bootstrap.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
#!/bin/bash
show_help() {
cat <<EOF
This is the JUMP-n pipeline bootstrapping script. Execute
with no arguments for a standard installation. An installation of
conda or minicoda is a prerequisite.
Bootstrapping will create a conda environment in this directory for
use with JUMP-n.
EOF
}
# xcode-select --install
printf "creating conda environment $PWD/JUMPn\n"
conda create -p $PWD/JUMPn -y \
-c bioconda \
-c conda-forge \
-c defaults \
r-base=4.0.0 \
imagemagick -y \
r-pdftools -y \
. $(conda env list | tr -d '*' | grep -E '^base' | awk '{print $2;}')/etc/profile.d/conda.sh
conda activate $PWD/JUMPn
# conda install -c conda-forge r=4.0.0 -y
# conda install -c conda-forge imagemagick -y
# conda install -c conda-forge r-pdftools -y
Rscript bootstrap.R
#cd execution
#R -e "shiny::runApp()"
#give the link and just copy paste the link to use JUMPn