##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2017 University of Geneva
# Authors::   Yann Sagon <yann.sagon@unige.ch>
# License::   MIT/GPL
# $Id$
#
##

easyblock = 'ConfigureMake'

name = 'MaSuRCA'
version = '3.2.2'

homepage = 'http://www.genome.umd.edu/masurca.html'

description = '''MaSuRCA is whole genome assembly software. It combines the efficiency of the de Bruijn graph  
 and Overlap-Layout-Consensus (OLC) approaches. MaSuRCA can assemble data sets containing 
 only short reads from Illumina sequencing or a mixture of short reads and long reads 
 (Sanger, 454, Pacbio and Nanopore).'''

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

# need a temporary url to download it. Do it manually here:
# http://www.genome.umd.edu/masurca_form.html
sources = ['%(name)s-%(version)s.tar.gz']

dependencies = [
    ('libreadline', '6.3'),
    ('Tcl', '8.6.5'),
    ('Boost', '1.61.0'),
    ('zlib', '1.2.8'),
]

buildopts="install-special"
start_dir="global-1"

sanity_check_paths = {
    'files': ['bin/masurca'],
    'dirs': ['include', 'lib'],
}

moduleclass = 'bio'
