forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
abyss-explorer.rb
30 lines (26 loc) · 995 Bytes
/
abyss-explorer.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class AbyssExplorer < Formula
desc "Visualize genome sequence assemblies"
homepage "http://www.bcgsc.ca/platform/bioinfo/software/abyss-explorer"
# doi "10.1109/TVCG.2009.116"
# tag "bioinformatics"
url "http://www.bcgsc.ca/downloads/abyss-explorer/abyss-explorer-1.3.4/abyss-explorer-1.3.4.zip"
sha256 "fa4197c985ae9e66a01b4d3db4e6211f4e84444bc31deaf4c1aa352431ae6491"
revision 1
bottle do
cellar :any_skip_relocation
sha256 "8399757c2f8ba384cca623a2eb93ccdd727d6fc564c5a44f4a0a1815a9009b66" => :el_capitan
sha256 "1e9a7715de74ed13051083c072a2fe0f5134c86c2ad2f9446c3bc0b245a305eb" => :yosemite
sha256 "420ff6af90cb029ec07869c8f3871520de35109bafefead83477595e2073acb4" => :mavericks
end
def install
libexec.install "AbyssExplorer.jar", "lib"
(bin / "abyss-explorer").write <<-EOS.undent
#!/bin/sh
set -eu
exec java -jar #{libexec}/AbyssExplorer.jar "$@"
EOS
end
test do
system "abyss-explorer", "--version"
end
end