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

EAPI=5

DESCRIPTION="Scripts for ncbi-tools++ and SRA postprocessing using taxonomy"
HOMEPAGE="ftp://ftp.ncbi.nih.gov/blast/WGS_TOOLS
	http://www.ncbi.nlm.nih.gov/books/NBK279690/
	http://www.ncbi.nlm.nih.gov/genbank/wgs"
SRC_URI="ftp://ftp.ncbi.nih.gov/blast/WGS_TOOLS/taxid2tsa.pl
	ftp://ftp.ncbi.nih.gov/blast/WGS_TOOLS/taxid2wgs.pl"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	dev-lang/perl"

S="${W}/"

src_install(){
	cd "${DISTDIR}" || die
	dobin *.pl
}

pkg_postinst(){
	einfo "These scripts are helpful for VDB-enabled blast+ applications"
	einfo "and for tools from SRA toolkit sci-biology/sra_sdk or"
	einfo "sci-biology/sra_toolkit-bin. They are not added to DEPENDENCIES"
	einfo "yet until the packages are stable. Probably you want to download"
	einfo "Please read http://www.ncbi.nlm.nih.gov/books/NBK158899/"
	einfo "and unpack one of the prebuilt binaries from:"
	einfo "https://github.com/ncbi/sra-tools/wiki/Downloads"
}