blob: f558a751aee7642f2bc8dc84e47ca44f1450f197 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit java-pkg-2 eutils java-ant-2
DESCRIPTION="Quality control FASTA/FASTQ sequence files"
HOMEPAGE="http://www.bioinformatics.babraham.ac.uk/projects/fastqc/"
SRC_URI="http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v"${PV}"_source.zip"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="sci-biology/picard
sci-libs/jhdf5
>=virtual/jre-1.5:*"
RDEPEND="${DEPEND}
dev-lang/perl
>=virtual/jdk-1.5:*
dev-java/ant-core"
S="${WORKDIR}"/FastQC
src_prepare(){
cp "${FILESDIR}"/build.xml . || die
}
src_compile(){
ant || die
}
src_install(){
dobin fastqc run_fastqc.bat
dodoc README.txt RELEASE_NOTES.txt
# There is no fastqc.jar. The output from the compilation is the set of
# .class files (a jar file is just a zip file full of .class files). All
# you need to copy out is the contents of the bin subdirectory, the rest of
# the download you can discard.
#
# jbzip2-0.9.jar comes from https://code.google.com/p/jbzip2
#
# ignore the sam-1.103.jar and rely on /usr/share/picard/lib/sam.jar from sci-biology/picard
# The sam-1.103.jar library comes from
# http://sourceforge.net/projects/picard/files/sam-jdk/. Note that there is
# a newer version of this codebase at https://github.com/samtools/htsjdk but
# that FastQC is NOT yet compatible with the updated API (this will probably
# happen in a future release). This library is needed to read SAM/BAM
# format files.
# cisd-jhdf5.jar should be provided by sci-libs/jhdf5
}
|