# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild

easyblock = 'Tarball'

name = 'FastQ_Screen'
version = '0.11.3'
versionsuffix = '-Perl-%(perlver)s'

homepage = 'http://www.bioinformatics.babraham.ac.uk/projects/%(namelower)s/'
description = """FastQ Screen allows you to screen a library of sequences in FastQ
 format against a set of sequence databases so you can see if the composition of the
 library matches with what you expect."""

toolchain = {'name': 'foss', 'version': '2016b'}
toolchainopts = {'pic': True}

source_urls = ['http://www.bioinformatics.babraham.ac.uk/projects/%(namelower)s']
sources = ['%(namelower)s_v%(version)s.tar.gz']

checksums = ['220696f7366eb64cd6ff26355b89ac0c959887b17b5ad9f88903f58a4a71cec6']

dependencies = [
    ('Perl', '5.24.0'),
    ('GD', '2.66', versionsuffix),
    ('BWA', '0.7.16a'),
    ('Bowtie', '1.2.1.1'),
    ('Bowtie2', '2.3.2'),
]

modextrapaths = {'PATH': ''}

sanity_check_paths = {
    'files': ['%(namelower)s'],
    'dirs': [],
}

sanity_check_commands = [('%(namelower)s -v')]

moduleclass = 'bio'
