File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-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+ depends_on "xz"
14+
15+ uses_from_macos "bzip2"
16+ uses_from_macos "curl"
17+ uses_from_macos "zlib"
18+
19+ def install
20+ ENV . deparallelize
21+
22+ mkdir bin
23+ system "make"
24+ system "make" , "install" , "DEST_DIR=#{ bin } "
25+ end
26+
27+ test do
28+ ( testpath /"test.fasta" ) . write <<~EOS
29+ >U00096.2:1-70
30+ AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC
31+ EOS
32+ system bin /"FastK" , "test.fasta"
33+ assert_path_exists "test.hist"
34+ end
35+ end
You can’t perform that action at this time.
0 commit comments