Skip to content

Instantly share code, notes, and snippets.

@stephenturner
Created August 12, 2013 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stephenturner/6211960 to your computer and use it in GitHub Desktop.
Save stephenturner/6211960 to your computer and use it in GitHub Desktop.
Utility shell script to launch bare jar file. Put in directory with the jar file of interest, and make executable. This example runs GATK.
#!/bin/bash
PREFIX=$(dirname $0)
java -Xmx500m -jar $PREFIX/GenomeAnalysisTK.jar $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment