forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatram.rb
30 lines (25 loc) · 847 Bytes
/
atram.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 Atram < Formula
desc "Automated target restricted assembly method"
homepage "https://github.com/juliema/aTRAM"
# doi "10.5281/zenodo.10431"
# tag "bioinformatics"
url "https://github.com/juliema/aTRAM/archive/v1.04.tar.gz"
sha256 "ee05363885d1096e628582eebda4958c6316e7668da448af7ffe1b3f67286bea"
revision 1
head "https://github.com/juliema/aTRAM.git"
bottle :disable, "Cannot currently build dependency Trinity with GCC-5 or Clang"
depends_on "blast"
depends_on "mafft"
depends_on "muscle"
depends_on "trinity"
depends_on "velvet"
def install
prefix.install Dir["*"]
cd prefix do
system "perl", prefix/"configure.pl", "-no"
end
end
test do
assert_match /No shards to be made/, shell_output("perl #{prefix}/test/test_format_sra.pl -input #{prefix}/test/test_sra.fasta")
end
end