aboutsummaryrefslogtreecommitdiff
blob: 98aa75a61126eb617158aa54d0f7ff1fdd7b3629 (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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit toolchain-funcs

DESCRIPTION="Map bisulfite converted sequence reads and 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 ../share/${P}/bismark_sitrep.tpl /usr/bin/bismark_sitrep.tpl
	use doc \
		dodoc Bismark_User_Guide.pdf RRBS_Guide.pdf license.txt RELEASE_NOTES.txt
}