forked from Ensembl/homebrew-ensembl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
maftools.rb
41 lines (35 loc) · 1.58 KB
/
maftools.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
31
32
33
34
35
36
37
38
39
40
41
# Copyright [2016] EMBL-European Bioinformatics Institute
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class Maftools < Formula
desc 'Bioinformatics tools for dealing with Multiple Alignment Format (MAF) files.'
homepage 'https://github.com/dentearl/mafTools'
url 'https://github.com/dentearl/mafTools.git', :using => :git
version '0.1'
keg_only "mafFilter conflicts with kent"
depends_on :python if MacOS.version <= :snow_leopard
#depends_on "ensembl/ensembl/sonlib"
resource "numpy" do
url "https://pypi.python.org/packages/e0/4c/515d7c4ac424ff38cc919f7099bf293dd064ba9a600e1e3835b3edefdb18/numpy-1.11.1.tar.gz"
sha256 "dc4082c43979cc856a2bf352a8297ea109ccb3244d783ae067eb2ee5b0d577cd"
end
resource "scipy" do
url "https://files.pythonhosted.org/packages/01/a1/dce70d47377d662aa4b0895df8431aee92cea6faefaab9dae21b0f901ded/scipy-0.18.0.tar.gz"
sha256 "f01784fb1c2bc246d4211f2482ecf4369db5abaecb9d5afb9d94f6c59663286a"
end
def install
ENV.deparallelize
system 'make all'
prefix.install Dir['*']
end
test do
system "#{bin}/mafValidator.py --version"
end
end