blob: 3e48cf9ef652689637704453b8d6c79358f151bd (
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
|
# Copyright 2013-2022 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 Sortmerna(CMakePackage):
"""SortMeRNA is a program tool for filtering, mapping and OTU-picking NGS
reads in metatranscriptomic and metagenomic data"""
homepage = "https://github.com/biocore/sortmerna"
git = "https://github.com/biocore/sortmerna.git"
version('2017-07-13', commit='8bde6fa113a5d99a23ae81b48eeea6760e966094')
depends_on('zlib')
depends_on('sse2neon', when='target=aarch64:')
patch('for_aarch64.patch', when='target=aarch64:')
def install(self, spec, prefix):
mkdirp(prefix.bin)
with working_dir(join_path(self.build_directory, 'src', 'indexdb')):
install('indexdb', prefix.bin)
with working_dir(join_path(self.build_directory, 'src', 'sortmerna')):
install('sortmerna', prefix.bin)
|