8000 Merge pull request #224785 from ankane/rasusa · Homebrew/homebrew-core@69dc21f · GitHub
[go: up one dir, main page]

Skip to content

Commit 69dc21f

Browse files
authored
Merge pull request #224785 from ankane/rasusa
rasusa 2.1.0 (new formula)
2 parents 604f739 + 4551d7e commit 69dc21f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Formula/r/rasusa.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
class Rasusa < Formula
2+
desc "Randomly subsample sequencing reads or alignments"
3+
homepage "https://doi.org/10.21105/joss.03941"
4+
url "https://github.com/mbhall88/rasusa/archive/refs/tags/2.1.0.tar.gz"
5+
sha256 "6d6d97f381bea5a4d070ef7bc132224f3c5c97bc366109261182aa9bc5736d69"
6+
license "MIT"
7+
head "https://github.com/mbhall88/rasusa.git", branch: "main"
8+
9+
bottle do
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "08e1af923ce8e04dcdd10bfdc1f9c66bac275a886116d15b667826cff63b0492"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "5bf0ea2e9e8e13e931b0fc36401707d60e00a410acecc146340530dc41afdc8c"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "2749a2a0a451847ca5c4ea5e09ce87dd74baf26de4ef2d6ac39f8d9295238a84"
13+
sha256 cellar: :any_skip_relocation, sonoma: "2637f18df52d2a9dbec4bd7f3e66cde0fa19e5c745e9b7bff2d72074ee8f9b66"
14+
sha256 cellar: :any_skip_relocation, ventura: "03131f99f31427cc19cde537f7f692dc749ce8a9c729c8bc5f6c9500b2e1fec4"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "56b2672126342fb35d4f8332c6aeb5ed57be484bba73e405342ee205a12fca6c"
16+
end
17+
18+
depends_on "rust" => :build
19+
20+
def install
21+
system "cargo", "install", *std_cargo_args
22+
pkgshare.install "tests/cases"
23+
end
24+
25+
test do
26+
cp_r pkgshare/"cases/.", testpath
27+
system bin/"rasusa", "reads", "-n", "5m", "-o", "out.fq", "file1.fq.gz"
28+
assert_path_exists "out.fq"
29+
end
30+
end

0 commit comments

Comments
 (0)
0