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

easyblock = 'MakeCp'

name = "PeakSeq"
version = "1.3"

homepage = 'http://info.gersteinlab.org/PeakSeq'
description = """ PeakSeq is a program for identifying and ranking peak regions in ChIP-Seq 
 experiments. It takes as input, mapped reads from a ChIP-Seq experiment, mapped reads from 
 a control experiment and outputs a file with peak regions ranked with increasing Q-values."""

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

source_urls = ['http://archive.gersteinlab.org/proj/PeakSeq/Scoring_ChIPSeq/Code/C/']
sources = ['%(name)s.zip']

# as the tarball doesn't contain the version we verify the checksum to be sure
# we don't download a newer version and consider it as 1.3
checksums = [('md5', '32b4d71b2ec9455c7db69516b1bd4910')]

buildopts = ' CC="$CXX"'

files_to_copy = ["bin", "README"]

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

moduleclass = 'bio'
