Created
February 17, 2015 06:32
-
-
Save icaoberg/203b1db46fec420d5072 to your computer and use it in GitHub Desktop.
Helper script that downloads the 3D HeLa multi-tiff dataset from the Murphy Lab at Carnegie Mellon University
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "*********************" | |
echo "* LICENSE AGREEMENT *" | |
echo "*********************" | |
echo "All data downloaded from the Murphy Lab web site (http://murphylab.web.cmu.edu) remain the property of the | |
Murphy" | |
echo "Lab. You are granted a non-exclusive license to use these images for non-commercial, research purposes, with the" | |
echo "following conditions: (a) you agree to include a reference to" | |
echo "" | |
echo "M. Velliste and R.F. Murphy (2002). Automated Determination of Protein Subcellular Locations from" | |
echo "3D Fluorescence Microscope Images. Proceedings of the 2002 IEEE International Symposium on Biomedical" | |
echo "Imaging (ISBI 2002), pp. 867-870." | |
echo "" | |
echo "when presenting or publishing your results, (b) you agree to send a copy of any paper or abstract (upon its" | |
echo "acceptance for publication or presentation) by FAX, email or regular mail to Dr. Murphy, and (c) you agree not to " | |
echo "distribute these images without inclusion of this notice." | |
echo "Dr. Robert F. Murphy" | |
echo "Professor of Biological Sciences, Biomedical Engineering and Machine Learning" | |
echo "Carnegie Mellon University" | |
echo "4400 Fifth Ave., Pittsburgh, PA 15213" | |
echo "FAX: 412-268-6571" | |
echo "email: murphy@cmu.edu" | |
WEBSITE='http://murphylab.web.cmu.edu/data/Hela/3D/multitiff' | |
URLS=( '3DHela_DNA.tgz' | |
'3DHela_ER.tgz' | |
'3DHela_Gia.tgz' | |
'3DHela_Gpp.tgz' | |
'3DHela_LAM.tgz' | |
'3DHela_Mit.tgz' | |
'3DHela_Nuc.tgz' | |
'3DHela_TFR.tgz' | |
'3DHela_Fac.tgz' | |
'3DHela_Tub.tgz' ) | |
for URL in "${URLS[@]}" | |
do | |
echo Downloading "$WEBSITE"/"$URL" to `pwd` | |
wget --quiet -nc "$WEBSITE"/"$URL" | |
done | |
echo "" | |
for FILE in *.tgz | |
do | |
if [ -f "$FILE" ]; then | |
echo "Decompressing" "$FILE" | |
tar -xf $FILE | |
echo "Removing file" "$FILE" | |
rm -fv $FILE | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment