fastQValidator-0.1.1a-20151214-goolf-1.7.20-aadc6f9.eb 1.6 KB
Newer Older
Lukáš Krupčík's avatar
Lukáš Krupčík committed
1 2 3
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Pablo Escobar Lopez
# sciCORE - University of Basel
Lukáš Krupčík's avatar
Lukáš Krupčík committed
4
# SIB Swiss Institute of Bioinformatics
Lukáš Krupčík's avatar
Lukáš Krupčík committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

easyblock = 'MakeCp'

name = 'fastQValidator'
version = '0.1.1a-20151214'
fastqvalidator_git_commit = 'aadc6f9'
libstatgen_git_commit = '8246906'
versionsuffix = '-%s' % fastqvalidator_git_commit

homepage = 'http://genome.sph.umich.edu/wiki/FastQValidator'
description = """Validate FastQ Files"""

toolchain = {'name': 'goolf', 'version': '1.7.20'}

# we download latest source available in github for fastQValidator and libStatGen (dependency)
# using latest release tags doesn't work
# https://github.com/statgen/fastQValidator/issues/9
source_urls = [
Lukáš Krupčík's avatar
Lukáš Krupčík committed
23
    'https://github.com/statgen/fastQValidator/archive/',
Lukáš Krupčík's avatar
Lukáš Krupčík committed
24 25 26 27
    'https://github.com/statgen/libStatGen/archive/'
]

sources = [
Lukáš Krupčík's avatar
Lukáš Krupčík committed
28
    '%s.tar.gz' % fastqvalidator_git_commit,
Lukáš Krupčík's avatar
Lukáš Krupčík committed
29 30 31 32 33
    '%s.tar.gz' % libstatgen_git_commit
]

dependencies = [
    ('zlib', '1.2.8'),
Lukáš Krupčík's avatar
Lukáš Krupčík committed
34 35
    #   ('OpenSSL', '1.0.1q'),  # OS dependency should be preferred if the os version is more recent then this version, it's
    #   nice to have an up to date openssl for security reasons
Lukáš Krupčík's avatar
Lukáš Krupčík committed
36 37 38 39 40 41 42 43 44 45 46 47 48
]

# openssl required by libStatgen
osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]

prebuildopts = 'CFLAGS="$CFLAGS -L${EBROOTZLIB}/lib" && '
prebuildopts += 'mv %(builddir)s/libStatGen-* %(builddir)s/libStatGen && '

buildopts = ' LIB_PATH_GENERAL=../libStatGen '

files_to_copy = [(['bin/fastQValidator'], 'bin')]

parallel = 1
Lukáš Krupčík's avatar
Lukáš Krupčík committed
49

Lukáš Krupčík's avatar
Lukáš Krupčík committed
50 51 52 53 54 55
sanity_check_paths = {
    'files': ['bin/fastQValidator'],
    'dirs': [],
}

moduleclass = 'bio'