Skip to content

Instantly share code, notes, and snippets.

@pcomans
Created May 27, 2011 18:07
Show Gist options
  • Save pcomans/995801 to your computer and use it in GitHub Desktop.
Save pcomans/995801 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
params=$*
ruby_version=$(ruby -v)
echo $ruby_version
dir=$(dirname $0)
if [[ $ruby_version == jruby* ]];
then
ruby "-J-Xmx2g" "${dir}/lib/annotate-gff.rb" ${params}
else
ruby "${dir}/lib/annotate-gff.rb" ${params}
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment