aboutsummaryrefslogtreecommitdiff
blob: 28934c3b1d800de121a752f481ff3a19e16624a9 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="Assembler to combine Sanger, Roche 454 and Illumina Solexa reads"
HOMEPAGE="http://www.genome.umd.edu/masurca.html"
SRC_URI="ftp://ftp.genome.umd.edu/pub/MaSuRCA/MaSuRCA-"${PV}".tar.gz
		ftp://ftp.genome.umd.edu/pub/MaSuRCA/MaSuRCA_QuickStartGuide.pdf"

LICENSE=""
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="dev-lang/perl
		app-arch/bzip2"
RDEPEND="${DEPEND}"

# the ebuild mimics "${S}"/install.sh
src_configure(){
	cd jellyfish-1.1.11 || die
	econf

	cd ../jellyfish-2.0.0rc1 || die
	econf --program-suffix=-2.0

	cd ../CA/kmer || die
	sh ./configure.sh
	econf

	cd ../../SuperReads-0.3.2 || die
	econf

	cd ../quorum-0.3.2 || die
	econf --enable-relative-paths --with-relative-jf-path
}

src_compile(){
	cd jellyfish-1.1.11 || die
	emake

	cd ../jellyfish-2.0.0rc1 || die
	emake

	cd ../CA/kmer || die
	emake

	cd ../../CA/src || die
	emake

	cd ../SuperReads-0.3.2 || die
	emake

	cd ../quorum-0.3.2 || die
	emake
}

src_install(){
	dobin masurca
	dodoc sr_config_example.txt
}