|
a |
|
b/download.sh |
|
|
1 |
# Following links are from https://datadryad.org/stash/dataset/doi:10.5061/dryad.2rs41 |
|
|
2 |
WORKING_DIR=mice_data_set |
|
|
3 |
|
|
|
4 |
# Download experiment datasets |
|
|
5 |
mkdir -p $WORKING_DIR/data $WORKING_DIR/out $WORKING_DIR/data $WORKING_DIR/out_synth $WORKING_DIR/out_synth_working $WORKING_DIR/out_synth/manh_plots $WORKING_DIR/gemma/output |
|
|
6 |
mkdir -p $WORKING_DIR/data/genome_training_data |
|
|
7 |
mkdir -p $WORKING_DIR/data/genome_map_data |
|
|
8 |
mkdir -p $WORKING_DIR/data/synthetic_genome_data |
|
|
9 |
wget -O $WORKING_DIR/data/geno.txt.gz https://datadryad.org/stash/downloads/file_stream/4344 |
|
|
10 |
gunzip -f $WORKING_DIR/data/geno.txt.gz |
|
|
11 |
wget -O $WORKING_DIR/data/map.txt https://datadryad.org/stash/downloads/file_stream/4342 |
|
|
12 |
wget -O $WORKING_DIR/data/pheno.csv https://datadryad.org/stash/downloads/file_stream/4340 |
|
|
13 |
|
|
|
14 |
# Download experiment results |
|
|
15 |
wget -c https://gretel-public-website.s3.amazonaws.com/synthetics/genomics-experiment-output.tar.gz -O - | tar -xz |
|
|
16 |
rm -f genomics-experiment-output.tar.gz |
|
|
17 |
|
|
|
18 |
# Download GEMMA |
|
|
19 |
wget https://github.com/genetics-statistics/GEMMA/releases/download/v0.98.4/gemma-0.98.4-linux-static-AMD64.gz -P $WORKING_DIR/gemma/ |
|
|
20 |
gunzip -f $WORKING_DIR/gemma/gemma-0.98.4-linux-static-AMD64.gz |
|
|
21 |
chmod u+x $WORKING_DIR/gemma/gemma-0.98.4-linux-static-AMD64 |