summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sickle/package.py
blob: ad0db8556895ff21207a0ed988124e70594d6fae (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
# Copyright 2013-2024 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 Sickle(MakefilePackage):
    """Sickle is a tool that uses sliding windows along with quality and
    length thresholds to determine when quality is sufficiently low to trim
    the 3'-end of reads and also determines when the quality is
    sufficiently high enough to trim the 5'-end of reads."""

    homepage = "https://github.com/najoshi/sickle"
    url = "https://github.com/najoshi/sickle/archive/v1.33.tar.gz"

    license("MIT")

    version("1.33", sha256="eab271d25dc799e2ce67c25626128f8f8ed65e3cd68e799479bba20964624734")

    depends_on("zlib-api")

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install("sickle", prefix.bin)