summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sabre/package.py
blob: b1c7c8b81d9db78734377d4fbdb39a3049dcfb7f (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
# Copyright 2013-2018 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 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"

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

    depends_on('zlib')

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