summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2019-07-25 19:49:42 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-07-25 19:49:42 -0500
commit94af6cad5fb4d32906a160b34a5d2fb7cc9f3709 (patch)
treedbac5b09b9d4821df0718b72424890a7e5c5a526 /var
parent7cc1292202e222c777f6b738da63443dbbe3f980 (diff)
downloadspack-94af6cad5fb4d32906a160b34a5d2fb7cc9f3709.tar.gz
spack-94af6cad5fb4d32906a160b34a5d2fb7cc9f3709.tar.bz2
spack-94af6cad5fb4d32906a160b34a5d2fb7cc9f3709.tar.xz
spack-94af6cad5fb4d32906a160b34a5d2fb7cc9f3709.zip
interproscan: new package at 5.36-75.0 (#12130)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/interproscan/package.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/interproscan/package.py b/var/spack/repos/builtin/packages/interproscan/package.py
new file mode 100644
index 0000000000..85af451423
--- /dev/null
+++ b/var/spack/repos/builtin/packages/interproscan/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Interproscan(Package):
+ """InterProScan is the software package that allows sequences
+ (protein and nucleic) to be scanned against InterPro's signatures.
+ Signatures are predictive models, provided by several different
+ databases, that make up the InterPro consortium."""
+
+ homepage = "https://www.ebi.ac.uk/interpro/interproscan.html"
+ url = "https://github.com/ebi-pf-team/interproscan/archive/5.36-75.0.tar.gz"
+
+ version('5.36-75.0', sha256='383d7431e47c985056c856ceb6d4dcf7ed2559a4a3d5c210c01ce3975875addb')
+
+ depends_on('java@8.0:8.9', type=('build', 'run'))
+ depends_on('maven', type='build')
+ depends_on('perl@5:', type=('build', 'run'))
+ depends_on('python@3:', type=('build', 'run'))
+
+ def install(self, spec, prefix):
+ with working_dir('core'):
+ which('mvn')('clean', 'install')
+
+ install_tree('.', prefix)
+
+ # link the main shell script into the PATH
+ ips_bin_suffix = 'core/jms-implementation/target/interproscan-5-dist'
+ symlink(join_path(prefix, ips_bin_suffix), prefix.bin)