OpenSearchModificationAnalysis#
- class pyopenms.OpenSearchModificationAnalysis#
Bases:
objectUtility class for analyzing modification patterns in open search results
- __init__() None#
- __init__(arg: pyopenms.OpenSearchModificationAnalysis, /) None
Methods
__init__()analyzeModifications(peptide_ids[, ...])Complete analysis workflow: analyze patterns and map to modifications
analyzeModificationsWithStatistics(peptide_ids)Complete analysis returning structured statistics tables
analyzeResidueFrequency(peptide_ids, delta_mass)Analyze which amino acid residues are associated with a delta mass
generatePTMStatistics(peptide_ids[, ...])Generate PTM statistics table with residue localization
writeDeltaMassStatistics(stats, output_file)Write delta mass statistics to a TSV file
writePTMStatistics(stats, output_file)Write PTM statistics to a TSV file
- analyzeModifications(peptide_ids: pyopenms.PeptideIdentificationList, precursor_mass_tolerance: float = 5.0, precursor_mass_tolerance_unit_ppm: bool = True, use_smoothing: bool = False, output_file: str = '') list[pyopenms.ModificationSummary]#
Complete analysis workflow: analyze patterns and map to modifications
- analyzeModificationsWithStatistics(peptide_ids: pyopenms.PeptideIdentificationList, precursor_mass_tolerance: float = 5.0, precursor_mass_tolerance_unit_ppm: bool = True, use_smoothing: bool = False, output_file: str = '') pyopenms.OpenSearchAnalysisResult#
Complete analysis returning structured statistics tables
- analyzeResidueFrequency(peptide_ids: pyopenms.PeptideIdentificationList, delta_mass: float, tolerance: float = 0.01) dict[str, int]#
Analyze which amino acid residues are associated with a delta mass
- generatePTMStatistics(peptide_ids: pyopenms.PeptideIdentificationList, precursor_mass_tolerance: float = 5.0, precursor_mass_tolerance_unit_ppm: bool = True) pyopenms.PTMStatistics#
Generate PTM statistics table with residue localization
- writeDeltaMassStatistics(stats: pyopenms.DeltaMassStatistics, output_file: str) None#
Write delta mass statistics to a TSV file
- writePTMStatistics(stats: pyopenms.PTMStatistics, output_file: str) None#
Write PTM statistics to a TSV file