2019-12-31 14:36:56 +08:00
|
|
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-07-06 08:33:43 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-07-06 08:33:43 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class Butter(Package):
|
|
|
|
"""butter: Bowtie UTilizing iTerative placEment of Repetitive small rnas.
|
|
|
|
A wrapper for bowtie to produce small RNA-seq alignments where
|
|
|
|
multimapped small RNAs tend to be placed near regions of confidently
|
|
|
|
high density."""
|
|
|
|
|
|
|
|
homepage = "https://github.com/MikeAxtell/butter"
|
|
|
|
url = "https://github.com/MikeAxtell/butter/archive/v0.3.3.tar.gz"
|
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version('0.3.3', sha256='862cbe06d51fdefca18e5fe4cfa8e4df6ce92686ccbc389affe05b199ea9243b')
|
2017-07-06 08:33:43 +08:00
|
|
|
|
|
|
|
depends_on('perl', type=('build', 'run'))
|
|
|
|
depends_on('samtools')
|
|
|
|
depends_on('bowtie')
|
|
|
|
|
|
|
|
def install(self, spec, prefix):
|
|
|
|
mkdirp(prefix.bin)
|
|
|
|
install('butter', prefix.bin)
|
|
|
|
install('bam2wig', prefix.bin)
|