Skip to content

Commit

Permalink
Merge branch 'master' into ct-trimmomatic-cutoff-values
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Jun 20, 2016
2 parents 089eb3d + 9f7bebd commit 426757d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pipes/Broad_UGER/jobscript.sh
Expand Up @@ -20,8 +20,15 @@ source "$VENVDIR/bin/activate"
# For this to work, re-run must be set to y via "qsub -r y"
ls "$DATADIR" || exit 99

echo $JOB_ID
echo "=============================="

{exec_job}

# Report resource consumption because it's not reported by default
echo "------------------------------"
qstat -j $JOB_ID | grep '^usage'

# if the job succeeds, snakemake
# touches jobfinished, thus if it exists cat succeeds. if cat fails, the error code indicates job failure
# an error code of 100 is needed since UGER only prevents execution of dependent jobs if the preceding
Expand Down

0 comments on commit 426757d

Please sign in to comment.