annotate mv_untar_gatk.sh @ 11:057bce4b4f93 draft default tip

Uploaded
author elixir-it
date Wed, 02 Oct 2019 04:39:04 -0400
parents e3662508ee26
children
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
11
057bce4b4f93 Uploaded
elixir-it
parents: 10
diff changeset
4 if [ ! -f $CONDA_PREFIX/../../GenomeAnalysisTK.jar ] ; then
10
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