##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Cyprus Institute / CaSToRC, Uni.Lu/LCSB, NTUA
# Authors::   George Tsouloupas <g.tsouloupas@cyi.ac.cy>, Fotis Georgatos <fotis@cern.ch>, Kenneth Hoste (UGent)
# License::   MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-94.html
##

easyblock = 'MakeCp'

name = 'bam2fastq'
version = '1.1.0'

homepage = 'http://www.hudsonalpha.org/gsl/information/software/bam2fastq'
description = """The BAM format is an efficient method for storing and sharing data 
 from modern, highly parallel sequencers. While primarily used for storing alignment information, 
 BAMs can (and frequently do) store unaligned reads as well. """

toolchain = {'name': 'goolf', 'version': '1.4.10'}

# eg. http://www.hudsonalpha.org/gsl/static/software/bam2fastq-1.1.0.tgz
sources = [SOURCE_TGZ]
source_urls = ['http://www.hudsonalpha.org/gsl/static/software/']

files_to_copy = [(["bam2fastq"], 'bin')]

dependencies = [('zlib', '1.2.7')]

sanity_check_paths = {
    'files': ["bin/bam2fastq"],
    'dirs': [],
}

moduleclass = 'bio'
