michabirklbauer / internal_ions

https://internal-ions.vercel.app/
1 stars 0 forks source link

Duplicated spectra in spectrum-centric dataframe #48

Open veitveit opened 3 months ago

veitveit commented 3 months ago

At least happening for the example dataset.

image

michabirklbauer commented 1 month ago

So this seems to be an issue related to fragannot, the original result returned by fragannot contains several entries for every spectrum (that sometimes are the same and sometimes different). Therefore we get these duplicates - which btw also happens for the fragment-centric dataframe.

michabirklbauer commented 1 month ago

This is the original result from fragannot result.json

michabirklbauer commented 1 month ago

I can add a filter that keeps track of everything that was already added to the dataframes to avoid duplicates, but maybe we should check if everything is right with fragannot (e.g. why we get these duplicate results)?