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

easyblock = "PythonPackage"

name = 'cutadapt'
version = '1.7'

homepage = 'http://code.google.com/p/cutadapt/'
description = """ cutadapt removes adapter sequences from high-throughput sequencing data. 
 This is usually necessary when the read length of the sequencing machine is longer than 
 the molecule that is sequenced, for example when sequencing microRNAs.  """

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

source_urls = [PYPI_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

python = 'Python'
pyver = '2.7.8'
pyshortver = '.'.join(pyver.split('.')[:2])

versionsuffix = "-%s-%s" % (python, pyver)

dependencies = [
    (python, pyver),
]

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

moduleclass = 'bio'
