We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4a0a05 commit 1226995Copy full SHA for 1226995
Formula/m/miniprot.rb
@@ -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
21
+end
0 commit comments