Commit 3331e15b authored by Christoph Ziegenhain's avatar Christoph Ziegenhain
Browse files

zUMIs checks for update

parent 213f7f71
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,9 @@
# Authors: Swati Parekh, Christoph Ziegenhain, Beate Vieth & Ines Hellmann
# Authors: Swati Parekh, Christoph Ziegenhain, Beate Vieth & Ines Hellmann
# Contact: sparekh@age.mpg.de or christoph.ziegenhain@ki.se
# Contact: sparekh@age.mpg.de or christoph.ziegenhain@ki.se
vers=2.0
vers=2.0
currentv=`curl -s https://raw.githubusercontent.com/sdparekh/zUMIs/master/zUMIs-master.sh | grep $'vers=' | cut -f2 -d "="`
if [ $currentv != $vers ]; then echo -e "------------- \n\n Good news! A newer version of zUMIs is available at https://github.com/sdparekh/zUMIs \n\n-------------"; fi

function check_opts() {
function check_opts() {
    value=$1
    value=$1
    name=$2
    name=$2