{bio}[intel/2017a] EvidentialGene 2018.01.01 (REVIEW)#5627
{bio}[intel/2017a] EvidentialGene 2018.01.01 (REVIEW)#5627boegel merged 6 commits intoeasybuilders:developfrom
Conversation
| @@ -0,0 +1,39 @@ | |||
| easyblock = "PackedBinary" | |||
|
|
|||
| name = "EvidentalGene" | |||
There was a problem hiding this comment.
@hajgato - the name should be EvidentialGene, surely?
There was a problem hiding this comment.
@verdurin For me it can be anything, its hard to figure it out what to give. The homepage references many times to EvidentalGene as well as evigene.
There was a problem hiding this comment.
@verduin I must be blind. Typo corrected.
| month = ['', 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] | ||
| dlver = version.split('.')[0][-2:] | ||
| dlver += month[int(version.split('.')[1])] | ||
| dlver += version.split('.')[2] |
| toolchain = {'name': 'intel', 'version': '2017a'} | ||
|
|
||
| source_urls = ['http://ftp.ebi.ac.uk/pub/software/vertebrategenomics/exonerate/'] | ||
| sources = [SOURCELOWER_TAR_GZ] |
|
Test report by @verdurin |
| dlver = version.split('.')[0][-2:] | ||
| dlver += month[int(version.split('.')[1])] | ||
| dlver += version.split('.')[2] | ||
| sources = ['evigene%s.tar' % dlver] |
There was a problem hiding this comment.
Ugh, this is a bit messy, creative versioning, yaay!
I would propose to clean this up a little bit:
month = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec']
dlver = '%(version_major)s'[-2:] + month[int('%(version_minor)s') - 1] + version.split('.')[2]|
|
||
| toolchain = {'name': 'intel', 'version': '2017a'} | ||
|
|
||
| source_urls = ['ftp://arthropods.eugenes.org/evigene_old/'] |
There was a problem hiding this comment.
URL is wrong? Also, prefer http over ftp when possible.
http://arthropods.eugenes.org/EvidentialGene/other/evigene_old/
There was a problem hiding this comment.
url is not wrong, for me it works. but http used.
|
|
||
| name = "EvidentialGene" | ||
| version = '2018.01.01' | ||
|
|
There was a problem hiding this comment.
style nitpicking: please drop this empty line
| checksums = ['6972108112cdb1fb106da11321d06b09f518b544e4739d0bf19da1984131e221'] | ||
|
|
||
| dependencies = [ | ||
| ('Perl', '5.24.1', '', ('GCCcore', '6.3.0')), |
There was a problem hiding this comment.
Why hardcode to GCCcore/6.3.0 subtoolchain, there's no need to?
There was a problem hiding this comment.
wanted to be sure that the GCCcore version is used. (we have Intel version as well)
|
@boegel Style fixes + http + hardcoded |
| 'http://arthropods.eugenes.org/EvidentialGene/other/evigene_old/evigene_older/', | ||
| ] | ||
| month = ['', 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] | ||
| dlver = '%(version_major)s'[-2:] + month[int('%(version_minor)s') - 1] + version.split('.')[2] |
There was a problem hiding this comment.
@hajgato This doesn't work, it breaks parsing of the easyconfig file:
Parsing easyconfig file failed: invalid literal for int() with base 10: '%(version_minor)s' (line 21)"
The template values can only be replaced after parsing the easyconfig file, so the int(...) is getting a literal '%(version_minor)s string...
| 'http://arthropods.eugenes.org/EvidentialGene/other/evigene_old/evigene_older/', | ||
| ] | ||
| month = ['', 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'] | ||
| dlver = '%(version_major)s'[-2:] + month[int(version.split('.')[1])] + version.split('.')[2] |
There was a problem hiding this comment.
@hajgato The '%(version_major)s'[-2:] prematurely resolves to )s, which doesn't work either...
You'll need to replace it with version.split('.')[0][-2:]?
|
@boegel decided to go back to the original |
|
Test report by @boegel |
|
Test report by @boegel |
|
Going in, thanks @hajgato! |
No description provided.