1 | name = 'tabix' |
---|
2 | version = '0.2.6' |
---|
3 | |
---|
4 | homepage = 'http://sourceforge.net/projects/samtools/files/tabix/' |
---|
5 | description = """Tabix indexes a TAB-delimited genome position file in.tab.bgz and creates an index file in.tab.bgz.tbi.""" |
---|
6 | |
---|
7 | toolchain = {'name': 'goolf', 'version': '1.7.20'} |
---|
8 | easyblock = 'MakeCp' |
---|
9 | |
---|
10 | # |
---|
11 | # Example URL: |
---|
12 | # http://downloads.sourceforge.net/project/samtools/tabix/tabix-0.2.6.tar.bz2?ts=1429632321&use_mirror=autoselect |
---|
13 | # |
---|
14 | import time |
---|
15 | seconds_after_epoch = int(time.time()) |
---|
16 | source_urls = [('http://downloads.sourceforge.net/project/samtools/%s' % name, '?ts=%s&use_mirror=autoselect' % seconds_after_epoch)] |
---|
17 | sources = ['%(name)s-%(version)s.tar.bz2'] |
---|
18 | |
---|
19 | files_to_copy = ['TabixReader.java', (['tabix', 'bgzip'], 'bin/'), (['tabix.1'], 'share/man/man1/')] |
---|
20 | |
---|
21 | sanity_check_paths = { |
---|
22 | 'files': ['TabixReader.java', 'bin/tabix', 'bin/bgzip', 'share/man/man1/tabix.1'], |
---|
23 | 'dirs': ['bin', 'share'], |
---|
24 | } |
---|
25 | |
---|
26 | moduleclass = 'tools' |
---|