Closed Paeger closed 1 year ago
Hi @Paeger I will take a look at the tomorrow and see where the issue is coming from. It's too late in the day here for tracing down that chemistry tonight.
Okay. I've identified the issue, there was a problem with how we handled thiols that were at the 5' end of NASequence
s where we used getSuffix
. I'm putting together a fix now.
@Paeger this is fixed in the latest nightly. Thanks again for finding it, and the detailed write-up.
Hi @poshul, many thanks for the quick fix. I will give it a go tomorrow.
@poshul , w and x ions are now correct. I realized though, that the mass of (a-B) ions are wrong. I will open a new issue.
Using pyopenms_nightly-3.0.0.dev20230125 on Windows 10
Code to reproduce error:
which outputs: RNA Oligo [dA][dA][dA] has molecular formula C30H37N15O11P2S2 and length 3 Mono isotopic weight: 909.1713656203 Average weight: 909.7901821802013 w2- ion [dA][dA] has mz 659.0956580874043 ----> should be 675.07 w2- ion [dA][dA] has molecular formula C20H25N10O10P2S1 ----> Missing 1x sulfur, 1x oxygen too many) x2- ion [dA][dA] has mz 641.0850930236044 ----> should be 657.06 x2- ion [dA][dA] has molecular formula C20H23N10O9P2S1 ----> Missing 1x sulfur, 1x oxygen too many) y2- ion [dA][dA] has mz 579.1293265655044 ----> Correct y2- ion [dA][dA] has molecular formula C20H24N10O7P1S1 ----> Correct
z- ion is also correct...