mass-spectrum-peak-detection
Summary
Automatic identification of peaks of interest from raw or processed mass spectrometry spectra via algorithmic detection and intensity-based ranking. This skill extracts structured peak annotations (m/z, intensity, confidence scores) from unprocessed spectral data to enable downstream species authentication and sample classification.
When to use
Apply this skill when you have raw or processed MS spectrum data (mz/intensity pairs) from direct infusion MS (DI-MS), ASAP-MS, or other high-throughput ambient ionization methods, and need to identify which m/z signals represent true peaks of interest rather than noise or baseline drift. Use it as the first analytical step before database scoring or peak annotation.
When NOT to use
- Input is already a curated feature table or peak list with pre-assigned identities — re-detection would be redundant.
- Spectrum data is severely corrupted, contains extreme instrument artifacts, or lacks sufficient dynamic range to distinguish signal from noise.
- The analysis goal is to perform database matching without intermediate peak annotation — some workflows may skip explicit peak detection.
Inputs
- raw MS spectrum data (mz/intensity pairs)
- processed MS spectrum data (mz/intensity pairs)
- data from DI-MS, ASAP-MS, or ambient ionization MS instruments
Outputs
- peak identifier table
- m/z values for detected peaks
- intensity measurements
- confidence scores per peak
- annotated peak list with structured metadata
How to apply
Load raw or processed MS spectrum data as mz/intensity pairs from the input file. Apply RapidMass's automatic peak detection algorithm to identify peaks of interest from the full spectrum. The algorithm ranks peaks by intensity and m/z values to distinguish genuine signals from background. Assign labels and confidence scores to each detected peak based on its intensity ranking relative to the overall spectrum distribution. Aggregate results into a structured output table with peak identifiers, m/z values, intensity measurements, and confidence scores. The detection rationale is grounded in intensity thresholding and m/z-based filtering to isolate species-characteristic signals from instrument noise.
Related tools
- RapidMass (Provides the automatic peak detection algorithm and integrated workflow for loading spectra, detecting peaks, and generating annotated output tables with m/z, intensity, and confidence scores.) — https://github.com/Katherine00689/RapidMass
- DI-MS (Direct infusion mass spectrometry instrument supported as a data source for peak detection.)
- ASAP-MS (Ambient ionization mass spectrometry instrument supported as a data source for peak detection.)
Evaluation signals
- All detected peaks have valid m/z values within the expected mass range for the instrument and sample type.
- Confidence scores are monotonically ranked by intensity; the highest-intensity peaks receive the highest confidence scores.
- Peak table schema is complete (peak_id, m/z, intensity, confidence_score) with no missing values.
- Detected peaks are reproducible across multiple runs on the same raw spectrum file (deterministic algorithm output).
- Visual inspection of detected peaks overlaid on the raw spectrum confirms they correspond to true local maxima and not baseline noise or instrument artifacts.
Limitations
- Peak detection performance depends on the quality and dynamic range of the input spectrum; low-quality or heavily noisy spectra may yield false positives or miss low-abundance species-characteristic signals.
- The algorithm is optimized for high-throughput ambient ionization methods (DI-MS, ASAP-MS) and may require tuning or validation for other MS methodologies.
- Confidence scores are derived from intensity ranking and m/z-based heuristics; they do not incorporate external validation data such as tandem MS fragmentation patterns or database matching scores.
Evidence
- [intro] The workflow and rationale for automatic peak detection.: "Load raw or processed MS spectrum data (mz/intensity pairs) from input file. 2. Apply RapidMass automatic peak detection algorithm to identify peaks of interest from the spectrum. 3. Assign labels"
- [readme] Software integration and scope of peak detection capability.: "the software provides automatic identification of interested MS peaks and supports data from multiple instruments, including DI-MS and ASAP-MS"
- [readme] User-facing output and accessibility of the peak detection feature.: "RapidMass features a user-friendly, visual interface, making it accessible to users without programming expertise"
- [readme] Supported instrument diversity for peak detection.: "Other high-throughput mass spectrometry such as ambient ionization mass spectrometry (AI-MS), laser desorption/ionization mass spectrometry (LDI-MS), and several modified MS methodologies can also be"
1---2name: mass-spectrum-peak-detection-23description: Use when you have raw or processed MS spectrum data (mz/intensity pairs) from direct infusion MS (DI-MS), ASAP-MS, or other high-throughput ambient ionization methods, and need to identify which m/z signals represent true peaks of interest rather than noise or baseline drift.4license: CC-BY-4.05---67# mass-spectrum-peak-detection89## Summary1011Automatic identification of peaks of interest from raw or processed mass spectrometry spectra via algorithmic detection and intensity-based ranking. This skill extracts structured peak annotations (m/z, intensity, confidence scores) from unprocessed spectral data to enable downstream species authentication and sample classification.1213## When to use1415Apply this skill when you have raw or processed MS spectrum data (mz/intensity pairs) from direct infusion MS (DI-MS), ASAP-MS, or other high-throughput ambient ionization methods, and need to identify which m/z signals represent true peaks of interest rather than noise or baseline drift. Use it as the first analytical step before database scoring or peak annotation.1617## When NOT to use1819- Input is already a curated feature table or peak list with pre-assigned identities — re-detection would be redundant.20- Spectrum data is severely corrupted, contains extreme instrument artifacts, or lacks sufficient dynamic range to distinguish signal from noise.21- The analysis goal is to perform database matching without intermediate peak annotation — some workflows may skip explicit peak detection.2223## Inputs2425- raw MS spectrum data (mz/intensity pairs)26- processed MS spectrum data (mz/intensity pairs)27- data from DI-MS, ASAP-MS, or ambient ionization MS instruments2829## Outputs3031- peak identifier table32- m/z values for detected peaks33- intensity measurements34- confidence scores per peak35- annotated peak list with structured metadata3637## How to apply3839Load raw or processed MS spectrum data as mz/intensity pairs from the input file. Apply RapidMass's automatic peak detection algorithm to identify peaks of interest from the full spectrum. The algorithm ranks peaks by intensity and m/z values to distinguish genuine signals from background. Assign labels and confidence scores to each detected peak based on its intensity ranking relative to the overall spectrum distribution. Aggregate results into a structured output table with peak identifiers, m/z values, intensity measurements, and confidence scores. The detection rationale is grounded in intensity thresholding and m/z-based filtering to isolate species-characteristic signals from instrument noise.4041## Related tools4243- **RapidMass** (Provides the automatic peak detection algorithm and integrated workflow for loading spectra, detecting peaks, and generating annotated output tables with m/z, intensity, and confidence scores.) — https://github.com/Katherine00689/RapidMass44- **DI-MS** (Direct infusion mass spectrometry instrument supported as a data source for peak detection.)45- **ASAP-MS** (Ambient ionization mass spectrometry instrument supported as a data source for peak detection.)4647## Evaluation signals4849- All detected peaks have valid m/z values within the expected mass range for the instrument and sample type.50- Confidence scores are monotonically ranked by intensity; the highest-intensity peaks receive the highest confidence scores.51- Peak table schema is complete (peak_id, m/z, intensity, confidence_score) with no missing values.52- Detected peaks are reproducible across multiple runs on the same raw spectrum file (deterministic algorithm output).53- Visual inspection of detected peaks overlaid on the raw spectrum confirms they correspond to true local maxima and not baseline noise or instrument artifacts.5455## Limitations5657- Peak detection performance depends on the quality and dynamic range of the input spectrum; low-quality or heavily noisy spectra may yield false positives or miss low-abundance species-characteristic signals.58- The algorithm is optimized for high-throughput ambient ionization methods (DI-MS, ASAP-MS) and may require tuning or validation for other MS methodologies.59- Confidence scores are derived from intensity ranking and m/z-based heuristics; they do not incorporate external validation data such as tandem MS fragmentation patterns or database matching scores.6061## Evidence6263- [intro] The workflow and rationale for automatic peak detection.: "Load raw or processed MS spectrum data (mz/intensity pairs) from input file. 2. Apply RapidMass automatic peak detection algorithm to identify peaks of interest from the spectrum. 3. Assign labels"64- [readme] Software integration and scope of peak detection capability.: "the software provides automatic identification of interested MS peaks and supports data from multiple instruments, including DI-MS and ASAP-MS"65- [readme] User-facing output and accessibility of the peak detection feature.: "RapidMass features a user-friendly, visual interface, making it accessible to users without programming expertise"66- [readme] Supported instrument diversity for peak detection.: "Other high-throughput mass spectrometry such as ambient ionization mass spectrometry (AI-MS), laser desorption/ionization mass spectrometry (LDI-MS), and several modified MS methodologies can also be"