summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/velvetoptimiser/package.py
blob: 03eb1daed9b4ab316cc01584f9c489f41a0f5240 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 Velvetoptimiser(Package):
    """Automatically optimise three of Velvet's assembly parameters."""

    homepage = "https://github.com/tseemann/VelvetOptimiser"
    url = "https://github.com/tseemann/VelvetOptimiser/archive/2.2.6.tar.gz"

    version("2.2.6", sha256="b407db61b58ed983760b80a3a40c8f8a355851ecfab3e61a551bed29bf5b40b3")

    depends_on("velvet@1.1:", type="run")
    depends_on("perl@5.8.8:", type="run")
    depends_on("perl-bioperl@1.4:", type="run")

    def install(self, spec, prefix):
        install_tree(".", prefix.bin)