# 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
# 1.4.1 modified by:
# Adam Huffman
# The Francis Crick Institute

easyblock = "PythonPackage"

name = 'khmer'
version = '1.4.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/ged-lab/khmer/'
description = """ In-memory nucleotide sequence k-mer counting, filtering, graph traversal and more """

toolchain = {'name': 'foss', 'version': '2016b'}

source_urls = ['https://github.com/ged-lab/khmer/archive/']
sources = ['v%(version)s.tar.gz']

dependencies = [
    ('Python', '2.7.12'),
]

sanity_check_paths = {
    'files': ["bin/%s" % x for x in ["count-median.py", "extract-long-sequences.py", "filter-abund.py",
                                     "load-into-counting.py", "sample-reads-randomly.py"]],
    'dirs': ["lib/python%(pyshortver)s/site-packages/khmer-%(version)s-py%(pyshortver)s-linux-x86_64.egg"],
}

moduleclass = 'bio'
