mzmatch.ipeak.ExtractMassChromatogramsExtracts mass chromatograms (x-axis: RT; y-axis: Intensity) from 2D mass spectrometry data (LC/MS or GC/MS). The raw data is loaded from the open standard file formats (mzML, mzXML or mzData) and all of the individidual mass traces (M/Z +/- ppm over the whole scan range) are retrieved. When the option 'threshold' is defined, the individual mass traces are broken up into individual mass chromatograms (ie the isomers are separated). This is achieved by cutting peaks out of the mass trace where the threshold is reached (as a percentage of the most intense portion of the mass trace). This is an iterative process, where the sides are then analyzed in the same fashion.
Windows batch-file: SET JAVA=java -cp mzmatch.jar -da -dsa -Xmn1g -Xms1425m -Xmx1425m -Xss128k -XX:+UseParallelGC -XX:ParallelGCThreads=10 REM process a single file %JAVA% mzmatch.ipeak.ExtractMassChromatograms -v -ppm 3 -i file.mzXML -o file.peakml REM process multiple files and separate isomers %JAVA% mzmatch.ipeak.ExtractMassChromatograms -v -threshold 0.02 -ppm 3 -i raw\*.mzXML -o peaks\ -masstraces peaks\traces\References:
|-i [filename]||Option for the input files, which should be in one of the open standard file formats (mzML, mzXML or mzData) and contain data from a 2D mass spectrometry setup (LC/MS or GC/MS).
When this option has not been set, the input is read from the stdin (allowing for pipeline building). When a single input file is defined, the output '-o' should contain the output filename. When multiple input files are defined, the output '-o' should define an output directory.
For now only centroid input data is supported.
|-o <filename>||Option for the ouput file(s); refer to the option input '-i' for a description of behaviours with regards to multiple input files. The extracted mass chromatograms are written here in the PeakML format.
When this option has not been set the output is written to the standard output (works only when there is a single input file).Be sure to unset the verbose option when setting up a pipeline reading and writing from the standard in- and outputs.
|-masstraces <filename>||Optional output file where the mass traces are written (only useful when the option 'threshold' has been defined), which can be used to debug the mass trace breakup approach.|
|-label <filename>||Optional label for the file, which will be stored in the header of the resulting file. The label is used for display purposes in UI environments.|
|-threshold <double>||The percentage threshold value for breaking the mass traces up, as a percentage of the most intense portion of a mass trace. The threshold value is a percentage and required to be between 0 and 1.|
|-ppm <double>||The accuracy of the measurement in parts-per-milion. This value is used for the collection of the data-points belonging to a mass trace and needs to be reasonable for the equipment used to make the measurement (the LTQ-Orbitrap manages approximatetly 3 ppm).|
|-h||When this is set, the help is shown.|
|-v||When this is set, the progress is shown on the standard output.|