diff --git a/INSTALL.sh b/INSTALL.sh new file mode 100644 index 0000000..27d1f33 --- /dev/null +++ b/INSTALL.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env sh + +# Check pipeline dependency +bionext_ver="0.3" + +# Check presence of a lib +if [ -d "lib" ]; then { + echo "BioNextflow installed" +} else { + echo "BioNextflow not installed. Installing it..." + wget https://github.com/biocorecrg/BioNextflow/archive/${bionext_ver}.tar.gz + tar -zvxf ${bionext_ver}.tar.gz + mv "BioNextflow-${bionext_ver}/lib" . + rm ${bionext_ver}.tar.gz + rm -fr BioNextflow-${bionext_ver} +} +fi + + +