forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhisat.rb
26 lines (23 loc) · 895 Bytes
/
hisat.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
class Hisat < Formula
homepage "https://ccb.jhu.edu/software/hisat/"
# tag "bioinformatics"
# doi "10.1038/nmeth.3317"
url "https://ccb.jhu.edu/software/hisat/downloads/hisat-0.1.6-beta-source.zip"
version "0.1.6b"
sha256 "69fbd79d8f29b221aa72f0db33148d67d44a3e2cfe16dadf0663a58b7741ff9c"
bottle do
cellar :any
sha256 "e34b8f4f30502f56398a2d261bb7da2ff3a597c3ca52a4feb4e460bb99006e8f" => :yosemite
sha256 "8d6569d480eaddde24e587df969e177a8fef78430aece34fb20e25429878c5ac" => :mavericks
sha256 "27f1b26e3d83bc9ac3275b2b5d80c69205043813efd8677755ec671791d6cb89" => :mountain_lion
sha256 "4b4aaf7061565de3833c7d075b973d1420c5d7d859f0c8291a46a6ee317d49ae" => :x86_64_linux
end
def install
system "make"
bin.install "hisat", Dir["hisat-*"]
doc.install Dir["doc/*"]
end
test do
assert_match "HISAT", shell_output("hisat 2>&1", 1)
end
end