-
Notifications
You must be signed in to change notification settings - Fork 9
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
getMolecule produces wrong mass sometimes #22
Comments
I guess this is the mass of the most abundant isotope peak, which is not the monoisotopic.
That certainly would be a bug. I think there was a discussion with Corey Broeckling a while ago. Help welcome.
Yours Steffen
I blame Android for the brevity and typos
|
Hi Steffen, I'll have a look at the code. If it is in R I might be of help. If it is c++ then it gets difficult. My c++ skill are more or less non-existing. Cheers, Rico |
Hi Steffen, Tried the whole day to figure out where the monoisotopic mass was selected. I tried to understand the c++ code, but it's to complex for me to understand where this happens. Cheers, Rico |
Hi Steffen The $exactmass-value is not correct, however, the $isotopes m/z values are more correct: the monoisotopic peak is fine, but the first isotope has a larger error. Also the isotope distribution seems to diffeer between the Thermo output and the Rdisop-output. Are there any updates on this issue? getMolecule("C89H166O17P2", maxisotopes = 4)$isotopes |
@ricoderks The issue should be solved in PR #32.
which is reasonable since the isotopic fine structure of the example molecule is not too complicated for the first mass isotopomer.
I tracked the reason down to the precision of the abundances specified within Rdisop.
which yields for Rdisop:
an for the more precise elemental definitions:
@sneumann We can either live with the small error resulting from low precision in elemental definitions or we could update to more precise values, i.e. using NIST or enviPat as a source. Bests, Jan |
Hi,
I using
getMolecule()
to calculate the exact masses of lipids and now I noticed that it sometimes proceduces the wrong mass.Example:
The first one is correct, but the last one should be 1569.1600 (from LipidMaps.org)
The complete output is:
In the isotopes part it shows the correct mass!
Can you help me with this? I don't understand why this is happening.
Cheers, Rico
The text was updated successfully, but these errors were encountered: