summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/mefit/package.py
blob: ce21fc926168d4131800b2c35f9208b38901f1f8 (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
# 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 Mefit(Package):
    """This pipeline will merge overlapping paired-end reads, calculate
    merge statistics, and filter reads for quality."""

    homepage = "https://github.com/nisheth/MeFiT"
    git      = "https://github.com/nisheth/MeFiT.git"

    version('1.0', commit='0733326d8917570bbf70ff5c0f710bf66c13db09')

    depends_on('py-numpy')
    depends_on('py-htseq')
    depends_on('jellyfish')
    depends_on('casper %gcc@4.8.5')

    def install(self, spec, prefix):
        install_tree('.', prefix)

    def setup_environment(self, spack_env, run_env):
        run_env.prepend_path('PATH', self.prefix)