-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directly reading Thermo .raw files #9
Comments
I would love to add that sort of functionality. Batmass uses MSFTBX library to read files, that will need to be added there. Thermo has almost released a new set of .NET libraries for reading their data files, so I was waiting for that to become fully official. |
Very cool about Thermo's new libraries. I didn't know about that. I presume that these .net libraries can be called (easily/robsutly) from Java? Would it work even on Linux systems? Regarding Sciex, I had one idea and was wondering your thought on it: what if there were a Java library that used the same dlls that come with msconvert to access the Sciex wiff files? Obviously, this would only work on Windows systems, but it would at least give individuals an option to read directly from the Sciex wiff files, using Java, and without having to go through the somewhat slow msconvert process. Regarding Thermo again, do you have any guestimate (high level estimate is fine) when the MSFTX library might support reading from Thermo files? And, this is differrent question really, but any thoughts on how the MSFTBS library compares to a new Java library being built for protoemics: https://msdk.github.io/ |
@gsaxena888 it will, it has been tested to work with Mono instead of .NET. Regarding MSDK - I'm taking part in its development as well. We've just completed updated mzml and netcdf parsers writers. Sucking in all MS1 scans with MSFTBX is as easy as: MZMLFile source = new MZMLFile(path);
ScanCollectionDefault scans = new ScanCollectionDefault();
scans.setDataSource(source);
scans.loadData(LCMSDataSubset.MS1_WITH_SPECTRA); When this last call returns you will have all MS1 scans loaded into the data structure. final TreeMap<Integer, IScan> num2scan = scans.getMapMsLevel2index().get(1).getNum2scan();
for (Map.Entry<Integer, IScan> e : num2scan.entrySet()) {
int num = e.getKey();
IScan scan = e.getValue();
} |
I saw that BatMass was thinking of being able to support direct reading of Thermo .raw files. Is this still true? If so, would it be possible to achieve this reasonably quickly/stably by calling the already-built Go library through Java (and some sort of Java-Go interface library)? (https://pkelchte.wordpress.com/2013/11/25/unthermo/ and https://godoc.org/bitbucket.org/proteinspector/ms/unthermo -- There's also probably a paper somehwere on this). Or, would it be easy to somehow convert the Go code to Java (to avoid the hard-to-debug library interface problems?)
If the above is happenning, would you also have any plans to do the same for Sciex .wiff files? (I know that Sciex has for the last two years provided unofficially a linux program that can convert their wiff files to XML (I think mzML, but it could be mzXML) so presumably there exists a way to write a nonWindows program to access their .wiff files.
The text was updated successfully, but these errors were encountered: