forked from Ensembl/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenebuild-annotation.rb
50 lines (45 loc) · 1.69 KB
/
genebuild-annotation.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
42
43
44
45
46
47
48
49
50
#Template generated on 2018-11-15 11:34:43 +0000
#Do not edit this file. Modify the relevant config and regenerate
require 'digest'
class GenebuildAnnotation < Formula
url 'file://'+File.expand_path(__FILE__)
desc 'Dependencies for the GenebuildAnnotation formula'
sha256 Digest::SHA256.file(File.expand_path(__FILE__)).hexdigest
version '3.6'
depends_on 'ensembl/external/exonerate09'
depends_on 'ensembl/external/exonerate22'
depends_on 'ensembl/ensembl/cesar'
depends_on 'ensembl/ensembl/ensc'
depends_on 'ensembl/ensembl/ensc-annotation-tools'
depends_on 'ensembl/ensembl/bioperl-169'
depends_on 'ensembl/external/blast'
depends_on 'ensembl/ensembl/eponine'
depends_on 'ensembl/external/genewise'
depends_on 'ensembl/external/trnascan'
depends_on 'ensembl/moonshine/genscan'
depends_on 'ensembl/moonshine/pmatch'
depends_on 'ensembl/ensembl/genblast'
depends_on 'ensembl/ensembl/vienna-rna'
depends_on 'ensembl/external/infernal10'
depends_on 'ensembl/external/muscle'
depends_on 'ensembl/external/kent'
depends_on 'ensembl/external/rmblast'
depends_on 'ensembl/external/trf'
depends_on 'ensembl/external/recon'
depends_on 'ensembl/external/repeatscout'
depends_on 'ensembl/external/repeatmodeler'
depends_on 'ensembl/external/repeatmasker'
depends_on 'ensembl/moonshine/tcdust'
depends_on 'ensembl/external/sratoolkit'
depends_on 'ensembl/ensembl/aspera-client'
def install
File.open('genebuild-annotation', 'w') { |file|
file.write '#!/bin/sh'+"\n"
deps.each do | dep |
f = dep.to_formula
file.write "echo "+[f.full_name, f.version, f.prefix].join("\t")+"\n"
end
}
bin.install 'genebuild-annotation'
end
end