File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ class Fastk < Formula
2+ desc "K-mer counter for high-fidelity shotgun datasets"
3+ homepage "https://github.com/thegenemyers/FASTK"
4+ url "https://github.com/thegenemyers/FASTK/archive/refs/tags/v1.1.0.tar.gz"
5+ sha256 "28a2de98ede77d4b4476596851f92413a9d99a1d3341afc6682d5333ac797f07"
6+ license all_of : [
7+ "BSD-3-Clause" ,
8+ { all_of : [ "MIT" , "BSD-3-Clause" ] } , # HTSLIB
9+ "MIT" , # LIBDEFLATE
10+ ]
11+ head "https://github.com/thegenemyers/FASTK.git" , branch : "master"
12+
13+ bottle do
14+ sha256 cellar : :any , arm64_sequoia : "3353729044c15f3346d333ce0193e5b44a1acb6930dd366dcfc6866ded0799eb"
15+ sha256 cellar : :any , arm64_sonoma : "9c4a36e6d522b8f31f730f540d0b1e6965670f3ff255614b775f846a4da52f9a"
16+ sha256 cellar : :any , arm64_ventura : "abfc4aa55dbb53cd4535be291b4f7e80ce1c4d8800c920d76a3841519de2106a"
17+ sha256 cellar : :any , sonoma : "8c10092d5785b5c01b59e1056cc325262c1c2ada41fa15e7461b5cb42047044a"
18+ sha256 cellar : :any , ventura : "111de43badf1291cbe29c4da58b3a84b8e939a2112501a7d31a3fa8c819520ba"
19+ sha256 cellar : :any_skip_relocation , x86_64_linux : "2ab8e41e3503fc53dc426cd009b1414ed9e7f79e0666543180f7e7a50c857077"
20+ end
21+
22+ depends_on "xz"
23+
24+ uses_from_macos "bzip2"
25+ uses_from_macos "curl"
26+ uses_from_macos "zlib"
27+
28+ def install
29+ ENV . deparallelize
30+
31+ mkdir bin
32+ system "make"
33+ system "make" , "install" , "DEST_DIR=#{ bin } "
34+ end
35+
36+ test do
37+ ( testpath /"test.fasta" ) . write <<~EOS
38+ >U00096.2:1-70
39+ AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC
40+ EOS
41+ system bin /"FastK" , "test.fasta"
42+ assert_path_exists "test.hist"
43+ end
44+ end
You can’t perform that action at this time.
0 commit comments