MassQueryLanguage icon indicating copy to clipboard operation
MassQueryLanguage copied to clipboard

Add global filters

Open robinschmid opened this issue 4 years ago • 2 comments

Add global filters that are applied to the scans before searching for productions, neutral losses etc: Will speed up the queries and also remove the need to set the noiselevel for each signal. Especially good for noisy spectra or low res data where people need to use wider m/z tolerances.

possible query structure:

QUERY ... WHERE noiselevel=1000 .... QUERY ... WITH noiselevel=1000 WHERE ....

Simple

  • noiselevel=1000
  • noiselevel=1%
  • topsignals=100 (only consider the top 100

Advanced

  • deisotope=true (remove 13C isotopes)

robinschmid avatar Aug 17 '21 21:08 robinschmid

I think instead of implying that noise is bad, its better to simply put cutoff for whatever reason.

WHERE INTENSITY>1000 WHERE INTENSITYPERCENT>1 WHERE TOPNPEAKS=100

mwang87 avatar Aug 19 '21 18:08 mwang87

Sounds good. better than noise level. would it then be INTENSITY > 1000 or MININTENSITY=1000

robinschmid avatar Aug 22 '21 14:08 robinschmid