Closed jamesrco closed 7 years ago
Some further clarification: If I use a different combination of sample files to run the optimization routine, there are fewer (or no) m/z sort assumption errors. But, I cannot figure out why two files -- those indexed by mzXMLfiles[c(2,5)] -- appear to throw up the error, while the others don't. I can't figure out what is wrong with the particular scan #'s in those files (scan 121 in file 2, and scan 107 in file 5) that is causing the code to choke.
Can you put links to just the two offending files here ? Thanks, Steffen
Hi Steffen, Sure, no problem. mzXMLfiles[2]: https://github.com/vanmooylipidomics/LOBSTAHS/blob/master/Pt_H2O2_mzXML_ms1_pos/0_uM_H2O2/0uM_24h_Orbi_0473.mzXML mzXMLfiles[5]: https://github.com/vanmooylipidomics/LOBSTAHS/blob/master/Pt_H2O2_mzXML_ms1_pos/0_uM_H2O2/0uM_8h_Orbi_0472.mzXML Curious to see if you can figure out why the code is choking on the two particular scans in these files. Or, maybe it's a weird combination of these files together? Respectfully, Jamie
So the error comes from xcms, and has nothing to do with IPO.
I checked by putting the two files in a directory and runnign xs <- xcmsSet(method="centWave", ppm=5)
which worked (Linux, xcms_1.45.7). Of course, with unoptimised settings :-) So I'd say it must be other files.
But maybe this way you get the culprits faster than trying with IPO in the mix. Yours, Steffen
Thanks! Before I even began using IPO, I was able to create an xcmsSet with all 18 files in the dataset without any problem. So, I am confused as to why the error only seems to get thrown up when I'm running the optimization routine. Maybe there is something about those two files that conflicts with one of the parameter values that IPO is testing? Is that possible?
I can confirm that the 18 files in pos work in a single xcmsSet. Can you try without parallelisation ?
I will give it try today... May take a little while without any parallelization!
Hello there, I am attempting to use the IPO package to optimize some settings for an algal lipid dataset I'm working with. The .mzXML data files I use in the code below (the most "well-behaved" 4 of 18 total in the dataset) are online at https://github.com/vanmooylipidomics/LOBSTAHS/Pt_H2O2_mzXML_ms1_pos/0_uM_H2O2/ When I run the following code:
Things start working just fine:
It runs for a few hours. But then, I receive this error:
Any ideas what's happening? I am very excited about the idea of optimizing some of these parameters via objective functions, but I can't figure out what the problem is!
Thanks very much, in advance.
Jamie Collins Woods Hole Oceanographic Institution