26 lines
958 B
Python
26 lines
958 B
Python
# Copyright 2013-2019 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 Preseq(MakefilePackage):
|
|
"""The preseq package is aimed at predicting and estimating the complexity
|
|
of a genomic sequencing library, equivalent to predicting and
|
|
estimating the number of redundant reads from a given sequencing depth
|
|
and how many will be expected from additional sequencing using an
|
|
initial sequencing experiment."""
|
|
|
|
homepage = "https://github.com/smithlabcode/preseq"
|
|
url = "https://github.com/smithlabcode/preseq/releases/download/v2.0.2/preseq_v2.0.2.tar.bz2"
|
|
|
|
version('2.0.2', '9f2a7b597c9f08b821db6ee55e2ea39c')
|
|
|
|
depends_on('samtools')
|
|
depends_on('gsl')
|
|
|
|
def setup_environment(self, spack_env, run_env):
|
|
spack_env.set('PREFIX', self.prefix)
|