prodigal: import from Homebrew/science
Closes #21574. Signed-off-by: ilovezfs <ilovezfs@icloud.com>master
parent
c3012f87c7
commit
f8079a93c8
|
@ -0,0 +1,18 @@
|
|||
class Prodigal < Formula
|
||||
desc "Microbial gene prediction"
|
||||
homepage "https://github.com/hyattpd/Prodigal"
|
||||
url "https://github.com/hyattpd/Prodigal/archive/v2.6.3.tar.gz"
|
||||
sha256 "89094ad4bff5a8a8732d899f31cec350f5a4c27bcbdd12663f87c9d1f0ec599f"
|
||||
|
||||
def install
|
||||
system "make", "install", "INSTALLDIR=#{bin}"
|
||||
end
|
||||
|
||||
test do
|
||||
fasta = <<~EOS
|
||||
>U00096.2:1-70
|
||||
AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC
|
||||
EOS
|
||||
assert_match "CDS", pipe_output("#{bin}/prodigal -q -p meta", fasta, 0)
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue