Skip to content

Update adducts regex #22

@Adafede

Description

@Adafede

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

Metadata

Metadata

Assignees

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions