annotate mv_untar_gatk.sh @ 10:e3662508ee26 draft

Uploaded
author elixir-it
date Sun, 22 Sep 2019 16:31:11 -0400
parents
children 057bce4b4f93
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
1 #!/bin/bash
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
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
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
3 #and untar the archive
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
4 if [[ ! -f $CONDA_PREFIX/../../GenomeAnalysisTK.jar ]] ; then
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
5 tar -jxvf $CONDA_PREFIX/../../GenomeAnalysis*.tar.bz2 --strip-components=1 -C $CONDA_PREFIX/../../ 2> log_tar
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
6
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
7 else
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
8 echo GATK is present
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
9 fi
e3662508ee26 Uploaded
elixir-it
parents:
diff changeset
10