Reading the mzxml file

3 visualizzazioni (ultimi 30 giorni)
Chi Cheung
Chi Cheung il 26 Feb 2015
Risposto: Luuk van Oosten il 11 Apr 2016
I use the mzxmlread to extract the data.
It occurred error:
??? Error using ==> typecastc
Too few input values to make output type.
Error in ==> typecast at 31
out = typecastc(in, lower(datatype));
Error in ==> mzxmlread>processPeaks at 716
mzpeaks = swapbytes(typecast(peaks,'single'));
Error in ==> mzxmlread>parseScan at 561
out.(elementNameScan)(countScan+1).peaks.mz
=
processPeaks(b64.decode(data),32);
Error in ==> mzxmlread at 430
parseScan;
Is there any problem for data file??
Thanks for help.
  1 Commento
Ricardo Borges
Ricardo Borges il 22 Feb 2016
I'm having the same problem. Is there any requirement for the conversion of raw data into mzXML using MSconvert?

Accedi per commentare.

Risposte (1)

Luuk van Oosten
Luuk van Oosten il 11 Apr 2016
Dear Chi, Ricardo,
The problem might occur due to the fact that your mzXML file is improperly generated.
Note that MATLAB is only able to handle mzXML files that are conform the 2.1 specifications or earlier. Try to generate your mzXML file with an older version and try again... I believe that you can find those versions somewhere over here.
That might solve it.

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by