forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bamhash.rb
28 lines (23 loc) · 887 Bytes
/
bamhash.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
class Bamhash < Formula
homepage "https://github.com/DecodeGenetics/BamHash"
# doi "10.1101/015867"
# tag "bioinformatics"
url "https://github.com/DecodeGenetics/BamHash/archive/v1.0.tar.gz"
sha256 "af1c939901afe8666ba300c66e9538d79bb48b5e9dd665f4bf575376d288189e"
head "https://github.com/DecodeGenetics/BamHash.git"
bottle do
cellar :any
sha256 "9855449314d5564d4b3ef17b352ba5e9b73b434abc33b8630216314845a38cc3" => :yosemite
sha256 "a8ed1f99684cce5919fff31c4a0cad8c0e2b7b3a1063800f61b217a3b0af1689" => :mavericks
sha256 "5047df46a901e94da014a98802bd27143335ecb9beb2913f4586b3b428895984" => :mountain_lion
end
depends_on "openssl"
def install
system "make"
bin.install "bamhash_checksum_bam", "bamhash_checksum_fastq"
doc.install "LICENSE", "README.md"
end
test do
system "#{bin}/bamhash_checksum_bam", "--version"
end
end