[spctools-discuss] decode and uncompress mzXML 3.1 peaks (zlib) in perl

2010-04-08 Thread jcmatese
Hi All, Is there a documentation or recipe for decoding zlib compressed peaks for mxXML version 3.1? I had been using a variation of a perl recipe provided by Zack Booth Simpson and John Prince, documented here: http://sashimi.sourceforge.net/schema_revision/mzXML_2.1/Doc/mzXML_2.1_tutorial.pdf

Re: [spctools-discuss] decode and uncompress mzXML 3.1 peaks (zlib) in perl

2010-04-08 Thread Brian Pratt
Actually you decode the base64 to binary data, then decompress compressedLen bytes of that data to get the binary peaks info you're already used to dealing with. For an example have a look at * http://sashimi.sourceforge.net/trunk/jrap/sax2/src/org/systemsbiology/jrap/SAX2ScanHandler.java * Not