blob: dbdc3e36831c76e6b03ef1c25af7dbecf91e69ef (
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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="Transcript annotation workflow"
HOMEPAGE="http://brendelgroup.org/bioinformatics2go/mRNAmarkup.php"
SRC_URI="http://www.brendelgroup.org/bioinformatics2go/Download/mRNAmarkup-10-3-2013.tar.gz" # 215MB
# 0README in version 20131003 says it is 1.0
LICENSE="mRNAmarkup"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
sci-biology/ncbi-tools++
sci-biology/estscan"
# sci-biology/MuSeqBox has fetch-restrict and probably only works with old BLAST plaintex output
# but, mRNAmarkup/INSTALL says:
# 'For convenience, a copy of the MuSeqBox code distribution is included in directory src/contributed
#
# has a slightly modified estscan copy in src/contributed
RDEPEND="${DEPEND}"
S="${WORKDIR}"/"${PN}"
src_prepare(){
sed -e \
"s#configfile=$installdir/mRNAmarkup.conf#configfile=/usr/share/mRNAmarkup/etc/mRNAmarkup.conf#" \
-i bin/mRNAmarkup.orig || die
sed -e \
"s#$installdir/bin/ESTScan.conf#/usr/share/mRNAmarkup/etc/ESTScan.conf#" \
-i bin/mRNAmarkup.orig
}
src_compile(){
cd src
emake
}
src_install(){
mv bin/mRNAmarkup.orig bin/mRNAmarkup
sed -e 's#INSTALLDIR#/usr/share/mRNAmarkup/etc/#' -i bin/mRNAmarkup
dobin bin/mRNAmarkup bin/*.pl bin/dnatopro bin/genestat
# TODO: there are some more files in bin/ , sigh!
insinto /usr/share/mRNAmarkup/etc
mv mRNAmarkup.conf.orig mRNAmarkup.conf
doins mRNAmarkup.conf
doins bin/ESTScan.conf
dodoc 0README INSTALL
}
pkg_postinst(){
einfo "Please obtain a local copy of NCBI CDD dastabase"
}
|