To convert a Thermo RAW file to a MATLAB .mat file, you can use the msconvert tool from the ProteoWizard package. Here's an example command to run in the command prompt:
main.m160 chars2 lines
This command will convert the input_file.raw to mzXML and use ProteoWizard's peak picking algorithm to filter out low-intensity peaks. It also specifies a mzInterval of 0.1, meaning the .mat file will use 0.1 Da-wide bins. Finally, it outputs the .mat file to the specified output_directory with the specified output_file name.
Note that ProteoWizard must be installed and added to your system's PATH environment variable for this command to work. Once the conversion is complete, you can load the .mat file into MATLAB using the "load" command.
gistlibby LogSnag