Mercurial > repos > elixir-it > covacs_apply_recalibrator
annotate mv_untar_gatk.sh @ 2:f47e8d9b7f2e draft default tip
Uploaded
author | elixir-it |
---|---|
date | Wed, 02 Oct 2019 04:29:44 -0400 |
parents | 48dc4c9bc497 |
children |
rev | line source |
---|---|
0 | 1 #!/bin/bash |
2 #if the .jar file is not present in the conda_prefix the script search the tar.gz in the conda_prefix of the vm | |
3 #and untar the archive | |
2 | 4 if [ ! -f $CONDA_PREFIX/../../GenomeAnalysisTK.jar ] ; then |
5 echo start untar ; | |
1 | 6 tar -jxvf $CONDA_PREFIX/../../GenomeAnalysis*.tar.bz2 --strip-components=1 -C $CONDA_PREFIX/../../ 2> log_tar |
2 | 7 echo all done |
0 | 8 else |
1 | 9 echo GATK is present |
0 | 10 fi |
1 | 11 |