targeted-feature-extraction-from-lcms
Summary
Extract metabolic features from LC-MS data by matching detected m/z and retention time peaks against a user-supplied target list with specified mass and temporal tolerances. This skill is used when you have a predefined set of metabolite targets and need to retrieve their intensity values across multiple samples.
When to use
You have a curated target list of m/z values, retention times, and identifiers for specific metabolites of interest, and you want to extract only those features from LC-MS data (mzML or netCDF format) rather than performing untargeted feature discovery. This is appropriate for hypothesis-driven metabolomics studies where you monitor a known set of compounds across a cohort.
When NOT to use
- You are performing untargeted metabolomics and want to discover all metabolic features without a predefined list — use MS1 peak picking or MS2 recognition instead.
- Your input is already an aligned feature table from another tool — targeted extraction is designed for raw LC-MS data.
- You are processing full-scan or DIA (data-independent acquisition) datasets without precursor m/z and retention time data.
Inputs
- Raw LC-MS data files (mzML or netCDF format)
- User-supplied target list (CSV or tabular format with m/z, retention time, and optional identifiers)
Outputs
- Feature table (CSV or tabular format with rows=features, columns=samples/measurements and m/z, retention time, intensity values)
- Compiled extracted features matching the target list
How to apply
Load raw LC-MS data (mzML or netCDF) and a target list (containing m/z, retention time, and optional identifiers) into the JPA R package. Apply the targeted-list extraction module to match features in the LC-MS data against targets within user-defined m/z and retention time tolerances (e.g., ±10 ppm for m/z, ±60 seconds for retention time). The module returns features that fall within these windows and compiles them into a feature table with rows as features and columns as samples, m/z, retention time, and intensity values. The extracted feature table can then be exported as CSV for downstream statistical analysis.
Related tools
- JPA (R package that implements the targeted-list extraction module to match LC-MS features against user-supplied targets and compile extracted feature tables) — https://github.com/HuanLab/JPA.git
- R (Programming language and environment for running JPA and executing the targeted extraction workflow)
- XCMS (Embedded within JPA for preprocessing and feature alignment prior to targeted extraction) — https://rdrr.io/bioc/xcms/man/
Evaluation signals
- Feature table contains only m/z and retention time values that fall within the specified tolerances of the supplied target list.
- Number of extracted features matches or is less than the number of targets (some targets may not be detected in all samples).
- Feature table columns include sample identifiers, m/z, retention time, and intensity values with no missing required fields.
- Intensity values are non-negative and within the expected range for the LC-MS instrument used.
- CSV export is valid and can be loaded without parsing errors into downstream analysis tools.
Limitations
- Extracted features are only returned if they fall within user-defined m/z and retention time tolerances; targets outside those windows will not be detected.
- The skill requires accurate m/z and retention time values in the target list; errors in the target list will lead to missed or incorrectly matched features.
- Isobaric or near-isobaric compounds may be conflated if they co-elute or fall within the retention time tolerance window.
- Do not use this function when processing full-scan or DIA datasets as noted in the JPA documentation.
Evidence
- [other] How does the JPA targeted-list extraction module identify and extract metabolic features that match a user-supplied target list from LC-MS data?: "JPA targeted-list extraction module identify and extract metabolic features that match a user-supplied target list from LC-MS data"
- [other] Apply the JPA targeted-list extraction module to match features in the LC-MS data against the target list, retrieving features within specified m/z and retention time tolerances.: "Apply the JPA targeted-list extraction module to match features in the LC-MS data against the target list, retrieving features within specified m/z and retention time tolerances"
- [other] Compile extracted features into a feature table (rows = features, columns = samples/measurements and m/z, retention time, intensity values).: "Compile extracted features into a feature table (rows = features, columns = samples/measurements and m/z, retention time, intensity values)"
- [readme] Part 4: Extracting features using a targeted list: "Part 4: Extracting features using a targeted list"
- [readme] JPA is a comprehensive and integrated metabolomics data processing software. It extract both Gaussian and non-Gaussian shaped metabolic features. It also performs sample alignment, adduct and metabolite annotations.: "JPA is a comprehensive and integrated metabolomics data processing software. It extract both Gaussian and non-Gaussian shaped metabolic features"
1---2name: targeted-feature-extraction-from-lcms3description: Use when you have a curated target list of m/z values, retention times, and identifiers for specific metabolites of interest, and you want to extract only those features from LC-MS data (mzML or netCDF format) rather than performing untargeted feature discovery.4license: CC-BY-4.05---67# targeted-feature-extraction-from-lcms89## Summary1011Extract metabolic features from LC-MS data by matching detected m/z and retention time peaks against a user-supplied target list with specified mass and temporal tolerances. This skill is used when you have a predefined set of metabolite targets and need to retrieve their intensity values across multiple samples.1213## When to use1415You have a curated target list of m/z values, retention times, and identifiers for specific metabolites of interest, and you want to extract only those features from LC-MS data (mzML or netCDF format) rather than performing untargeted feature discovery. This is appropriate for hypothesis-driven metabolomics studies where you monitor a known set of compounds across a cohort.1617## When NOT to use1819- You are performing untargeted metabolomics and want to discover all metabolic features without a predefined list — use MS1 peak picking or MS2 recognition instead.20- Your input is already an aligned feature table from another tool — targeted extraction is designed for raw LC-MS data.21- You are processing full-scan or DIA (data-independent acquisition) datasets without precursor m/z and retention time data.2223## Inputs2425- Raw LC-MS data files (mzML or netCDF format)26- User-supplied target list (CSV or tabular format with m/z, retention time, and optional identifiers)2728## Outputs2930- Feature table (CSV or tabular format with rows=features, columns=samples/measurements and m/z, retention time, intensity values)31- Compiled extracted features matching the target list3233## How to apply3435Load raw LC-MS data (mzML or netCDF) and a target list (containing m/z, retention time, and optional identifiers) into the JPA R package. Apply the targeted-list extraction module to match features in the LC-MS data against targets within user-defined m/z and retention time tolerances (e.g., ±10 ppm for m/z, ±60 seconds for retention time). The module returns features that fall within these windows and compiles them into a feature table with rows as features and columns as samples, m/z, retention time, and intensity values. The extracted feature table can then be exported as CSV for downstream statistical analysis.3637## Related tools3839- **JPA** (R package that implements the targeted-list extraction module to match LC-MS features against user-supplied targets and compile extracted feature tables) — https://github.com/HuanLab/JPA.git40- **R** (Programming language and environment for running JPA and executing the targeted extraction workflow)41- **XCMS** (Embedded within JPA for preprocessing and feature alignment prior to targeted extraction) — https://rdrr.io/bioc/xcms/man/4243## Evaluation signals4445- Feature table contains only m/z and retention time values that fall within the specified tolerances of the supplied target list.46- Number of extracted features matches or is less than the number of targets (some targets may not be detected in all samples).47- Feature table columns include sample identifiers, m/z, retention time, and intensity values with no missing required fields.48- Intensity values are non-negative and within the expected range for the LC-MS instrument used.49- CSV export is valid and can be loaded without parsing errors into downstream analysis tools.5051## Limitations5253- Extracted features are only returned if they fall within user-defined m/z and retention time tolerances; targets outside those windows will not be detected.54- The skill requires accurate m/z and retention time values in the target list; errors in the target list will lead to missed or incorrectly matched features.55- Isobaric or near-isobaric compounds may be conflated if they co-elute or fall within the retention time tolerance window.56- Do not use this function when processing full-scan or DIA datasets as noted in the JPA documentation.5758## Evidence5960- [other] How does the JPA targeted-list extraction module identify and extract metabolic features that match a user-supplied target list from LC-MS data?: "JPA targeted-list extraction module identify and extract metabolic features that match a user-supplied target list from LC-MS data"61- [other] Apply the JPA targeted-list extraction module to match features in the LC-MS data against the target list, retrieving features within specified m/z and retention time tolerances.: "Apply the JPA targeted-list extraction module to match features in the LC-MS data against the target list, retrieving features within specified m/z and retention time tolerances"62- [other] Compile extracted features into a feature table (rows = features, columns = samples/measurements and m/z, retention time, intensity values).: "Compile extracted features into a feature table (rows = features, columns = samples/measurements and m/z, retention time, intensity values)"63- [readme] Part 4: Extracting features using a targeted list: "Part 4: Extracting features using a targeted list"64- [readme] JPA is a comprehensive and integrated metabolomics data processing software. It extract both Gaussian and non-Gaussian shaped metabolic features. It also performs sample alignment, adduct and metabolite annotations.: "JPA is a comprehensive and integrated metabolomics data processing software. It extract both Gaussian and non-Gaussian shaped metabolic features"