convertMSFiles | R Documentation |
Conversion of MS analysis files between several open and closed data formats.
MSFileFormats(algorithm = "pwiz", vendor = FALSE)
convertMSFiles(
files = NULL,
outPath = NULL,
dirs = TRUE,
anaInfo = NULL,
from = NULL,
to = "mzML",
overWrite = FALSE,
algorithm = "pwiz",
centroid = algorithm != "openms",
filters = NULL,
extraOpts = NULL,
PWizBatchSize = 1
)
algorithm |
Either |
vendor |
If |
files , dirs |
The |
outPath |
A character vector specifying directories that should be used
for the output. Will be re-cycled if necessary. If |
anaInfo |
An analysis info table used to
retrieve input files. Either this argument or |
from |
Input format (see below). These are used to find analyses when
|
to |
Output format: |
overWrite |
Should existing destination file be overwritten
( |
centroid |
Set to |
filters |
When |
extraOpts |
A |
PWizBatchSize |
When |
MSFileFormats
returns a character
with all supported
input formats (see below).
convertMSFiles
converts the data format of an analysis to
another. It uses tools from
ProteoWizard
(msConvert
command), OpenMS
(FileConverter
command) or Bruker DataAnalysis to perform the
conversion. Supported input and output formats include ‘mzXML’,
‘.mzML’ and several vendor formats, depending on which algorithm is
used.
convertMSFiles
(except if algorithm="bruker"
) uses multiprocessing to parallelize
computations. Please see the parallelization section in the handbook for
more details and patRoon options for configuration
options.
Possible output formats (to
argument) are
mzXML
and mzML
.
Possible input formats (from
argument) depend on the algorithm that
was chosen and may include:
thermo
: Thermo ‘.RAW’ files (only
algorithm="pwiz"
).
bruker
: Bruker ‘.d’, ‘.yep’, ‘.baf’ and
‘.fid’ files (only algorithm="pwiz"
or
algorithm="bruker"
).
agilent
: Agilent ‘.d’ files (only
algorithm="pwiz"
).
ab
: AB Sciex ‘.wiff’ files (only
algorithm="pwiz"
).
waters
Waters ‘.RAW’ files (only
algorithm="pwiz"
).
mzXML
/mzML
: Open format ‘.mzXML’/‘.mzML’
files (only algorithm="pwiz"
or algorithm="openms"
).
Note that the actual supported file formats of ProteoWizard depend on how it was installed (see here).
Rst2016patRoon
\insertRefChambers2012patRoon
## Not run:
# Use FileConverter of OpenMS to convert between open mzXML/mzML format
convertMSFiles("standard-1.mzXML", to = "mzML", algorithm = "openms")
# Convert all Thermo .RAW files in the analyses/raw directory to mzML and
# store the files in analyses/mzml. During conversion files are centroided by
# the peakPicking filter and only MS 1 data is kept.
convertMSFiles("analyses/raw", "analyses/mzml", dirs = TRUE, from = "thermo",
centroid = "vendor", filters = "msLevel 1")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.