ComputeVM: VCFtools-0.1.12b-goolf-1.7.20-Perl-5.20.2-bare.eb

File VCFtools-0.1.12b-goolf-1.7.20-Perl-5.20.2-bare.eb, 1.7 KB (added by george, 9 years ago)
Line 
1# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
2
3easyblock = 'MakeCp'
4
5name = 'VCFtools'
6namelower = name.lower()
7version = '0.1.12b'
8
9homepage = "http://vcftools.sourceforge.net/"
10description = """The aim of VCFtools is to provide
11 methods for working with VCF files: validating,
12 merging, comparing and calculate some basic population
13 genetic statistics. """
14
15toolchain = {'name': 'goolf', 'version': '1.7.20'}
16
17#
18# Example URL:
19# http://downloads.sourceforge.net/project/vcftools/vcftools_0.1.12b.tar.gz?ts=1429189285&use_mirror=autoselect
20#
21import time
22seconds_after_epoch = int(time.time())
23source_urls = [('http://downloads.sourceforge.net/project/%s' % namelower, '?ts=%s&use_mirror=autoselect' % seconds_after_epoch)]
24sources = ['%(namelower)s_%(version)s.tar.gz']
25
26perl = 'Perl'
27perlver = '5.20.2'
28perlversuffix = '-bare'
29versionsuffix = '-%s-%s%s' % (perl, perlver, perlversuffix)
30dependencies = [
31    (perl, perlver, perlversuffix),
32    ('tabix', '0.2.6')
33]
34
35vcf_executables = ['fill-aa', 'fill-an-ac', 'fill-fs', 'fill-ref-md5',
36    'vcf-annotate', 'vcf-compare', 'vcf-concat', 'vcf-consensus', 'vcf-contrast',
37    'vcf-convert', 'vcf-fix-ploidy', 'vcf-indel-stats', 'vcf-isec', 'vcf-merge',
38    'vcf-phased-join', 'vcf-query', 'vcf-shuffle-cols', 'vcf-sort', 'vcf-stats',
39    'vcf-subset', 'vcftools', 'vcf-to-tab', 'vcf-tstv', 'vcf-validator'
40]
41
42files_to_copy = ['bin', 'lib', 'examples', (['bin/man1'], 'man')]
43
44modextrapaths = {'PERL5LIB': 'lib/perl5/site_perl'}
45
46#
47# Remove manual in wrong location.
48#
49postinstallcmds = ['rm -Rf %(installdir)s/bin/man1/']
50
51#
52# Check if all binaries from the suite are present.
53#
54sanity_check_paths = {
55    'files': ['bin/%s' % x for x in vcf_executables],
56    'dirs': [],
57}
58
59moduleclass = 'bio'