easyblock = 'MakeCp'

name = 'BEDTools'
version = '2.17.0'

homepage = 'http://code.google.com/p/bedtools/'
description = """The BEDTools utilities allow one to address common genomics tasks such as finding feature overlaps
 and computing coverage. The utilities are largely based on four widely-used file formats: BED, GFF/GTF, VCF,
 and SAM/BAM."""

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

source_urls = ["http://bedtools.googlecode.com/files/"]
sources = ['%(name)s.v%(version)s.tar.gz']

buildopts = 'CXX="$CXX"'

files_to_copy = ['bin', 'docs', 'data', 'genomes', 'scripts', 'test', 'README.rst']

sanity_check_paths = {
    'files': ['bin/%s' % x for x in ['bedtools', 'pairToBed', 'mergeBed', 'bedToBam', 'fastaFromBed']],
    'dirs': ['docs', 'data', 'genomes', 'scripts', 'test'],
}

moduleclass = 'bio'
