# 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 = 'SRA-Toolkit'
version = '2.3.5'
versionsuffix = '-centos_linux64'

homepage = 'http://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=std'
description = """ The NCBI SRA Toolkit enables reading (dumping) of sequencing files
 from the SRA database and writing (loading) files into the .sra format """

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

source_urls = ['http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/%(version)s/']
sources = ['sratoolkit.%(version)s%(versionsuffix)s.tar.gz']

sanity_check_paths = {
    'files': ["bin/%s" % x for x in ["sra-stat", "sra-sort", "srapath", "bam-load"]],
    'dirs': ["example", "schema"],
}

moduleclass = 'bio'
