blob: 5165ae6dde0cd1e01d4912abcda66f6048e2d297 (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
[ "$PV" == "9999" ] && inherit git-r3
inherit perl-functions toolchain-funcs
DESCRIPTION="Error correct PacBio subreads using Illumina reads"
HOMEPAGE="https://github.com/BioInf-Wuerzburg/proovread"
if [ "$PV" == "9999" ]; then
EGIT_REPO_URI="https://github.com/BioInf-Wuerzburg/proovread"
KEYWORDS=""
else
SRC_URI=""
KEYWORDS="~amd64 ~x86" # issue #125
fi
LICENSE="proovread" # Artistic-2.0 or GPL-3 but not for commercial
SLOT="0"
IUSE=""
# needs Fasta::Parser
RDEPEND="
>=dev-lang/perl-5.10
dev-perl/Log-Log4perl
dev-perl/File-Which
>=sci-biology/ncbi-tools++-2.2.24
>=sci-biology/samtools-1.1"
DEPEND="${RDEPEND}
>=sci-biology/shrimp-2
sci-biology/blasr"
src_install(){
cd bin || die
dobin ChimeraToSeqFilter.pl dazz2sam ccseq bam2cns test_cfg.pl siamaera samfilter sam2cns proovread-flex proovread
cd ../util/bwa || die
dobin bwa-proovread # xa2multi.pl qualfa2fq.pl libbwa.a bwa.1
cd ../../util/SeqFilter || die
dobin bin/SeqFilter
cd ../../util/SeqChunker || die
dobin bin/*
cd ../../lib || die
perl_domodule -r -C ${PN} *
# cd ../util/blasr-1.3.1 || die
# dobin blasr
# dodoc LICENSE.txt
}
pkg_postinst(){
einfo "Proovread uses its own, modified version of bwa as bwa-proovread"
einfo "with linked in libbwa.a. It also bundles shrimp2 and blasr"
}
|