summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rseqc/package.py
blob: 9e8201ba80dc7a8fbfa0427dcbf7d7afccc2a2dc (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
29
# Copyright 2013-2022 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 PyRseqc(PythonPackage):
    """RSeQC package provides a number of useful modules that can
    comprehensively evaluate high throughput sequence data especially RNA-seq
    data."""

    homepage = "http://rseqc.sourceforge.net"
    pypi = "RSeQC/RSeQC-2.6.4.tar.gz"

    version('3.0.1', sha256='d5f4cb2c24a7348929f5c4947d84c5869e8cd2cba5ba5248d991ebb37c4c6b3d')
    version('2.6.4', sha256='e11df661bda1c24fc950f0bce06f586a68ab5f4a2c356f43e4a0dfdc1e184315')

    depends_on('python@2.7:2.8', type=('build', 'run'), when='@:2')
    depends_on('python@3.5:', type=('build', 'run'), when='@3:')
    depends_on('py-setuptools', type='build')
    depends_on('py-nose@0.10.4:', type='build')
    depends_on('py-cython@0.17:', type=('build', 'run'))
    depends_on('py-bx-python', type=('build', 'run'))
    depends_on('py-numpy', type=('build', 'run'))
    depends_on('py-pysam', type=('build', 'run'))
    depends_on('py-pybigwig', type=('build', 'run'), when='@3:')
    depends_on('r', type='run')