NAME

InSilicoSpectro::Spectra::MSRun

SYNOPSIS

DESCRIPTION

A MSRun is a collection of MSSpectra (either ms or ms/ms)

FUNCTIONS

getReadFmtList()

Returns the list of data format with available read handlers (known type for input).

getWriteFmtList()

Returns the list of data format with available write handlers (known type for ouput).

METHODS

my $run=InSilicoSpectro::Spectra::MSRun->new()

$run->addSpectra($sp)

Add an InSilicoSpectro::Spectra::MSSpectra (either ms or msms)

$run->getNbSpectra()

Returns the number of spectra

$run->getSpectra($i)

Returns the spectra number $i

$run->readIDJ($file)

$run->write($format, [$fname|fh]);

$run->writePle($shift)

Writes the run into a ple format ($shift is typically a string with some space char to have something correctly indented)

$run->write($format, [$fname|fh])

Write the run on the given format.

$se->set($name, $val)

Ex: $u->set('date', 'today')

$se->get($name)

Ex: $u->get('date')

EXAMPLES

SEE ALSO

InSilicoSpectro::Spectra::MSSpectra

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

get($name)