view mv_untar_gatk.sh @ 0:6d8aa1176a94 draft

Uploaded
author elixir-it
date Fri, 09 Nov 2018 06:03:28 -0500
parents
children 3a37867409fe
line wrap: on
line source

#!/bin/bash
#if the .jar file is not present in the conda_prefix the script search the tar.gz in the conda_prefix of the vm
#and untar the archive
if [[ ! -f $CONDA_PREFIX/../../GenomeAnalysisTK.jar ]] ; then
	tar -zxvf $CONDA_PREFIX/../../GenomeAnalysis*.tar.gz -C $CONDA_PREFIX/../../ 
	
else
	echo GATK is present
fi