← All apps

mzML Polarity Splitter

Split polarity-switching mzML files into a positive-mode file and a negative-mode file. Drop as many files as you like; they are processed in parallel and each output is a complete, standard (indexed, if the input was) mzML. Everything runs in your browser — your files never leave your machine.

Starting workers…

Settings

Folders apply to the zip and to “Save all to folder”. Single downloads always use the suffix.
Drop mzML files here
.mzML or .mzML.gz · or click to choose · try an example

Batch

Files
0
Done
0
Failed
0
Positive spectra
0
Negative spectra
0
Size in
—

Files

Input fileStatusSpectraPositiveNegative No polarityInTimeDownload

How scans are sorted. Each spectrum goes by its polarity term: positive scan (MS:1000130) or negative scan (MS:1000129), including when it comes from a referenceable parameter group, or the older scan polarity term. Spectra with neither go into a third _nopolarity file, which is only written when there are any.

What changes in the file. Spectra are copied byte for byte. Each output renumbers the spectra's index attributes from 0, sets the spectrum count, and records a data filtering step in the data processing list. Indexed mzML gets a rebuilt offset index and checksum. Spectrum ids are kept, so precursor references to MS1 scans still resolve. Chromatograms (TIC, BPC, SRM) are copied into every output unchanged, as msconvert's polarity filter does; a TIC from a switching run still sums both polarities. A .mzML.gz input is read compressed and written out uncompressed. Each file is read twice: once to count the scans of each polarity, once to write the outputs.