view mv_untar_gatk.sh @ 5:c8dda6456827 draft

Uploaded
author elixir-it
date Fri, 09 Nov 2018 08:53:14 -0500
parents 3d969c748317
children 14856ae90c1e
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