Skip to content

Instantly share code, notes, and snippets.

@pescobar
Created August 15, 2019 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pescobar/5412f1fd889563f3600741a861047d3a to your computer and use it in GitHub Desktop.
Save pescobar/5412f1fd889563f3600741a861047d3a to your computer and use it in GitHub Desktop.
easyconfig tarball + postinstallcmds
easyblock = 'Tarball'
name = 'snpEff'
version = '4.3p'
versionsuffix = '-Java-%(javaver)s'
homepage = 'http://sourceforge.net/projects/snpeff/'
description = """SnpEff is a variant annotation and effect prediction tool.
It annotates and predicts the effects of genetic variants (such as amino acid changes)."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [SOURCEFORGE_SOURCE]
sources = [('%s_v%s_core.zip' % (name, version.replace('.', '_')))]
dependencies = [('Java', '1.8.0_92')]
postinstallcmds = ['cd %(installdir)s && ln -s snpEff/snpEff.jar']
sanity_check_paths = {
'files': ['snpEff/snpEff.jar', 'clinEff/ClinEff.jar', 'snpEff.jar'],
'dirs': []
}
modloadmsg = """To execute run: java -jar \\$EBROOTSNPEFF/snpEff.jar"""
moduleclass = 'bio'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment