summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gffcompare/package.py
blob: 88c66316cae13c9a183365dc534ae1405f7b7569 (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
27
28
# Copyright 2013-2024 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 Gffcompare(MakefilePackage):
    """gffcompare: classify, merge, tracking and annotation of GFF files by comparing to a
    reference annotation GFF"""

    homepage = "https://ccb.jhu.edu/software/stringtie/gffcompare.shtml"
    url = (
        "https://github.com/gpertea/gffcompare/releases/download/v0.12.6/gffcompare-0.12.6.tar.gz"
    )

    license("MIT")

    version("0.12.6", sha256="0e713bc9177d874c935802d11669776da5e9377a8c4d031153b48a783d3391d0")

    def build(self, spec, prefix):
        make("release")

    def install(self, spec, prefix):
        mkdir(prefix.bin)
        install("gffcompare", prefix.bin)
        install("trmap", prefix.bin)