Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{bio}[foss/2020b] PartitionFinder v2.1.1 + fix source URL for PyTables v3.5.2 #18429

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Author: Pavel Grochal (INUITS)
# License: GPLv2

easyblock = 'Tarball'

name = 'PartitionFinder'
version = '2.1.1'
versionsuffix = '-Python-%(pyver)s'

homepage = 'https://www.robertlanfear.com/partitionfinder'
description = """PartitionFinder 2 is a Python program for simultaneously
choosing partitioning schemes and models of molecular evolution for phylogenetic
analyses of DNA, protein, and morphological data. You can PartitionFinder 2
before running a phylogenetic analysis, in order to decide how to divide up
your sequence data into separate blocks before analysis, and to simultaneously
perform model selection on each of those blocks."""

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

github_account = 'brettc'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['ccf3718996ee6ca496909b4b97d2b075028e0543eba3bc47a8c14b689c84e061']

dependencies = [
('Python', '2.7.18'),
('SciPy-bundle', '2020.11', versionsuffix),
('scikit-learn', '0.20.4', versionsuffix),
('PyTables', '3.5.2', versionsuffix),
]

postinstallcmds = ["cd %(installdir)s && chmod a+x PartitionFinder*"]
fix_python_shebang_for = ["*.py"]

sanity_check_paths = {
'files': ['%(name)sMorphology.py', '%(name)sProtein.py', '%(name)s.py'],
'dirs': ['partfinder'],
}

sanity_check_commands = [
'%(name)s.py -p %(parallel)s %(installdir)s/examples/nucleotide/test.phy',
'%(name)sProtein.py -p %(parallel)s %(installdir)s/examples/aminoacid/test.phy',
'%(name)sMorphology.py -p %(parallel)s %(installdir)s/examples/morphology/test.phy --raxml',
]

modextrapaths = {'PATH': ''}

moduleclass = 'bio'
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description = """PyTables is a package for managing hierarchical datasets and de
toolchain = {'name': 'foss', 'version': '2020b'}
toolchainopts = {'usempi': True}

source_urls = ['https://github.com/PyTables/PyTables/archive/']
source_urls = ['https://github.com/PyTables/PyTables/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
patches = ['%(name)s-%(version)s-fix-libs.patch']
checksums = [
Expand Down