summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sabre/package.py
blob: 341e026645c556b260a8f8ec3e2197abe0a80849 (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
30
31
# 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 Sabre(MakefilePackage):
    """Sabre is a tool that will demultiplex barcoded reads into separate
    files. It will work on both single-end and paired-end data in fastq
    format. It simply compares the provided barcodes with each read and
    separates the read into its appropriate barcode file, after stripping
    the barcode from the read (and also stripping the quality values of
    the barcode bases). If a read does not have a recognized barcode,
    then it is put into the unknown file.
    """

    homepage = "https://github.com/najoshi/sabre"
    git = "https://github.com/najoshi/sabre.git"

    license("MIT")

    version("2013-09-27", commit="039a55e500ba07b7e6432ea6ec2ddcfb3471d949")

    depends_on("zlib-api")

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