File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 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+ bottle do
9+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "39c0415c8c794f2af761f7cb95624f6c78506a5de34377e267a1050669b2c33e"
10+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "df2ff4d7eb51a65a47c7dff85b7f7c1cd43f797ff305c5193ae0895af298f7db"
11+ sha256 cellar : :any_skip_relocation , arm64_ventura : "f39904ebe6936462b9085da494f0b34ae5d1fad683cceaf3bf00c4ccb13a4858"
12+ sha256 cellar : :any_skip_relocation , sonoma : "4b28c82f409c10bdb36c3c13c6099dcd3403d0bbf412d9baa3c355f79f257a6c"
13+ sha256 cellar : :any_skip_relocation , ventura : "b01af7870345d5431c97f341c6a3b85b1d0251b1a555dd517dd8d1ecab4ab2e8"
14+ sha256 cellar : :any_skip_relocation , x86_64_linux : "f11874854e4cbbcf2ab76855067feeb33321cd860a3ef46068ce070aa7758d60"
15+ end
16+
17+ uses_from_macos "zlib"
18+
19+ def install
20+ system "make"
21+ bin . install "miniprot"
22+ pkgshare . install "test"
23+ end
24+
25+ test do
26+ cp_r pkgshare /"test/." , testpath
27+ output = shell_output ( "#{ bin } /miniprot DPP3-hs.gen.fa.gz DPP3-mm.pep.fa.gz 2>&1" )
28+ assert_match "mapped 1 sequences" , output
29+ end
30+ end
You can’t perform that action at this time.
0 commit comments