10000 Merge pull request #224920 from ankane/trimal · Homebrew/homebrew-core@1ae9395 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ae9395

Browse files
authored
Merge pull request #224920 from ankane/trimal
trimal 1.5.0 (new formula)
2 parents f64f017 + b365a65 commit 1ae9395

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

Formula/t/trimal.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
class Trimal < Formula
2+
desc "Automated alignment trimming in large-scale phylogenetic analyses"
3+
homepage "https://trimal.readthedocs.io/"
4+
url "https://github.com/inab/trimal/archive/refs/tags/v1.5.0.tar.gz"
5+
sha256 "3fba2e07bffb7290c34e713a052d0f0ff1ce0792861740a8cec46f40685c6d73"
6+
license "GPL-3.0-only"
7+
head "https://github.com/inab/trimal.git", branch: "trimAl"
8+
9+
bottle do
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7601f4fa41f4b2c49221fcfd10680dae2d7ba2ecf7b118ada2626df50b3dfe56"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "0d9046969829e57b325ddb627977fccaf33ec9b3b9dd17fdd1acec4c45af0ed7"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "4a64b8c35e66ccd823b1778665bebc09a42c5d630897591c18fd8b50b68f9ec6"
13+
sha256 cellar: :any_skip_relocation, sonoma: "6b995bc17baddfea2602992cf14f32151e5e96967fe64d4fb75b11529b47f54c"
14+
sha256 cellar: :any_skip_relocation, ventura: "c08772fe873d74045bb407315005b425aff589897efa1e76bd505c7e78d6200e"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "fbdf2569d36a67e7381636245466bc4747821e04db83d1c6883b9a632920054f"
16+
end
17+
18+
def install
19+
cd "source" do
20+
system "make"
21+
bin.install "readal", "trimal", "statal"
22+
end
23+
end
24+
25+
test do
26+
(testpath/"test.fasta").write <<~EOS
27+
>U00096.2:1-70
28+
AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC
29+
EOS
30+
system bin/"trimal", "-in", "test.fasta", "-out", "out.fasta"
31+
assert_path_exists "out.fasta"
32+
end
33+
end

0 commit comments

Comments
 (0)
0