splitPeptSpectraAtRandom.pl - Splits a .peptSpectra.xml file in two .peptSpectra.xml files


NAME

splitPeptSpectraAtRandom.pl - Splits a .peptSpectra.xml file in two .peptSpectra.xml files


SYNOPSIS

splitPeptSpectraAtRandom.pl [options] peptSpectra.xml files


OPTIONS

Use splitPeptSpectraAtRandom.pl -h


DESCRIPTION

The script splits a .peptSpectra.xml file in two .peptSpectra.xml files randomly. It is mainly used for creating a training and a test set from one original set of peptide/spectrum matches.

The respective sizes of the two created files can be defined via a proportion or by setting a fixed number of requested matches for the first output file.


EXAMPLE

./splitPeptSpectraAtRandom.pl --proportion=0.5 --out=test example.peptSpectra.xml


AUTHOR

Jacques Colinge

 splitPeptSpectraAtRandom.pl - Splits a .peptSpectra.xml file in two .peptSpectra.xml files