29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
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.2.tar.gz"
|
|
sha256 "92fee9b5efe37a5276352d3502775e7c46e9f7a0ee45a331eacb2a0cac713c69"
|
|
license "BSD-3-Clause"
|
|
|
|
livecheck do
|
|
url "http://eddylab.org/software/hmmer/"
|
|
regex(/href=.*?hmmer[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, big_sur: "af45073d7f7d1ce1231c03381c5e50af9de1d6773762a65200a6067b84590c9d"
|
|
sha256 cellar: :any_skip_relocation, catalina: "6bd9bbe8efab7ec335de773b059922574ec2a89d755afd09dc475f6b251fb886"
|
|
sha256 cellar: :any_skip_relocation, mojave: "f170a16fcc45126a552ae1b0fdd3cbb25e73f77a53f10011e5c304afa69694fa"
|
|
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
|