forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bamhash.rb
30 lines (25 loc) · 1.02 KB
/
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
29
30
class Bamhash < Formula
desc "Hash BAM and FASTQ files to verify data integrity"
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
sha256 "cafdcb44fe8a7a67aa42ed2a426b93a10b0a24c18418e7b4109ed54e8aff21cb" => :x86_64_linux
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