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…
| Input file | Status | Spectra | Positive | Negative | No polarity | In | Time | Download |
|---|
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.