summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/transabyss/package.py
blob: 6991314ea9f0a9a206b5e36e394edb5e5364110b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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 Transabyss(Package):
    """De novo assembly of RNAseq data using ABySS"""

    homepage = "https://www.bcgsc.ca/platform/bioinfo/software/trans-abyss"
    url = "https://www.bcgsc.ca/platform/bioinfo/software/trans-abyss/releases/1.5.5/transabyss-1.5.5.zip"

    version("1.5.5", sha256="7804961c13296c587a1b22180dd3f02091a4494cbbd04fc33c2060599caadb0b")

    depends_on("abyss@1.5.2")
    depends_on("python@2.7.6:", type=("build", "run"))
    depends_on("py-python-igraph@0.7.0:", type=("build", "run"))
    depends_on("blat")

    def install(self, spec, prefix):
        install("transabyss", prefix)
        install("transabyss-merge", prefix)
        install_tree("bin", prefix.bin)
        install_tree("utilities", prefix.utilities)