Skip to content

Commit

Permalink
updated LSF run-pipe.sh to use same dotkits as UGER run-pipe.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Feb 12, 2016
1 parent 67471aa commit 6099cd7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions pipes/Broad_LSF/run-pipe.sh
Expand Up @@ -2,10 +2,7 @@
# Wrappers around Snakemake for use on the Broad LSF cluster

# load necessary Broad dotkits
eval `/broad/software/dotkit/init -b`
reuse -q LSF
reuse -q Python-3.4
reuse -q Perl-5.10
source "$BINDIR/pipes/Broad_common/setup_dotkits.sh"

# load config dirs from config.yaml
VENVDIR=`python -c 'import yaml;f=open("config.yaml");print(yaml.safe_load(f)["venv_dir"]);f.close()'`
Expand Down
2 changes: 1 addition & 1 deletion pipes/Broad_UGER/run-pipe.sh
Expand Up @@ -5,7 +5,7 @@
VENVDIR=`python -c 'import yaml; import os; f=open("config.yaml");print(os.path.realpath(yaml.safe_load(f)["venv_dir"]));f.close()'`
BINDIR=`python -c 'import yaml; import os; f=open("config.yaml");print(os.path.realpath(yaml.safe_load(f)["bin_dir"]));f.close()'`

source "$BINDIR/pipes/Broad_UGER/setup_dotkits.sh"
source "$BINDIR/pipes/Broad_common/setup_dotkits.sh"

# load Python virtual environment
source "$VENVDIR/bin/activate"
Expand Down
File renamed without changes.

0 comments on commit 6099cd7

Please sign in to comment.