summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-crossmap/package.py
blob: c2eee33fec862441352038514093627bbd8863df (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-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 PyCrossmap(PythonPackage, SourceforgePackage):
    """CrossMap is a program for convenient conversion of genome coordinates
       (or annotation files) between different assemblies"""

    homepage = "http://crossmap.sourceforge.net/"
    sourceforge_mirror_path = "crossmap/CrossMap-0.3.3.tar.gz"

    version('0.3.9', sha256='e20a4653e9fc313ac0f5a6cfc37b42e83c3cf2b42f9483706cfb9ec9ff72c74c')
    version('0.3.3', sha256='56d99fd606e13e399b83438953d0d89fc281df1c1e8e47eed7d773e7ec9c88f8')
    version('0.2.9', sha256='57243ee5051352c93088874c797ceac0426f249704ba897360fb628b3365d0af')

    depends_on('python@3:', type=('build', 'run'), when='@0.3.0:')
    depends_on('python@2.7:2.8', type=('build', 'run'), when='@:0.2.9')

    depends_on('py-setuptools', type='build')
    depends_on('py-cython@0.17:', type=('build', 'run'))
    depends_on('py-pysam', type=('build', 'run'))
    depends_on('py-bx-python', type=('build', 'run'))

    depends_on('py-pybigwig', type=('build', 'run'), when='@0.3.0:')