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
Happy to take any pull requests.
Please note that JAVA Regexps need additional escaping to work, e.g. \ instead of , but the code for the pattern in MZTabConstants should contain the original regexp along with the JAVA version.
Dear all,
I think the current regex does not allow to parse some complex types of adducts, being mixes of isotopomers and adducts.
Part of what I would like to address is described in the last lines of https://skyline.ms/wiki/home/software/Skyline/page.view?name=adduct_descriptions ("Charge-Only Examples with Isotope Labels Described Only by Mass")
and it would be great to account for things like
[13C3]C3H12O6
at the same time.I think many of us got some slight different flavors of regex internally, so eventually let's discuss about the perfect only one? 😄
I will start with an attempt:
\\[(\\d*)M(?![a-z])(\\d*)([+-][\\w\\d].*)?.*\\](\\d*)([+-])?
@nilshoffmann
The text was updated successfully, but these errors were encountered: