aboutsummaryrefslogtreecommitdiff
blob: 64f06c0c0f378779faeeeddf5e6ad2407a1eb11e (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit toolchain-funcs

DESCRIPTION="Map bisulfite converted sequence reads and determine cytosine methylation states"
HOMEPAGE="http://www.bioinformatics.babraham.ac.uk/projects/bismark/"
SRC_URI="http://www.bioinformatics.babraham.ac.uk/projects/${PN}/${PN}_v${PV}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+doc"

DEPEND=""
RDEPEND="sci-biology/bowtie"

S="${WORKDIR}/${PN}_v${PV}"

src_install() {
	dobin bismark{,2bedGraph,2report,_genome_preparation,_methylation_extractor} coverage2cytosine deduplicate_bismark
	insinto /usr/share/${P}
	doins bismark_sitrep.tpl
	dosym /usr/share/${P}/bismark_sitrep.tpl /usr/bin/bismark_sitrep.tpl
	if use doc; then
		dodoc Bismark_User_Guide.pdf RRBS_Guide.pdf license.txt RELEASE_NOTES.txt
	fi
}