Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2013 The Cyprus Institute
# Authors:: Andreas Panteli <[email protected]>, Thekla Loizou <[email protected]>,
# George Tsouloupas <[email protected]>
# License:: MIT/GPL
#
##
easyblock = 'PythonPackage'

name = 'Biopython'
version = '1.71'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.biopython.org'
description = """Biopython is a set of freely available tools for biological computation written
in Python by an international team of developers. It is a distributed collaborative effort to
develop Python libraries and applications which address the needs of current and future work in
bioinformatics. """

toolchain = {'name': 'intel', 'version': '2018a'}

source_urls = ['https://biopython.org/DIST']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['4f1770a29a5b18fcaca759bbc888083cdde2b301f073439ff640570d4a93e033']

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

download_dep_fail = True
use_pip = True

options = {'modulename': 'Bio'}

# also check import of BioSQL
sanity_check_commands = ["python -c 'import BioSQL'"]

sanity_pip_check = True

moduleclass = 'bio'
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
easyblock = 'PythonBundle'

name = 'CNVkit'
version = '0.9.3'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/etal/cnvkit'
description = """A command-line toolkit and Python library for detecting copy number variants and alterations
genome-wide from high-throughput sequencing."""

toolchain = {'name': 'intel', 'version': '2018a'}

dependencies = [
('Python', '3.6.4'),
('Biopython', '1.71', versionsuffix),
('matplotlib', '2.1.2', versionsuffix),
('Pysam', '0.14.1', versionsuffix),
('Pillow', '5.0.0', versionsuffix),
('R-bundle-Bioconductor', '3.6', '-R-3.4.4'),
('hmmlearn', '0.2.0', versionsuffix),
]

use_pip = True

exts_list = [
('reportlab', '3.4.0', {
'source_urls': ['https://pypi.python.org/packages/source/r/reportlab'],
'checksums': ['5beaf35e59dfd5ebd814fdefd76908292e818c982bd7332b5d347dfd2f01c343'],
}),
('pyfaidx', '0.5.4', {
'source_urls': ['https://pypi.python.org/packages/source/p/pyfaidx'],
'checksums': ['2a15b8820bc1f27c4b6fe7c82a98d2520972cb6c167055d158562778af8aa53e'],
}),
('future', '0.16.0', {
'source_urls': ['https://pypi.python.org/packages/source/f/future'],
'checksums': ['e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb'],
}),
(name, version, {
'source_urls': ['https://github.com/etal/cnvkit/archive/'],
'source_tmpl': 'v%(version)s.tar.gz',
'patches': ['CNVkit-0.9.3_disable-hanging-test.patch'],
'checksums': [
'51a7e9c83de481656cc4f33c5d7de230b781106045f3967c2947e9d6fc63b86f', # v0.9.3.tar.gz
# CNVkit-0.9.3_disable-hanging-test.patch
'328729c2c3893e90d030cae059637d155cf81989e476bef0fa59782984e1a2f7',
],
'use_pip': False,
# Run tests after installation
'installopts': "&& cd test && make && make test",
'modulename': 'cnvlib',
}),
]

fix_python_shebang_for = ['bin/*.py']

sanity_check_paths = {
'files': ['bin/cnvkit.py'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = ["cnvkit.py -h"]

sanity_pip_check = True

moduleclass = 'bio'
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
disable test for parallel segment command, since it hangs
author: Kenneth Hoste (HPC-UGent)
--- cnvkit-0.9.3/test/test_cnvlib.py.orig 2018-06-12 13:47:13.815212037 +0200
+++ cnvkit-0.9.3/test/test_cnvlib.py 2018-06-12 13:47:37.455672999 +0200
@@ -447,7 +447,7 @@
# segments = segmentation.do_segmentation(cnarr, "hmm", variants=varr)
# self.assertGreater(len(segments), n_chroms)

- def test_segment_parallel(self):
+ def xxxtest_segment_parallel(self):
"""The 'segment' command, in parallel."""
cnarr = cnvlib.read("formats/amplicon.cnr")
psegments = segmentation.do_segmentation(cnarr, "haar", processes=2)
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = 'PythonPackage'

name = 'hmmlearn'
version = '0.2.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://github.com/hmmlearn/hmmlearn'
description = "hmmlearn is a set of algorithms for unsupervised learning and inference of Hidden Markov Models"

toolchain = {'name': 'intel', 'version': '2018a'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['694646f8302bc6402925a4b6892f3a5ccede06d25f22157c18cfbdecdb748361']

dependencies = [
('Python', '3.6.4'),
('scikit-learn', '0.19.1', versionsuffix),
]

download_dep_fail = True
use_pip = True

sanity_pip_check = True

moduleclass = 'lib'