forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flexbar.rb
34 lines (29 loc) · 1.06 KB
/
flexbar.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class Flexbar < Formula
desc "Flexible barcode and adapter removal"
homepage "https://github.com/seqan/flexbar"
url "https://github.com/seqan/flexbar/archive/v3.0.3.tar.gz"
sha256 "f606f9af540fcaee757bb3b48f228535e4e405ae8affbf411f6a3b22cd7f6967"
head "https://github.com/seqan/flexbar.git"
# tag "bioinformatics"
# doi "10.3390/biology1030895"
bottle do
cellar :any
sha256 "cd4855a994ec369d2a2be4037436770a18f1c0018a631b2904e77b802003fe36" => :sierra
sha256 "053892e4788d33c20a4f2bdf91d4083baeb87b37241fbdf5bbb4df261a31def9" => :el_capitan
sha256 "baba15a73024448b052ed340f337ac7d2e4171692218a44b531085fe6e222bd3" => :yosemite
sha256 "6cfd83496a680e6e30d27a223a396c4ce44a871fe004ade4e0927cf3125ee651" => :x86_64_linux
end
depends_on "cmake" => :build
depends_on "seqan" => :build
depends_on "tbb"
needs :cxx14
def install
system "cmake", ".", *std_cmake_args
system "make"
bin.install "flexbar"
pkgshare.install "test"
end
test do
assert_match "reads.fq", shell_output("#{bin}/flexbar -h 2>&1", 0)
end
end