summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fermikit/package.py
blob: e92cc9e5fc047b05f01a45018ac6d0c26e002fbf (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
# 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 Fermikit(MakefilePackage):
    """De novo assembly based variant calling pipeline for Illumina short
    reads"""

    homepage = "https://github.com/lh3/fermikit"
    git      = "https://github.com/lh3/fermikit.git"

    version('2017-11-7', commit='bf9c7112221577ba110665bddca8f1987250bdc7',
            submodules=True)

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

    patch('ksw_for_aarch64.patch', when='target=aarch64:')

    def install(self, spec, prefix):
        install_tree('fermi.kit', prefix.bin)