# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Pablo Escobar Lopez
# Swiss Institute of Bioinformatics
# Biozentrum - University of Basel

easyblock = "Tarball"

name = 'SSAHA2'
version = '2.5.5'
versionsuffix = '-x86_64'

homepage = 'http://www.sanger.ac.uk/resources/software/ssaha2/'
description = """ SSAHA2 (Sequence Search and Alignment by Hashing Algorithm) is a 
 pairwise sequence alignment program designed for the efficient mapping of sequencing 
 reads onto genomic reference sequences. SSAHA2 reads of most sequencing platforms 
 (ABI-Sanger, Roche 454, Illumina-Solexa) and a range of output formats (SAM, CIGAR, PSL etc.) 
 are supported. A pile-up pipeline for analysis and genotype calling is available as 
 a separate package. """

toolchain = {'name': 'dummy', 'version': ''}

source_urls = ['ftp://ftp.sanger.ac.uk/pub/resources/software/ssaha2/']
sources = ['%%(namelower)s_v%%(version)s_%s.tgz' % versionsuffix[1:]]

sanity_check_paths = {
    'files': ["ssaha2", "ssaha2Build", "ssahaSNP"],
    'dirs': [],
}

# add the installation dir to PATH
modextrapaths = {
    'PATH': "",
}

moduleclass = 'bio'
