Skip to content

{bio}[intel/2017a] EvidentialGene 2018.01.01 (REVIEW)#5627

Merged
boegel merged 6 commits intoeasybuilders:developfrom
hajgato:exonerate17a
Feb 27, 2018
Merged

{bio}[intel/2017a] EvidentialGene 2018.01.01 (REVIEW)#5627
boegel merged 6 commits intoeasybuilders:developfrom
hajgato:exonerate17a

Conversation

@hajgato
Copy link
Copy Markdown
Collaborator

@hajgato hajgato commented Jan 12, 2018

No description provided.

@verdurin verdurin added this to the next release (3.5.2 or 3.6.0) milestone Jan 18, 2018
@@ -0,0 +1,39 @@
easyblock = "PackedBinary"

name = "EvidentalGene"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hajgato - the name should be EvidentialGene, surely?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof. What a mither...

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

source_urls = ['http://ftp.ebi.ac.uk/pub/software/vertebrategenomics/exonerate/']
sources = [SOURCELOWER_TAR_GZ]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a checksum here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@verdurin Done

verdurin
verdurin previously approved these changes Feb 9, 2018
Copy link
Copy Markdown
Member

@verdurin verdurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes @hajgato

@verdurin
Copy link
Copy Markdown
Member

verdurin commented Feb 9, 2018

Test report by @verdurin
SUCCESS
Build succeeded for 5 out of 5 (2 easyconfigs in this PR)
rescomp2 - Linux centos 6.8, Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz, Python 2.7.11
See https://gist.github.com/84c82c23b2bd9955305950e41fb0b88e for a full test report.

dlver = version.split('.')[0][-2:]
dlver += month[int(version.split('.')[1])]
dlver += version.split('.')[2]
sources = ['evigene%s.tar' % dlver]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


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

source_urls = ['ftp://arthropods.eugenes.org/evigene_old/']
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URL is wrong? Also, prefer http over ftp when possible.

http://arthropods.eugenes.org/EvidentialGene/other/evigene_old/

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url is not wrong, for me it works. but http used.


name = "EvidentialGene"
version = '2018.01.01'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style nitpicking: please drop this empty line

checksums = ['6972108112cdb1fb106da11321d06b09f518b544e4739d0bf19da1984131e221']

dependencies = [
('Perl', '5.24.1', '', ('GCCcore', '6.3.0')),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why hardcode to GCCcore/6.3.0 subtoolchain, there's no need to?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wanted to be sure that the GCCcore version is used. (we have Intel version as well)

@hajgato
Copy link
Copy Markdown
Collaborator Author

hajgato commented Feb 12, 2018

@boegel Style fixes + http + hardcoded GCCcore Perl fixed.

@hajgato hajgato changed the title {bio}[intel/2017a] EvidentalGene 2018.01.01 (REVIEW) {bio}[intel/2017a] EvidentialGene 2018.01.01 (REVIEW) Feb 21, 2018
'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]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@boegel Fixed

@boegel boegel modified the milestones: 3.5.2, 3.x Feb 25, 2018
'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]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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:]?

@hajgato
Copy link
Copy Markdown
Collaborator Author

hajgato commented Feb 27, 2018

@boegel decided to go back to the original dlver

@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 27, 2018

Test report by @boegel
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in this PR)
node2689.swalot.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/b0d54d199abc10e0045aa2dc635630fd for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 27, 2018

Test report by @boegel
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in this PR)
node2030.delcatty.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/9fcba323dba65c627e491e68c688892c for a full test report.

@boegel boegel modified the milestones: 3.x, 3.5.2 Feb 27, 2018
@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 27, 2018

Going in, thanks @hajgato!

@boegel boegel merged commit 5cc757d into easybuilders:develop Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants