summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ngmlr/package.py
blob: 1003e1d9ac3d43bc48473ea76a4a6ea951c7c6e4 (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
# 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 Ngmlr(CMakePackage):
    """Ngmlr is a long-read mapper designed to align PacBilo or Oxford
       Nanopore to a reference genome with a focus on reads that span
       structural variations."""

    homepage = "https://github.com/philres/ngmlr"
    url      = "https://github.com/philres/ngmlr/archive/v0.2.5.tar.gz"

    version('0.2.5', sha256='719944a35cc7ff9c321eedbf3385a7375ce2301f609b3fd7be0a850cabbb028b')

    depends_on('zlib', type='link')
    depends_on('sse2neon', when='target=aarch64:')

    patch('for_aarch64.patch', when='target=aarch64:')
    patch('for_va_list.patch')