-
Notifications
You must be signed in to change notification settings - Fork 0
/
DAGGER.sh
executable file
·28 lines (17 loc) · 1.05 KB
/
DAGGER.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
#! /usr/bin/env bash
###########################################################################################
######## DAGGER: Drug repositioning by Analysis of GWAS and Gene Expression in R ##########
###########################################################################################
# sudo apt install unzip
# sudo apt-get install r-base
### Analysis parameters.
echo -e "\nLaunching DAGGER 0.7\n============================================================================================"
rm -r output
mkdir output output/tables output/plots temp
export pval=0.001 ### The p-value cutoff for the GWAS data. Default is 0.001
Qcutoff=5 ### The top percentaje Q-value that will be selected from the GTEx data. Default is 5.
cd ./src
./preprocessing.sh
./Analysis.R $Qcutoff
./stats_plots.R
echo -e "\n============================================================================================\nDAGGER has finished execution. See Output folder for results.\n============================================================================================\n"