24 lines
829 B
Ruby
24 lines
829 B
Ruby
class Hmmer < Formula
|
|
desc "Build profile HMMs and scan against sequence databases"
|
|
homepage "http://hmmer.org/"
|
|
url "http://eddylab.org/software/hmmer/hmmer-3.3.tar.gz"
|
|
sha256 "0186bf40af67032666014971ed8ddc3cf2834bebc2be5b3bc0304a93e763736c"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "6cafc97dbddaa66d9e353f161ce402786d887aea8a88f52be3323ffc4cf5733b" => :catalina
|
|
sha256 "544c93b2fc808d5176ac562689afb59785f24ef29f3198b8ca24adf2c5fab422" => :mojave
|
|
sha256 "aac6c2a8264ae6192bff7dd02c57cfe5000e830a0991c9e5be8c0fc27b0daded" => :high_sierra
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
doc.install "Userguide.pdf", "tutorial"
|
|
end
|
|
|
|
test do
|
|
assert_match "PF00069.17", shell_output("#{bin}/hmmstat #{doc}/tutorial/Pkinase.hmm")
|
|
end
|
|
end
|