You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings. Thanks for the great work on this project. I wanted to raise this issue in case it's not already known.
For some compounds, the isotopic_variants function doesn't seem to compute certain lighter isotopes. I found this in particular for compounds involving tin Sn. In particular, note the isotope pattern for tin as follows:
The most abundant isotope has mass 119.9, but the next most abundant isotope is lighter (117.9). When we use isotopic_variants on just this atom, we get
The lighter isotopes don't show up, but they should.
I'm not sure where in the code this problem arises. I will note that the BRAIN algorithm says to start with the lightest isotope, but maybe instead, your code starts with the most abundant isotope, and only then produces isotope peaks larger than that?
The text was updated successfully, but these errors were encountered:
This implementation starts from the monoisotopic form, and doesn't correctly use the lighter isotopes, which was a consequence of the C++ implementation I used as a reference. The problem partially resides in compute_isotopic_coefficients in the C implementation (what is used by default). The Python implementations are more scattered and hard to locate.
I don't have the time to investigate this further myself. If you're interested in looking into it, it'd be much appreciated.
Greetings. Thanks for the great work on this project. I wanted to raise this issue in case it's not already known.
For some compounds, the
isotopic_variants
function doesn't seem to compute certain lighter isotopes. I found this in particular for compounds involving tinSn
. In particular, note the isotope pattern for tin as follows:The most abundant isotope has mass 119.9, but the next most abundant isotope is lighter (117.9). When we use
isotopic_variants
on just this atom, we getThe lighter isotopes don't show up, but they should.
I'm not sure where in the code this problem arises. I will note that the BRAIN algorithm says to start with the lightest isotope, but maybe instead, your code starts with the most abundant isotope, and only then produces isotope peaks larger than that?
The text was updated successfully, but these errors were encountered: