-
Notifications
You must be signed in to change notification settings - Fork 2
/
create_skeleton.sh
33 lines (26 loc) · 1.05 KB
/
create_skeleton.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
code=$1
if [[ "$code" != "" ]]; then
mkdir data/$code
mkdir data/${code}/scripts
mkdir data/${code}/genotypes
mkdir data/${code}/phenotypes
mkdir data/${code}/expression_data
mkdir data/${code}/covariates
mkdir data/${code}/support
mkdir data/${code}/rawData
mkdir data/${code}/summaryStats
mkdir data/${code}/eQTLs
mkdir data/${code}/eQTLs/matrixEQTL
mkdir data/${code}/eQTLs/figs_matrixEQTL
mkdir data/${code}/eQTLs/fgwas
mkdir data/${code}/eQTLs/fgwas/fgwas_individual_files
mkdir data/${code}/eQTLs/fgwas/fgwas_individual_figs
mkdir data/${code}/figs
else
echo "Need to specify a code"
fi
#### Here I store comments on what is what
#### summary stats file: SNPID, CHR, POS, then BETA.biom, SE.biom, PVAL.biom, N.biom in biom_chrXX.RData where biom is a code (ht), df
#### summary stats file: SNPID, CHR, POS, then BETA.cc, SE.cc, PVAL.cc, N.cc, Ncases.cc in cc_chrXX.RData where cc is a code (SCZ...).df
##name of dataframes: biomarker or cc
##automated from : genotypes, phenotypes, and covariates