Skip to content
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

Convert Library "AnnotFormula" to MassBank record #15

Open
sneumann opened this issue Oct 1, 2014 · 1 comment
Open

Convert Library "AnnotFormula" to MassBank record #15

sneumann opened this issue Oct 1, 2014 · 1 comment

Comments

@sneumann
Copy link
Member

sneumann commented Oct 1, 2014

AnnotFormula: 43.0291;  C1H3N2
AnnotFormula: 51.0229;  C4H3
AnnotFormula: 53.0134;  C2H1N2
AnnotFormula: 55.0291;  C2H3N2

into format like http://www.massbank.eu/MassBank/jsp/FwdRecord.jsp?id=EA281801

PK$ANNOTATION: m/z tentative_formula formula_count mass error(ppm)
  70.0652 C4H8N+ 1 70.0651 1.2
  110.9997 C6H4Cl+ 1 110.9996 0.86
  117.0573 C8H7N+ 1 117.0573 0.08

The AnnotFormula shows "uncharged" fragment formulas, EA has added "+/-" at the end.

@schymane
Copy link
Member

schymane commented Oct 1, 2014

MassBank Record Style:
Line 1 defines the record format of line 2 or later lines. Examples
PK$ANNOTATION: m/z tentative_formula formula_count mass error(ppm)
PK$ANNOTATION: m/z num {formula unsaturation mass error(ppm)}
PK$ANNOTATION: m/z num {type mass error(ppm) formula}
PK$ANNOTATION: m/z structure num {type mass error(ppm) formula}

Charge can be auto-implied from ION_MODE.
If we don't have the error for AnnotFormula, how about:
PK$ANNOTATION: m/z formula
If structure present, then e.g.
PK$ANNOTATION: m/z formula structure
or
PK$ANNOTATION: m/z formula putative_smiles
170.0042 C7H7O3S- [CH2]c1ccc(cc1)S(=O)([O-])=O
183.0115 C8H7O3S- O=S([O-])(=O)c1ccc(C=C)cc1
as in
http://www.massbank.eu/MassBank/jsp/Dispatcher.jsp?type=disp&id=LIT00035&site=24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants