Skip to content

easyconfig for SearchGUI#6637

Merged
boegel merged 9 commits intoeasybuilders:developfrom
korbini:patch-1
Sep 3, 2018
Merged

easyconfig for SearchGUI#6637
boegel merged 9 commits intoeasybuilders:developfrom
korbini:patch-1

Conversation

@korbini
Copy link
Copy Markdown
Contributor

@korbini korbini commented Aug 6, 2018

new easyconfig

@verdurin
Copy link
Copy Markdown
Member

Hello @korbini and welcome to EasyBuild.

Travis runs some automatic style checks on new PRs to make sure they meet our guidelines. In this case, here's a list of what it's complaining about:

/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:6:121: E501 line too long (298 > 120 characters)
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:22:19: E231 missing whitespace after ','
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:27:1: E101 indentation contains mixed spaces and tabs
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:27:1: W191 indentation contains tabs
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:27:13: E231 missing whitespace after ':'
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:28:1: W191 indentation contains tabs
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:28:19: E231 missing whitespace after ':'
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:29:1: W191 indentation contains tabs
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:29:12: E231 missing whitespace after ':'
/home/travis/build/easybuilders/easybuild-easyconfigs/easybuild/easyconfigs/s/SearchGUI/SearchGUI-3.3.3-Java-1.8.0_152.eb:32:25: E231 missing whitespace after ':'

If you can fix those minor style points, then we'll review the PR.

@boegel boegel added the new label Aug 16, 2018
@easybuilders easybuilders deleted a comment from boegelbot Aug 16, 2018

homepage = 'https://github.com/compomics/searchgui'
description = "SearchGUI runs proteomics identification search engines and de novo sequencing algorithms, currently X! Tandem,
MS-GF+, MS Amanda, MyriMatch, Comet, Tide, Andromeda, OMSSA, Novor and DirecTag."
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.

@korbini You'll need to use """ when wrapping a string across multiple lines.

You can use eb --check-style to make sure your easyconfig matches the style requirements that are checked automatically.

One thing I just noticed: there's no easyblock specified, and there's no custom easyblock for SearchGUI (yet)... Was that omitted by accident maybe?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@boegel Thank you for pointing that out. Hope it's fine now.


source_urls = ['http://genesis.ugent.be/maven2/eu/isas/searchgui/SearchGUI/%(version)s/']
sources = ['SearchGUI-%(version)s-mac_and_linux.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.

@korbini Please include a SHA256 checksum, you can use eb SearchGUI-3.3.3-Java-1.8.0_152.eb --inject-checksums for this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@boegel
done

('Mono', '4.6.2.7')
]


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.

@korbini Style nitpicking: please drop the duplicate empty line (same below)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the hint. Done.

description = """SearchGUI is a user-friendly open-source graphical user interface for configuring and
running proteomics identification search engines and de novo sequencing algorithms,
currently supporting X! Tandem, MS-GF+, MS Amanda, MyriMatch, Comet, Tide, Andromeda, OMSSA,
Novor and DirecTag."""
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.

@korbini Better trim the whitespace on these lines to a single space, otherwise this will look quite strange in the output of module show

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the hint. Done.



modaliases = {
'SearchCLI': 'java -cp $EBROOTSEARCHGUI/SearchGUI-%(version)s.jar eu.isas.searchgui.cmd.SearchCLI',
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.

@korbini Is this using some kind of mirror, or is that just the way how SearchCLI works?

Copy link
Copy Markdown
Contributor Author

@korbini korbini Aug 17, 2018

Choose a reason for hiding this comment

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

@boegel It looks for me this is like it works, so we found it convenient to give it a version independent alias.
https://compomics.github.io/projects/searchgui/wiki/searchcli.html

'FastaCLI': 'java -cp $EBROOTSEARCHGUI/SearchGUI-%(version)s.jar eu.isas.searchgui.cmd.FastaCLI'
}

modextravars = {'LC_ALL': 'C'}
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.

@korbini Can you clarify why this is needed? Not sure that's a good idea...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a workaround for MyriMatch on Linux - error “locale::facet::_S_create_c_locale name not valid”, can be fixed by running “export LC_ALL=C” before running SearchGUI/MyriMatch.
Should this be commented in the easyconfig?

Copy link
Copy Markdown
Contributor Author

@korbini korbini left a comment

Choose a reason for hiding this comment

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

@boegel Changed as requested. Hope it's OK now.

@easybuilders easybuilders deleted a comment from boegelbot Aug 28, 2018
@easybuilders easybuilders deleted a comment from boegelbot Aug 28, 2018
}

modaliases = {
'SearchCLI': 'java -cp $EBROOTSEARCHGUI/SearchGUI-%(version)s.jar eu.isas.searchgui.cmd.SearchCLI',
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.

@korbini These aliases are indeed useful, but you should include a comment here to clarify that these are the official command lines, i.e. refer to https://compomics.github.io/projects/searchgui/wiki/searchcli.html

}

# workaround fixing MyriMatch on Linux - error "locale::facet::_S_create_c_locale name not valid"
modextravars = {'LC_ALL': 'C'}
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.

@korbini This looks like a site-specific fix to me, which means it shouldn't be included in the easyconfig...

How did you trigger the error (so we can test this ourselves to see if we can reproduce it without setting $LC_ALL to C)?

@boegel boegel added this to the 3.7.0 milestone Sep 3, 2018
@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 3, 2018

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

@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 3, 2018

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in this PR)
node3126.skitty.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz, Python 2.7.5
See https://gist.github.com/b86cf89cebf3eb9a90d011fb7b3e0255 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 3, 2018

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in this PR)
node2418.golett.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, Python 2.7.5
See https://gist.github.com/786d41b22c227db2cf0f158f9fa78912 for a full test report.

@boegel boegel changed the base branch from master to develop September 3, 2018 19:31
@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 3, 2018

Going in, thanks @korbini!

@boegel boegel merged commit a2b5de5 into easybuilders:develop Sep 3, 2018
@korbini korbini deleted the patch-1 branch September 4, 2018 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants