1 | name = 'snpEff' |
---|
2 | version = '4.1d' |
---|
3 | |
---|
4 | homepage = 'http://sourceforge.net/projects/snpeff/' |
---|
5 | description = """SnpEff is a variant annotation and effect prediction tool. |
---|
6 | It annotates and predicts the effects of genetic variants (such as amino acid changes).""" |
---|
7 | |
---|
8 | toolchain = {'name': 'dummy', 'version': 'dummy'} |
---|
9 | #easyblock = 'JAR' |
---|
10 | easyblock = 'PackedBinary' |
---|
11 | |
---|
12 | java = 'Java' |
---|
13 | javaver = '1.7.0_76' |
---|
14 | versionsuffix = '-%s-%s' % (java, javaver) |
---|
15 | |
---|
16 | dependencies = [(java, javaver)] |
---|
17 | |
---|
18 | # |
---|
19 | # Example URL: |
---|
20 | # http://downloads.sourceforge.net/project/snpeff/snpEff_v4_1d_core.zip?ts=1429189285&use_mirror=autoselect |
---|
21 | # |
---|
22 | import time |
---|
23 | seconds_after_epoch = int(time.time()) |
---|
24 | source_urls = [('http://downloads.sourceforge.net/project/%s' % name.lower(), '?ts=%s&use_mirror=autoselect' % seconds_after_epoch)] |
---|
25 | sources = [('%s_v%s_core.zip' % (name, version.replace('.', '_')))] |
---|
26 | |
---|
27 | sanity_check_paths = { |
---|
28 | 'files': ["snpEff.jar", "SnpSift.jar" ], |
---|
29 | 'dirs': [] |
---|
30 | } |
---|
31 | |
---|
32 | moduleclass = 'bio' |
---|