NAME

indexXml.pl

DESCRIPTION

Builds a xml index for large xml files. From a source.xml file, extract info as requested in a indexmaker.xml and write an index.xml

SYNOPSIS

See perldoc InSilicoSpectro::Utils::XML::SaxIndexMaker for the indexmaker and output formats.

See the lib/Phenyx/Utils/SaxIndexMaker/test directory for examples

ARGUMENTS

-src=xmlfile

The file to be indexed (typically a large file, too large to be handled by DOM technology).

If this file is gziped, it will be gunziped temporarly in the defaut temp directory

-indexmaker=xmlfile

The file with the description of what is to be index from the source file.

OPTIONS

--save=xmlfile

Where to save the index [STDOUT]

--help
--man
--verbose

Example

./prepareDb.pl --src=dat:/tmp/human.seq -db=SwissProtHuman --xtraconfigtags="phenyx.databases:/tmp;phenyx.users.default=/tmp"

COPYRIGHT

Copyright (C) 2004-2005 Geneva Bioinformatics www.genebio.com

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

AUTHORS

Alexandre Masselot, www.genebio.com