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 perl, I know, but gets the idea across.

HTH
Brian

On Thu, Apr 8, 2010 at 9:52 AM, jcmatese <[email protected]> wrote:

> 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
>
> However, it does not account for compressionType="zlib" and
> compressedLen attributes.
>
> I cannot find much documentation on 3.1 (and compressionType and
> compressedLen).  I presume that one would just take the peaks-as-text
> string and inflate it (using some zlib package from CPAN, presumably)
> prior to decoding base64.
>
> Does anyone have a favorite recipe or a pointer to documentation
> similar to the 2.1 tutorial above (a tutorial for mzXML 3.1)?
>
> Thanks,
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "spctools-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<spctools-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/spctools-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spctools-discuss?hl=en.

Reply via email to