-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathexecute.sh
executable file
·50 lines (39 loc) · 1.66 KB
/
execute.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
47
48
49
#! /bin/bash
#Make Folder
ReformatingData=ReformatingData
Data=Data
CMAP_2_Entrez=$ReformatingData/CMAP_2_Entrez
scikitLearnAlgorithms=ScikitLearnAlgorithms
#Given Files
camdaGiven=$Data/CAMDA_Challange_dataset_filenames.txt
cmapExpressionData=$CMAP_2_Entrez/data.tsv.gz
cmapMetadataInfo=$CMAP_2_Entrez/metadata.tsv.gz
#Created Files
trainingReformatedCamda=$Data/trainingReformatedCamda.txt.gz
testReformatedCamda=$Data/testReformatedCamda.txt.gz
trainingReformatedCamdaPC3=$Data/trainingReformatedCamda_PC3.txt.gz
trainingReformatedCamdaMCF7=$Data/trainingReformatedCamda_MCF7.txt.gz
testReformatedCamdaPC3=$Data/testReformatedCamda_PC3.txt.gz
testReformatedCamdaMCF7=$Data/testReformatedCamda_MCF7.txt.gz
discretePredictionsOut=discretePredictionsOut.csv
#Download and filter CMAP scripts
reformatCamda=$ReformatingData/reformatCamdaGivin.py
cmapInstall=$CMAP_2_Entrez/"install.sh"
cmapDownload=$CMAP_2_Entrez/download.sh
cmapParse=$CMAP_2_Entrez/parse.sh
#Algorithm Scripts
#execute=$scikitLearnAlgorithms/execute.py
execute=execute.py
#Opening environment for dependencies
minicondaBin=Software/miniconda/bin/
cd $minicondaBin
source activate scikitLearn_env
cd ../../..
#Download CMAP data and reformat
#bash $cmapInstall
#bash $cmapDownload
#bash $cmapParse
#Filter the dataset for the camda challenge
#python3 $reformatCamda $camdaGiven $cmapExpressionData $trainingReformatedCamda $testReformatedCamda $cmapMetadataInfo
##The This script sets up cross validation and executes each algorithm in collaberation of ensemble methods
python3 $execute $trainingReformatedCamdaPC3 $trainingReformatedCamdaMCF7 $testReformatedCamdaPC3 $testReformatedCamdaMCF7 $discretePredictionsOut