From: Brian P. <bs...@pr...> - 2015-11-17 22:12:39
|
+1 for Matt's advice. Once you have that buffer base64 decoded, you still have few decisions to make: Does it need to be decompressed (and if so, how was it compressed? zlib? numpress?)? Once you have done that, is it 32 bit or 64 bit representation? Much better to find some existing code if possible. On Tue, Nov 17, 2015 at 1:47 PM, Chambers, Matthew < mat...@gm...> wrote: > Hi Eric, > > I recommend looking at one of the existing python-based mzML/mzXML parsers > (I know there are a few). The encoding in mzXML and mzML is quite flexible > (zlib-compressed or not, 64-bit or 32-bit, and in mzML, there's now > numpress encoding). Don't reinvent the wheel unless you have no choice. :) > > Hope this helps, > -Matt > > > > > On 11/17/2015 3:39 PM, Eric Roden wrote: > > Hi Support, > > I'm trying to build a tool that will use mzXML files generated by your > MSConvert too and I'm having some difficulties. Originally all the mzXML > files I used were from a Thermo machine and were converted from .raw to > mzXML by MM File Convert3 (what my lab has used for a long time but appears > to be no longer supported). We wanted to test the tool on data from other > machines as well before releasing it so next we tried data from a Waters > machine. The .raw from the Waters couldn't be converted using MM so I > converted it with MSConvert but when I tried to run the mzXML through my > script it didn't work. These two converters appear to be using different > methods to encode the data from the .raw file into the mzXML and the method > I was using to decode it originally doesn't work with the MSConvert > encoding. What type of encoding is used for MSConvert and how best can I > decode it? I'm working in Python 2.7 and attached are the parts of my > script that do the decoding (from what I can tell, I'm new to encoding and > decoding all together) and I've also attached what input the two methods in > the code are receiving as parameters. I just found this chunk of code > online so I'm not really sure what it's doing. > > Really any help you can provide would be much appreciated, I've been stuck > on this for a couple days now. > > Thanks! > Eric > > -- > *Eric Roden* > *University of Minnesota - Twin Cities* > BSB Management Information Systems > Minors: Computer Science and Marketing > > Phone: 262-305-9757 > Email: <rod...@um...>rod...@um... > LinkedIn > <http://www.linkedin.com/profile/view?id=200804235&trk=nav_responsive_tab_profile> > > > > > ------------------------------------------------------------------------------ > Give your users amazing mobile app experiences with Intel XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2-D/3-D games for multiple OSs. > Then get your creation into app stores sooner, with many ways to monetize. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 > _______________________________________________ > proteowizard-support mailing list > pro...@li... > https://lists.sourceforge.net/lists/listinfo/proteowizard-support > > |