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
Jacques Colinge
To install InSilicoSpectro, copy and paste the appropriate command in to your terminal.
cpanm
cpanm InSilicoSpectro
CPAN shell
perl -MCPAN -e shell install InSilicoSpectro
For more information on module installation, please visit the detailed CPAN module installation guide.