aboutsummaryrefslogtreecommitdiff
blob: 38a3d703e66170a950d4047897ae4c7a219d3fde (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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="BSD GPL-2 GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="dev-lang/perl
		app-arch/bzip2"
RDEPEND="${DEPEND}
	>=sci-biology/quorum-0.2.1
	>=sci-biology/jellyfish-1.1.11"

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

	cd ../CA/kmer || die
	econf

	cd ../../SuperReads || die
	econf

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

src_compile(){
	cd jellyfish || die
	default

	cd ../CA/kmer || die
	default

	cd ../../CA/src || die
	default

	cd ../SuperReads || die
	default

	cd ../quorum || die
	default
}

src_install(){
	dobin masurca
	dodoc sr_config_example.txt
}