Skip to content

Commit 1226995

Browse files
committed
miniprot 0.16 (new formula)
1 parent c4a0a05 commit 1226995

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Formula/m/miniprot.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
class Miniprot < Formula
2+
desc "Align proteins to genomes with splicing and frameshift"
3+
homepage "https://lh3.github.io/miniprot/"
4+
url "https://github.com/lh3/miniprot/archive/refs/tags/v0.16.tar.gz"
5+
sha256 "1ec0290552a6c80ad71657a44c767c3a2a2bbcfe3c7cc150083de7f9dc4b3ed0"
6+
license "MIT"
7+
8+
uses_from_macos "zlib"
9+
10+
def install
11+
system "make"
12+
bin.install "miniprot"
13+
pkgshare.install "test"
14+
end
15+
16+
test do
17+
cp_r pkgshare/"test/.", testpath
18+
output = shell_output("#{bin}/miniprot DPP3-hs.gen.fa.gz DPP3-mm.pep.fa.gz 2>&1")
19+
assert_match "mapped 1 sequences", output
20+
end
21+
end

0 commit comments

Comments
 (0)