Repeatmodeler 2.0.4 (#38337)
* perl-devel-size: adding new package * repeatmodeler: adding new version 2.0.4 * perl-devel-size: adding proper description
This commit is contained in:
parent
40d6b84b4d
commit
9e3c3ae298
18
var/spack/repos/builtin/packages/perl-devel-size/package.py
Normal file
18
var/spack/repos/builtin/packages/perl-devel-size/package.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 2013-2023 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.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class PerlDevelSize(PerlPackage):
|
||||||
|
"""Devel::Size - Perl extension for finding the memory usage of Perl variables"""
|
||||||
|
|
||||||
|
homepage = "https://metacpan.org/pod/Devel::Size"
|
||||||
|
url = "https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/Devel-Size-0.83.tar.gz"
|
||||||
|
|
||||||
|
maintainers("snehring")
|
||||||
|
|
||||||
|
version("0.83", sha256="757a67e0aa59ae103ea5ca092cbecc025644ebdc326731688ffab6f8823ef4b3")
|
||||||
|
version("0.82_51", sha256="189eb7c528c1fd21ab53675f4f9f75d4651980d72dff3dd01c8b2241bfe7b086")
|
@ -11,14 +11,23 @@ class Repeatmodeler(Package):
|
|||||||
package."""
|
package."""
|
||||||
|
|
||||||
homepage = "https://www.repeatmasker.org/RepeatModeler/"
|
homepage = "https://www.repeatmasker.org/RepeatModeler/"
|
||||||
url = "https://www.repeatmasker.org/RepeatModeler/RepeatModeler-open-1.0.11.tar.gz"
|
url = "https://github.com/Dfam-consortium/RepeatModeler/archive/refs/tags/2.0.4.tar.gz"
|
||||||
|
|
||||||
version("1.0.11", sha256="7ff0d588b40f9ad5ce78876f3ab8d2332a20f5128f6357413f741bb7fa172193")
|
maintainers("snehring")
|
||||||
|
|
||||||
|
version("2.0.4", sha256="94aad46cc70911d48de3001836fc3165adb95b2b282b5c53ab0d1da98c27a6b6")
|
||||||
|
version(
|
||||||
|
"1.0.11",
|
||||||
|
sha256="7ff0d588b40f9ad5ce78876f3ab8d2332a20f5128f6357413f741bb7fa172193",
|
||||||
|
url="https://www.repeatmasker.org/RepeatModeler/RepeatModeler-open-1.0.11.tar.gz",
|
||||||
|
)
|
||||||
|
|
||||||
depends_on("perl", type=("build", "run"))
|
depends_on("perl", type=("build", "run"))
|
||||||
depends_on("perl-json", type=("build", "run"))
|
depends_on("perl-json", type=("build", "run"))
|
||||||
depends_on("perl-uri", type=("build", "run"))
|
depends_on("perl-uri", type=("build", "run"))
|
||||||
depends_on("perl-libwww-perl", type=("build", "run"))
|
depends_on("perl-libwww-perl", type=("build", "run"))
|
||||||
|
depends_on("perl-file-which", type=("build", "run"), when="@2.0.4:")
|
||||||
|
depends_on("perl-devel-size", type=("build", "run"), when="@2.0.4:")
|
||||||
|
|
||||||
depends_on("repeatmasker", type="run")
|
depends_on("repeatmasker", type="run")
|
||||||
depends_on("recon+repeatmasker", type="run")
|
depends_on("recon+repeatmasker", type="run")
|
||||||
@ -27,36 +36,47 @@ class Repeatmodeler(Package):
|
|||||||
depends_on("nseg", type="run")
|
depends_on("nseg", type="run")
|
||||||
depends_on("ncbi-rmblastn", type="run")
|
depends_on("ncbi-rmblastn", type="run")
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
# "optional" dependencies that it still wants
|
||||||
# like repeatmasker, another interactive installer
|
depends_on("cdhit", type="run", when="@2.0.4:")
|
||||||
# questions:
|
depends_on("genometools", type="run", when="@2.0.4:")
|
||||||
# 1. <enter to continue>
|
depends_on("mafft", type="run", when="@2.0.4:")
|
||||||
# 2. <perl path, default is OK>
|
depends_on("ninja-phylogeny", type="run", when="@2.0.4:")
|
||||||
# 3. <source path, default is OK>
|
depends_on("blat", type="run", when="@2.0.4:")
|
||||||
# 4. RepeatMasker bin path
|
depends_on("ltr-retriever", type="run", when="@2.0.4:")
|
||||||
# 5. RECON bin path
|
|
||||||
# 6. RepeatScout bin path
|
|
||||||
# 7. Nseg bin path
|
|
||||||
# 8. trf bin path
|
|
||||||
# 9. Add a search engine:
|
|
||||||
# 1. RMBlast -> Path, Default? (Y/N)
|
|
||||||
# 2. WUBlast/ABBlast -> Path, Default? (Y/N)
|
|
||||||
# 3. Done
|
|
||||||
|
|
||||||
config_answers = [
|
def install(self, spec, prefix):
|
||||||
"",
|
# interactive configuration script
|
||||||
"",
|
if spec.satisfies("@1.0.11"):
|
||||||
"",
|
config_answers = [
|
||||||
spec["repeatmasker"].prefix.bin,
|
"",
|
||||||
spec["recon"].prefix.bin,
|
"",
|
||||||
spec["repeatscout"].prefix.bin,
|
"",
|
||||||
spec["nseg"].prefix.bin,
|
spec["repeatmasker"].prefix.bin,
|
||||||
spec["trf"].prefix.bin,
|
spec["recon"].prefix.bin,
|
||||||
"1",
|
spec["repeatscout"].prefix.bin,
|
||||||
spec["ncbi-rmblastn"].prefix.bin,
|
spec["nseg"].prefix.bin,
|
||||||
"Y",
|
spec["trf"].prefix.bin,
|
||||||
"3",
|
"1",
|
||||||
]
|
spec["ncbi-rmblastn"].prefix.bin,
|
||||||
|
"Y",
|
||||||
|
"3",
|
||||||
|
]
|
||||||
|
elif spec.satisfies("@2.0.4:"):
|
||||||
|
config_answers = [
|
||||||
|
"",
|
||||||
|
spec["repeatmasker"].prefix.bin,
|
||||||
|
spec["recon"].prefix.bin,
|
||||||
|
spec["repeatscout"].prefix.bin,
|
||||||
|
spec["trf"].prefix.bin,
|
||||||
|
spec["cdhit"].prefix.bin,
|
||||||
|
spec["blat"].prefix.bin,
|
||||||
|
spec["ncbi-rmblastn"].prefix.bin,
|
||||||
|
"y",
|
||||||
|
spec["genometools"].prefix.bin,
|
||||||
|
spec["ltr-retriever"].prefix.bin,
|
||||||
|
spec["mafft"].prefix.bin,
|
||||||
|
spec["ninja-phylogeny"].prefix.bin,
|
||||||
|
]
|
||||||
|
|
||||||
config_filename = "spack-config.in"
|
config_filename = "spack-config.in"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user