# Author: Pablo Escobar Lopez; Wiktor Jurkowski
# Swiss Institute of Bioinformatics (SIB), Biozentrum - University of Basel
# Babraham Institute, UK

easyblock = 'MakeCp'

name = 'SUMATRA'
version = '1.0.20'

homepage = "http://metabarcoding.org/sumatra"
description = """SUMATRA and SUMACLUST: fast and exact local_comparison and clustering of sequences."""

toolchain = {'name': 'foss', 'version': '2016a'}

source_urls = [
    'https://git.metabarcoding.org/obitools/sumatra/uploads/251020bbbd6c6595cb9fce6077e29952/']
sources = ['%(namelower)s_v%(version)s.tar.gz']

prebuildopts = 'make clean &&'

files_to_copy = [(['sumatra'], 'bin'), 'sumatra_user_manual.pdf']

sanity_check_paths = {
    'files': ['bin/sumatra', 'sumatra_user_manual.pdf'],
    'dirs': [],
}

moduleclass = 'bio'
