forked from ammegandchips/EPoCH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
before.sh
executable file
·41 lines (30 loc) · 2.6 KB
/
before.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
mkdir -p ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/alspac/alspac_pheno.rds ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/bib/bib_pheno.rds ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/mcs/mcs_pheno.rds ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/alspac/alspac_key.rds ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/bib/bib_key.rds ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/mcs/mcs_key.rds ~/EPoCH/data/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/moba/moba_key.rds ~/EPoCH/data/
mkdir -p ~/EPoCH/scripts/
wget https://raw.githubusercontent.com/ammegandchips/EPoCH/main/data_prep/check_prepared_data/SUMMARISE_DATA.R -P ~/EPoCH/scripts/
wget https://raw.githubusercontent.com/ammegandchips/EPoCH/main/making_key/MAKE_KEY.R -P ~/EPoCH/scripts/
wget https://raw.githubusercontent.com/ammegandchips/EPoCH/main/phewas/RUN_PHEWAS.R -P ~/EPoCH/scripts/
wget https://raw.githubusercontent.com/ammegandchips/EPoCH/main/phewas/RUN_PHEWAS_SUMMARIES_ONLY.R -P ~/EPoCH/scripts/
wget https://raw.githubusercontent.com/ammegandchips/EPoCH/main/meta_analysis/RUN_META_ANALYSIS.R -P ~/EPoCH/scripts/
mkdir -p ~/EPoCH/out/
rm -r ~/EPoCH/out/*
mkdir -p ~/EPoCH/results/
rm -r ~/EPoCH/results/*
mkdir -p ~/EPoCH/for_metaanalysis/
rm -r ~/EPoCH/for_metaanalysis/*
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/moba/results/MOBA_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/alspac/results/ALSPAC_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/bib/results/BIB_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/mcs/results/MCS_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/alspac/results/ALSPAC_FEMALE_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/bib/results/BIB_FEMALE_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/mcs/results/MCS_FEMALE_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/alspac/results/ALSPAC_MALE_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/bib/results/BIB_MALE_model* ~/EPoCH/for_metaanalysis/
cp /projects/MRC-IEU/research/projects/ieu2/p5/015/working/data/mcs/results/MCS_MALE_model* ~/EPoCH/for_metaanalysis/