Reading the mzxml file

7 visualizaciones (últimos 30 días)
Chi Cheung
Chi Cheung el 26 de Feb. de 2015
Respondida: Luuk van Oosten el 11 de Abr. de 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 comentario
Ricardo Borges
Ricardo Borges el 22 de Feb. de 2016
I'm having the same problem. Is there any requirement for the conversion of raw data into mzXML using MSconvert?

Iniciar sesión para comentar.

Respuestas (1)

Luuk van Oosten
Luuk van Oosten el 11 de Abr. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by