summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Stanley <molecuul@users.noreply.github.com>2019-02-07 03:22:36 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-02-07 10:22:36 +0100
commit09a884322f1cb4f7454a1956adf6f35764acdf0a (patch)
treec5addc6c249eb38da4db1fc5a1a826a5e3d29e5b
parentf0cb4580d12b0dcc21b0d60b9754594f2e789d55 (diff)
downloadspack-09a884322f1cb4f7454a1956adf6f35764acdf0a.tar.gz
spack-09a884322f1cb4f7454a1956adf6f35764acdf0a.tar.bz2
spack-09a884322f1cb4f7454a1956adf6f35764acdf0a.tar.xz
spack-09a884322f1cb4f7454a1956adf6f35764acdf0a.zip
orthofiller: new package at 1.1.4 (#10373)
-rw-r--r--var/spack/repos/builtin/packages/orthofiller/package.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/orthofiller/package.py b/var/spack/repos/builtin/packages/orthofiller/package.py
new file mode 100644
index 0000000000..1319f721f3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/orthofiller/package.py
@@ -0,0 +1,38 @@
+# 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 *
+import os
+
+
+class Orthofiller(Package):
+ """OrthoFiller: Identifying missing annotations for evolutionarily
+ conserved genes."""
+
+ homepage = "https://github.com/mpdunne/orthofiller/"
+ url = "https://github.com/mpdunne/orthofiller/archive/1.1.4.tar.gz"
+
+ version('1.1.4', sha256='a693a3372a3f05041ce30cbf84da1be88e85eae4effe32dbd7809ccef119a295')
+
+ depends_on('augustus', type='run')
+ depends_on('bedtools2@2.25.0', type='run')
+ depends_on('hmmer', type='run')
+ depends_on('orthofinder', type='run')
+ depends_on('python@2.7:', type='run')
+ depends_on('py-biopython', type='run')
+ depends_on('py-scipy', type='run')
+ depends_on('r', type='run')
+ depends_on('r-gamlss', type='run')
+ depends_on('mafft', type='run')
+
+ def install(self, spec, prefix):
+ # orthofiller tests for common unix programs using man
+ # runtime modules will quickly overflow the maximum MANPATH;
+ # we change the man tests to use which instead, more reliable anyway
+ filter_file('"man "', '"which "', 'OrthoFiller.py', string=True)
+
+ os.chmod('OrthoFiller.py', 0o755)
+ mkdirp(prefix.bin)
+ install('OrthoFiller.py', prefix.bin)