OpenMS
2.7.0
|
Splits an mzML file into multiple parts
This utility will split an input mzML file into N parts, with an approximately equal number of spectra and chromatograms in each part. N is set by the parameter parts
; optionally only spectra (parameter no_chrom
) or only chromatograms (parameter no_spec
) can be transferred to the output.
Alternatively to setting the number of parts directly, a target maximum file size for the parts can be specified (parameters size
and unit
). The number of parts is then calculated by dividing the original file size by the target and rounding up. Note that the resulting parts may actually be bigger than the target size (due to meta data that is included in every part) or that more parts than necessary may be produced (if spectra or chromatograms are removed via no_spec/
.no_chrom
)
This tool cannot be used as part of a TOPPAS workflow, because the number of output files is variable.
The command line parameters of this tool are:
MzMLSplitter -- Splits an mzML file into multiple parts Full documentation: http://www.openms.de/doxygen/release/2.7.0/html/UTILS_MzMLSplitter.html Version: 2.7.0 Sep 13 2021, 20:58:47, Revision: 9110e58 To cite OpenMS: Rost HL, Sachsenberg T, Aiche S, Bielow C et al.. OpenMS: a flexible open-source software platform for mass spectrometry data analysis. Nat Meth. 2016; 13, 9: 741-748. doi:10.1038/nmeth.3959. Usage: MzMLSplitter <options> Options (mandatory options marked with '*'): -in <file>* Input file (valid formats: 'mzML') -out <file> Prefix for output files ('_part1of2.mzML' etc. will be appended; default: same as 'in' without the file extension) -parts <num> Number of parts to split into (takes precedence over 'size' if set) (default: '1' min: '1') -size <num> Approximate upper limit for resulting file sizes (in 'unit') (default: '0' min: '0') -unit <choice> Unit for 'size' (base 1024) (default: 'MB' valid: 'KB', 'MB', 'GB') -no_chrom Remove chromatograms, keep only spectra. -no_spec Remove spectra, keep only chromatograms. Common UTIL options: -ini <file> Use the given TOPP INI file -threads <n> Sets the number of threads allowed to be used by the TOPP tool (default: '1') -write_ini <file> Writes the default configuration file --help Shows options --helphelp Shows all options (including advanced)
INI file documentation of this tool: