Mercurial > repos > vipints > rdiff
comparison rDiff/examples/get_data.sh @ 0:0f80a5141704
version 0.3 uploaded
| author | vipints |
|---|---|
| date | Thu, 14 Feb 2013 23:38:36 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:0f80a5141704 |
|---|---|
| 1 #!/bin/bash | |
| 2 | |
| 3 set -e | |
| 4 | |
| 5 echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| 6 echo % rDiff examples: get_data.sh % | |
| 7 echo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| 8 echo | |
| 9 echo This script gets reads and the genome sequence | |
| 10 echo for one A.thaliana example. | |
| 11 echo | |
| 12 | |
| 13 export DATA_DIR=data | |
| 14 | |
| 15 if [ -d $DATA_DIR ] | |
| 16 then | |
| 17 echo Data directory ./$DATA_DIR already exists | |
| 18 echo \(remove it to run this script again\) | |
| 19 exit -1 | |
| 20 fi | |
| 21 | |
| 22 echo Downloading rDiff example data from FTP server ... | |
| 23 wget -c http://cbio.mskcc.org/public/raetschlab/user/drewe/rdiff/example_data.tar.gz | |
| 24 echo uncompressing ... | |
| 25 tar -xzf example_data.tar.gz | |
| 26 mv example_data $DATA_DIR | |
| 27 echo | |
| 28 echo -n Done. | |
| 29 echo |
