summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/phred/package.py
blob: 5c259c64cd684d4fc6af8b0aea41436ba2f7884d (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-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)

import os

from spack.package import *


class Phred(MakefilePackage):
    """The phred software reads DNA sequencing trace files, calls bases,
    and assigns a quality value to each called base."""

    homepage = "http://www.phrap.org/phredphrapconsed.html"
    url = "file://{0}/phred.tar.gz".format(os.getcwd())
    manual_download = True

    version("071220", sha256="26212f13fa906c1ca0af61f48d52a5f2c1aacba802bf729ba65ca5222463abce")

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