forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bless.rb
33 lines (26 loc) · 833 Bytes
/
bless.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
class Bless < Formula
desc "Bloom-filter-based error correction tool for NGS reads"
homepage "https://sourceforge.net/projects/bless-ec/"
# doi "10.1093/bioinformatics/btu030"
# tag "bioinformatics"
url "https://downloads.sourceforge.net/project/bless-ec/bless.v0p24.tgz"
version "0.24"
sha256 "4214a7f9277e92c02acc132f0f8ba88e7d05a7fd3135a59fc1c6e52ca37d181a"
revision 5
bottle :disable, "needs to be rebuilt with latest open-mpi"
needs :openmp
depends_on "boost"
depends_on "google-sparsehash" => :build
depends_on "kmc" => :recommended
depends_on :mpi
def install
# Do not build vendored dependency, kmc.
inreplace "Makefile", "cd kmc; make CC=$(CC)", ""
system "make"
bin.install "bless"
doc.install "README", "LICENSE"
end
test do
system "#{bin}/bless"
end
end