summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cufflinks/package.py
blob: 514ecb546540cfb0a295a3ed76b20c682f4b0326 (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
# Copyright 2013-2021 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 *


class Cufflinks(Package):
    """Cufflinks assembles transcripts, estimates their abundances, and tests
       for differential expression and regulation in RNA-Seq samples."""

    homepage = "https://cole-trapnell-lab.github.io/cufflinks"
    url      = "http://cole-trapnell-lab.github.io/cufflinks/assets/downloads/cufflinks-2.2.1.Linux_x86_64.tar.gz"

    version('2.2.1', sha256='39f812452cae26462e5d2671d38104d9e8ef30aaf9ab6dea8ca57f50f46448e4')

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install('cuffcompare', prefix.bin)
        install('cuffdiff', prefix.bin)
        install('cufflinks', prefix.bin)
        install('cuffmerge', prefix.bin)
        install('cuffnorm', prefix.bin)
        install('cuffquant', prefix.bin)
        install('gffread', prefix.bin)
        install('gtf_to_sam', prefix.bin)