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

Extracting from specific scan filters #158

Closed
micro128 opened this issue Mar 28, 2023 · 2 comments
Closed

Extracting from specific scan filters #158

micro128 opened this issue Mar 28, 2023 · 2 comments

Comments

@micro128
Copy link

Hello:

I want to use the xic subcommand to get chromatograms from MS2. How can I extract chromatograms from specific scan filters?

Example Scan Filter:
ITMS + c NSI Full ms2 [email protected] [159.0000-1500.0000]

Thanks!

@caetera
Copy link
Collaborator

caetera commented Mar 28, 2023

Hi @micro128,

yes, it is possible. You just need to add the optional scan_filter property to the input JSON file. You can use any valid scan filter format. Please note, however, that only a basic validation is performed by TRFP, i.e., ensure the filter string is valid, otherwise you will end up with an empty XIC.

Please, see example below:

   {
      "mz":1352.3442055110409,
      "rt_start":14.0600881872,
      "rt_end":14.4167198290667,
      "tolerance":5,
      "tolerance_unit":"ppm",
      "comment":"MS2 only",
      "scan_filter":"ms2"
   },
   {
      "mz":1014.5099732499732,
      "rt_start":14.0600881872,
      "rt_end":14.4167198290667,
      "tolerance":5,
      "tolerance_unit":"ppm",
      "comment":"Only ion trap scans"
      "scan_filter":"ITMS"
   },
   {
      "mz":811.8094338933325,
      "rt_start":14.0600881872,
      "rt_end":14.4167198290667,
      "tolerance":5,
      "tolerance_unit":"ppm",
      "comment":"Complete scan filter"
      "scan_filter":"ITMS + c NSI Full ms2 [email protected] [159.0000-1500.0000]" 
   }
]

I will likely need to describe it better in the documentation.

@caetera
Copy link
Collaborator

caetera commented Sep 15, 2023

Closed for now, the readme was updates

@caetera caetera closed this as completed Sep 15, 2023
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