blob: afc74f6ca459a5dab56a1b3cb7513a195bf1eb8e (
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
|
# 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 Corset(Package):
"""Corset is a command-line software program to go from a de novo
transcriptome assembly to gene-level counts."""
homepage = "https://github.com/Oshlack/Corset/wiki"
url = "https://github.com/Oshlack/Corset/releases/download/version-1.06/corset-1.06-linux64.tar.gz"
version('1.06', sha256='4aff83844461cea1edfce3d89776236c300650fc02b497cc9f11eba42d161b60')
def url_for_version(self, version):
url = 'https://github.com/Oshlack/Corset/releases/download/version-{0}/corset-{0}-linux64.tar.gz'
return url.format(version)
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('corset', prefix.bin)
install('corset_fasta_ID_changer', prefix.bin)
|