##
#  This is a contribution from Phoenix HPC Service, The University of Adelaide, Australia
#  Homepage: https://www.adelaide.edu.au/phoenix/
# 
#  Copyright::   adelaide.edu.au/phoenix
#  Authors:: Robert Qiao <robert.qiao@adelaide.edu.au>, Exe Escobedo <exequiel.sepulvedaescobedo@adelaide.edu.au>
#  License::
#
#  Notes::
###

easyblock = 'MakeCp'

name = 'PileOMeth'
version = '0.1.11'

homepage = 'https://github.com/dpryan79/PileOMeth'
description = """PileOMeth processes a coordinate-sorted and indexed BAM or CRAM file containing some form of BS-seq alignments. 
PileOMeth extracts per-base methylation metrics from them. 
PileOMeth requires an indexed fasta file containing the reference genome as well.
"""
toolchain = {'name': 'foss', 'version': '2016b'}

sources = ['%(version)s.zip']
source_urls = ['https://github.com/dpryan79/PileOMeth/archive/']

dependencies = [
    ('HTSlib', '1.2.1')
]

files_to_copy = [
    (["PileOMeth"], "bin"),
]

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

moduleclass = 'bio'
