{bio}[foss/2016b] GroopM 0.3.4 w/ Python 2.7.12 + deps#4650
{bio}[foss/2016b] GroopM 0.3.4 w/ Python 2.7.12 + deps#4650boegel merged 46 commits intoeasybuilders:developfrom
Conversation
|
@robqiao For |
| ('Python', '2.7.13'), | ||
| ('Cython', '0.25.2', versionsuffix), | ||
| ('numpy', '1.11.1', versionsuffix), | ||
| ('scipy', '0.17.1', versionsuffix), |
There was a problem hiding this comment.
@robqiao Python already includes both numpy and scipy, if those versions are recent enough there's no reason to include stand-alone installations for them as dependencies?
There was a problem hiding this comment.
@boegel This package is compiled against specific numpy and scipy version, any suggestions?
There was a problem hiding this comment.
Can you clarify? How exactly does it require these specific versions of numpy/scipy?
There was a problem hiding this comment.
@boegel Sorry, my fault, version for numpy and scipy are correct in Python/2.7.12-foss-2016b
…-easyconfigs into addeasyconfigs
|
@boegel merge this PR? |
| exts_filter = ("python -c 'import %(ext_name)s'", '') | ||
|
|
||
| exts_list = [ | ||
| ('pysam', version, { |
There was a problem hiding this comment.
@robqiao Why is this being installed as a bundle when there's only one extension?
It should just be installed via PythonPackage directly, like in https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/p/Pysam/Pysam-0.10.0-intel-2016b-Python-2.7.12.eb?
It makes sense to do it as a bundle if you include Cython as an extension in the Pysam installation, but that's not done here?
|
|
||
| sanity_check_paths = { | ||
| 'files': [], | ||
| 'dirs': ['lib/python%(pyshortver)s/site-packages/pysam-%(version)s-py%(pyshortver)s-linux-x86_64.egg'], |
There was a problem hiding this comment.
this is quite specific, and may cause trouble on some system, we usually just check for lib/python%(pyshortver)s/site-packages, which suffices since it's combined with the import check done by EasyBuild
|
|
||
| toolchain = {'name': 'foss', 'version': '2016b'} | ||
|
|
||
| parallel = 1 |
| dependencies = [ | ||
| ('Python', '2.7.12'), | ||
| ('numexpr', '2.6.1', versionsuffix), | ||
| ('HDF5', '1.8.18'), |
There was a problem hiding this comment.
existing PyTables easyconfigs also include LZO and Blosc as dependencies?
There was a problem hiding this comment.
Now included: LZO, BLOSC
| relatively short nucleotide sequences against a long reference sequence such as the human genome.""" | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2016b'} | ||
| toolchainopts = {'optarch': True, 'pic': True, 'usempi': True} |
There was a problem hiding this comment.
existing BWA easyconfigs don't enable usempi, so it's not needed?
|
@verdurin do you mind to run checks on this PR again? Thx ;) |
|
Test report by @verdurin |
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('Automake', '1.11.3'), |
There was a problem hiding this comment.
@robqiao Can you clarify the need for using an old version of Automake here?
Also, you're adding two versions of both Automake and Autoconf (as a dep to Automake), but using only one of them, so remove the others to clean up the PR a bit?
There was a problem hiding this comment.
@robqiao yes, I did spot quite a bit of duplication during my failed build attempt yesterday, so I echo the comment by @boegel
There was a problem hiding this comment.
@boegel @verdurin Thanks guys for pointing out. BamM-1.7.3 distribution can only be built by specific Automake/Autoconf version, we have filed the issue, but until we get an update on this, stick to those versions is the safest bet.
I have other files that require additional Automake/Autoconf versions, but I guess I can clean up for the time being and includes in the corresponding pr.
| source_urls = ['https://github.com/macroevolution/bamm/archive'] | ||
| sources = ['v%(version)s.tar.gz'] | ||
|
|
||
| checksums = ['526eef85ef011780ee21fe65cbc10ecc62efe54044102ae40bdef49c2985b4f4', 'sha256'] |
There was a problem hiding this comment.
this is wrong, should be either:
checksums = [('526eef85ef011780ee21fe65cbc10ecc62efe54044102ae40bdef49c2985b4f4', 'sha256')]or
checksums = ['526eef85ef011780ee21fe65cbc10ecc62efe54044102ae40bdef49c2985b4f4']I suggest the latter, where eb detects the checksum type automatically to be SHA256 based on the length, as we do elsewhere.
There was a problem hiding this comment.
@boegel Thanks for the tips. Fixed tuple() obj.
| sources = [SOURCELOWER_TAR_BZ2] | ||
| source_urls = [('http://sourceforge.net/projects/bio-bwa/files/', 'download')] | ||
|
|
||
| checksums = ['fcf470a46a1dbe2f96a1c5b87c530554', 'md5'] |
There was a problem hiding this comment.
please use a SHA256 checksum instead, and drop the md5, this doesn't do what you think (it specifies a 2nd checksum md5, which is never used, rather than specifying the checksum type of the provided checksum value), see also other remark
| source_urls = ['https://github.com/Blosc/c-blosc/archive/'] | ||
| sources = ['v%(version)s.tar.gz'] | ||
|
|
||
| checksums = ['e04535e816bb942bedc9a0ba209944d1eb34e26e2d9cca37f114e8ee292cb3c8', 'sha256'] |
There was a problem hiding this comment.
please drop the sha256, see also other remark
| sources = [SOURCELOWER_TAR_GZ] | ||
| source_urls = [homepage + 'download/'] | ||
|
|
||
| checksums = ['c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072', 'sha256'] |
There was a problem hiding this comment.
please drop the sha256, see also other remark
|
Test report by @boegel |
|
@boegel Thanks for the tips. do you mind to check this pr again? Thx |
|
We're working towards requiring SHA256 checksums for sources/patches in all easyconfigs touched in pull requests (see #5001), so I went through the trouble of adding the missing ones here, see manifestoso#1 (if you merge that PR, your PR here will be updated accordingly). I'm looking into adding support for something like |
consistently add SHA256 checksums for easyconfigs added in PR easybuilders#4650
|
@boegel |
|
Test report by @boegel |
|
Test report by @boegel |
|
Going in, thanks @robqiao! |
{bio}[foss/2016b] GroopM and deps