MSCONVERT(1)
π MSCONVERT(1) β the glow-up edition π
okay bestie, so we're in the General Commands Manual corner of the terminal, and today's main character is msconvert. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
msconvert β literally just converts mass spectrometry data file formats. that's the whole job. she's a converter. she converts. π
π¦ SYNOPSIS π¦
msconvert [options] [filemasks]
that's it. that's the shape of her. options go brrr, then the filemasks. slay.
πΈ DESCRIPTION πΈ
so this manual page is here to give you the brief tea on the msconvert software that ships inside the libpwiz-tools package. π«Ά
this program lets you convert mass spectrometry data files from one format to another. format glow-up, basically. β¨
but listen β important one. because this version is built on the Free Software Debian platform, only conversions involving Free Software can be performed. that means not conversions involving proprietary Microsoft Windows-based dynamic linking libraries (dlls). no dlls, no drama. periodt.
π OPTIONS π
here come all of them, no skips, no cuts, full list, we don't gatekeep:
-v|--verboseβ spill the tea on everything. displays detailed processing progress information. π--helpβ shows you this message, plus extra detail on the filter options. the friend that explains things. π-f|--filelistfilename β uses the contents of filename, which is a file that lists filenames. yes, a list of files. very meta, we love her. π-o|--outdirdir β sets the output directory to dir ('-'means stdout, cute). by default the output directory is'.', aka the current working directory. home sweet home. π-c|--configfilename β sets the configuration file to filename. ποΈ--outfilefilename β overrides the name of the output file. she said "I'll name her." π-e|--extext β sets the extension of the output files to ext. can bemzMLormzXMLormgfortxt. pick your fighter. β--mzMLβ writes mzML format (this is the default, bestie). π--mzXMLβ writes mzXML format.--mgfβ writes mgf Mascot generic format. π§--textβ writes ProteoWizard internal text format.--ms1β writes MS1 format.--cms1β writes CMS1 format.--ms2β writes MS2 format.--cms2β writes CMS2 format.--64β sets default binary encoding to 64-bit precision (default, iconic).--32β sets default binary encoding to 32-bit precision.--mz64β encodes m/z values in 64-bit precision (default).--mz32β encodes m/z values in 32-bit precision.--inten64β encodes intensity values in 64-bit precision.--inten32β encodes intensity values in 32-bit precision (default).--noindexβ do not write index. she's going index-free, unbothered. π-i|--contactInfofilename β use filename for contact info. π-z|--zlibβ use zlib compression for binary data. squeezed. π«§-g|--gzipβ gzip the entire output file (this adds.gzto the filename, heads up).--filterarg β add a spectrum list filter. π§--mergeβ creates a single output file from multiple input files by merging file-level metadata and concatenating spectrum lists. she's a uniter, not a divider. π«Ά--simAsSpectraβ writes selected ion monitoring as spectra, not chromatograms.--srmAsSpectraβ writes selected reaction monitoring as spectra, not chromatograms.
π EXAMPLES π
convert data.RAW to data.mzXML
msconvert data.RAW --mzXML
put output file in my_output_dir
msconvert data.RAW -o my_output_dir
extract scan indices 5...10 and 20...25
msconvert data.RAW --filter "index [5,10] [20,25]"
extract MS1 scans only
msconvert data.RAW --filter "msLevel 1"
extract MSn scans for n>1
msconvert data.RAW --filter "msLevel 2-"
use a configuration file
msconvert data.RAW -c config.txt
π₯ RETURN VALUE π₯
the number of failed files. that's the exit vibe. if it's zero, we ate. π
π AUTHOR π
Filippo Rusconi <lopippo@debian.org> π
this manual page was written by Filippo Rusconi <lopippo@debian.org> (initial writing 05 december 2013). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3, published by the Free Software Foundation.
on a Debian system the complete text of the GNU General Public License version 3 can be found in the file /usr/share/common-licenses/GPL-3.
and that's the whole page, bestie β it's the MSCONVERT(1) manual page, living under the General Commands Manual, with that initial writing energy from 05 december 2013. now go convert something. mwah. πβ¨
π¦ where this page comes from
- debian bookworm: libpwiz-tools 3.0.18342-4+b1 Β· BSL-1.0
- ubuntu jammy: libpwiz-tools 3.0.18342-4build1 Β· BSL-1.0
- ubuntu noble: libpwiz-tools 3.0.18342-4.1build3 Β· BSL-1.0
- ubuntu resolute: libpwiz-tools 3.0.18342-4.2build1 Β· BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms