Skip to content

Commit

Permalink
Merge pull request #1195 from hajgato/htseq
Browse files Browse the repository at this point in the history
HTSeq for intel-2014b plus version bump
  • Loading branch information
boegel committed Jun 2, 2015
2 parents 31ab859 + 4e63794 commit cb93221
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
easyblock = "PythonPackage"

name = 'HTSeq'
version = '0.6.1p1'

homepage = 'http://www-huber.embl.de/users/anders/HTSeq/'
description = """A framework to process and analyze data from high-throughput sequencing (HTS) assays"""

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

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

python = 'Python'
pythonver = '2.7.8'
pyshortver = '.'.join(pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (python, pythonver)
eggname = '%%(name)s-%%(version)s-py%s-linux-x86_64.egg' % pyshortver

dependencies = [
(python, pythonver),
('matplotlib', '1.3.1', versionsuffix),
]

sanity_check_paths = {
'files': ["bin/htseq-count", "bin/htseq-qa"],
'dirs': ["lib/python%s/site-packages/%s" % (pyshortver, eggname)],
}

options = {'modulename': '%(name)s'}

moduleclass = 'data'
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
easyblock = "PythonPackage"

name = 'matplotlib'
version = '1.3.1'

homepage = 'http://matplotlib.org'
description = """matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
and ipython shell, web application servers, and six graphical user interface toolkits."""

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

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

python = "Python"
pythonversion = '2.7.8'
pyshortver = ".".join(pythonversion.split(".")[:-1])

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

dependencies = [
(python, pythonversion),
('zlib', '1.2.8'),
('freetype', '2.5.3'),
('libpng', '1.6.12'),
]

# is this actually needed? the PythonPackage will check if import matplotlib succeeds, which is as good as this?
pyprefix = 'lib/python%s/site-packages' % pyshortver
eggname = 'matplotlib-%%(version)s-py%s-linux-x86_64.egg' % pyshortver
sanity_check_paths = {
'files': [],
'dirs': [('%s/%%(name)s' % pyprefix, '%s/%s' % (pyprefix, eggname))],
}

moduleclass = 'vis'

0 comments on commit cb93221

Please sign in to comment.