File Exchange

image thumbnail

Chromatography Toolbox

version (17.2 MB) by James Dillon
Open-source code for processing chromatography data in the MATLAB programming environment.


Updated 15 Apr 2018

View License on GitHub

Chromatography Toolbox takes an object-oriented approach to chromatography data processing using the MATLAB programming environment. Current features include:

1) File Conversion
2) Baseline Correction
3) Peak Detection
4) Peak Integration
5) Visualization

Supported file extensions include:
* Agilent (.D)
* Agilent (.MS)
* netCDF (.CDF)

Visit for more information about getting started.

Comments and Ratings (6)

I am trying to open a .RAW file using this toolbox. My .RAW file was created by the program "Total Chrome Navigator" running a Perkin-Elmer Clarus 500 gas chromatograph with a flame ionization detector. I installed the toolbox and declared the chromatography object but then get an error when trying to import the .RAW file. When the "import file" line runs a UI opens and I select the raw file, but then I get the following error:

Input data of type 'V.876176950' is currently unsupported.
[1/1] Error loading 'C:\Users\restofmypath\sample1.raw'
Unable to import selection

The full code is:

obj = Chromatography
data = obj.import('.RAW', 'progress', 'off');

This failed to load recently acquired Agilent ".D" chromatography files.

I suggest an edit in ExponentialGaussian.m, line 106 (after calculating the RMSDs):

--Omer Markovitch--

When trying to import .RAW files, I get the following message:

>> data=obj.import('.RAW')


Importing 1 files...

Format : .RAW

Input data of type 'V.66' is currently unsupported.
[1/1] Error loading '/Users/michaelwagner/Desktop/raw files/Len.raw'
Unable to import selection

data =

1x0 struct array with fields:

Is there anyway I can make these RAW files in V.66 type to a type that can be read by the toolbox?
I run experiments on a Thermo Q Exactive spectrometer. Not sure if this makes a difference. Thanks for any help!

Dear James Dillon, does your ImportMZXML function reads mzXML 3.1 format? If so, can I get the average of the whole chromatogram into a vector, and further into a matrix (from a batch of different analysis)?


SINA (view profile)


Fixed MATLAB File Exchange description.

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video