Skip to content

Commit f4100c5

Browse files
gio31415alalazo
authored andcommitted
Packages/paien/tophat (#233)
* Add TopHat package release 2.1.1 * Merge changes from cornalin * TopHat package release 2.1.2 * tophat conflicts with gcc@6: (#234) * a patch exists: DaehwanKimLab/tophat#38 but might have unexpected side effects
1 parent 0eed5c7 commit f4100c5

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

var/spack/repos/builtin/packages/tophat/package.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,35 @@
2626

2727

2828
class Tophat(AutotoolsPackage):
29-
"""Spliced read mapper for RNA-Seq."""
29+
"""TopHat is a fast splice junction read mapper for RNA-Seq.
30+
31+
It aligns RNA-Seq reads to mammalian-sized genomes using the ultra
32+
high-throughput short read aligner Bowtie, and then analyzes the
33+
the mapping results to identify splice junctions between exons."""
3034

3135
homepage = "http://ccb.jhu.edu/software/tophat/index.shtml"
3236
url = "https://github.com/infphilo/tophat/archive/v2.1.1.tar.gz"
3337

38+
version('2.1.2', 'db844fd7f53c519e716cd6222e6195b2')
3439
version('2.1.1', 'ffd18de2f893a95eb7e9d0c5283d241f')
3540

3641
depends_on('autoconf', type='build')
37-
depends_on('automake', type='build')
42+
# 2.1.1 only builds with [email protected]. There's a patch here:
43+
# https://github.com/spack/spack/pull/8244, which was incorporated
44+
# upstream in 2.1.2, which is known to build with 1.16.1 and 1.15.1.
45+
depends_on('automake', type='build')
46+
depends_on('[email protected]', when='@:2.1.1', type='build')
3847
depends_on('libtool', type='build')
3948
depends_on('m4', type='build')
4049

4150
depends_on('[email protected]:')
4251
depends_on('bowtie2', type='run')
4352

53+
# uses make_pair which changed signature with C++14
54+
# a patch exists: https://github.com/DaehwanKimLab/tophat/pull/38
55+
# but there might be unexpected side effects
56+
conflicts('%gcc@6:')
57+
4458
parallel = False
4559

4660
def configure_args(self):

0 commit comments

Comments
 (0)