splitPeptSpectraAtRandom.pl - Splits a .peptSpectra.xml file in two .peptSpectra.xml files
splitPeptSpectraAtRandom.pl [options] peptSpectra.xml files
Use splitPeptSpectraAtRandom.pl -h
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.
./splitPeptSpectraAtRandom.pl --proportion=0.5 --out=test example.peptSpectra.xml