CompoundDb
CompoundDb copied to clipboard
Define spectra table
Define the spectra database table to hold the spectrum data.
- [ ] Check what is provided in SDF format (spectra there?).
- [ ] Check what is provided by different providers (MoNa, HMDB)...
OK, so we'd need:
- spectrum_id
- compound_id
- polarity
- collision_energy
- predicted
- mz
- intensity
- splash
For now I'll keep all in one huge table. we could eventually later split the table into a ms_ms_spectrum and ms_ms_spectrum_metadata table
removed columns (redundant with compound table).
- precursor
- name
- formula
- inchi
- inchikey
- smiles
SPLASH?
? SPLASH? what do you mean with that @stanstrup ?
I meant this: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5515539/ It should be in the databases also I think.
Good point. HMDB provides these right away, so I'll import.
Note: for now I would just add MS/MS spectra and do not import NMR spectra yet... these will have anyway other fields and should then go eventually into another table.
Note this picks up issue #17