1 |
commit: a4e405144f304e63344c5228e1407fdff6bfab75 |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Sun Apr 1 21:49:26 2018 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Sun Apr 1 21:49:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a4e40514 |
7 |
|
8 |
sci-biology/proovread: new package |
9 |
|
10 |
Will need more work from upstream to make it into Gentoo. |
11 |
|
12 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
13 |
|
14 |
sci-biology/proovread/metadata.xml | 12 +++++++ |
15 |
sci-biology/proovread/proovread-9999.ebuild | 50 +++++++++++++++++++++++++++++ |
16 |
2 files changed, 62 insertions(+) |
17 |
|
18 |
diff --git a/sci-biology/proovread/metadata.xml b/sci-biology/proovread/metadata.xml |
19 |
new file mode 100644 |
20 |
index 000000000..138cb7705 |
21 |
--- /dev/null |
22 |
+++ b/sci-biology/proovread/metadata.xml |
23 |
@@ -0,0 +1,12 @@ |
24 |
+<?xml version="1.0" encoding="UTF-8"?> |
25 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
+<pkgmetadata> |
27 |
+ <maintainer type="person"> |
28 |
+ <email>mmokrejs@×××××××××××××××.cz</email> |
29 |
+ <name>Martin Mokrejs</name> |
30 |
+ </maintainer> |
31 |
+ <maintainer type="project"> |
32 |
+ <email>sci-biology@g.o</email> |
33 |
+ <name>Gentoo Biology Project</name> |
34 |
+ </maintainer> |
35 |
+</pkgmetadata> |
36 |
|
37 |
diff --git a/sci-biology/proovread/proovread-9999.ebuild b/sci-biology/proovread/proovread-9999.ebuild |
38 |
new file mode 100644 |
39 |
index 000000000..11a78d2f8 |
40 |
--- /dev/null |
41 |
+++ b/sci-biology/proovread/proovread-9999.ebuild |
42 |
@@ -0,0 +1,50 @@ |
43 |
+# Copyright 1999-2018 Gentoo Foundation |
44 |
+# Distributed under the terms of the GNU General Public License v2 |
45 |
+ |
46 |
+EAPI=6 |
47 |
+ |
48 |
+[ "$PV" == "9999" ] && inherit git-r3 |
49 |
+ |
50 |
+DESCRIPTION="Error correct PacBio subreads using Illumina reads" |
51 |
+HOMEPAGE="https://github.com/BioInf-Wuerzburg/proovread" |
52 |
+if [ "$PV" == "9999" ]; then |
53 |
+ EGIT_REPO_URI="https://github.com/BioInf-Wuerzburg/proovread" |
54 |
+ KEYWORDS="" |
55 |
+else |
56 |
+ SRC_URI="" |
57 |
+ KEYWORDS="~amd64 ~x86" # issue #125 |
58 |
+fi |
59 |
+ |
60 |
+LICENSE="proovread" # Artistic-2.0 or GPL-3 but not for commercial |
61 |
+SLOT="0" |
62 |
+IUSE="" |
63 |
+ |
64 |
+# needs Fasta::Parser |
65 |
+RDEPEND=" |
66 |
+ >=dev-lang/perl-5.10 |
67 |
+ dev-perl/Log-Log4perl |
68 |
+ dev-perl/File-Which |
69 |
+ >=sci-biology/ncbi-tools++-2.2.24 |
70 |
+ >=sci-biology/samtools-1.1" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ >=sci-biology/shrimp-2 |
73 |
+ sci-biology/blasr" |
74 |
+ |
75 |
+src_install(){ |
76 |
+ cd bin || die |
77 |
+ dobin ChimeraToSeqFilter.pl dazz2sam ccseq bam2cns test_cfg.pl siamaera samfilter sam2cns proovread-flex proovread |
78 |
+ cd ../util/bwa || die |
79 |
+ dobin bwa-proovread # xa2multi.pl qualfa2fq.pl libbwa.a bwa.1 |
80 |
+ cd ../../util/SeqFilter || die |
81 |
+ dobin bin/SeqFilter |
82 |
+ cd ../../util/SeqChunker || die |
83 |
+ dobin bin/* |
84 |
+ # cd ../util/blasr-1.3.1 || die |
85 |
+ # dobin blasr |
86 |
+ # dodoc LICENSE.txt |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst(){ |
90 |
+ einfo "Proovread uses its own, modified version of bwa as bwa-proovread" |
91 |
+ einfo "with linked in libbwa.a. It also bundles shrimp2 and blasr" |
92 |
+} |