OpenSwathHelper
- class pyopenms.OpenSwathHelper
Bases:
objectCython implementation of _OpenSwathHelper
Original C++ documentation is available here
- __init__()
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: OpenSwathHelper) None
Methods
Overload:
checkSwathMapAndSelectTransitions(self, exp, ...)computePrecursorId(self, ...)Computes unique precursor identifier
estimateRTRange(self, exp)Computes the min and max retention time value
- checkSwathMapAndSelectTransitions(self, exp: MSExperiment, targeted_exp: TargetedExperiment, transition_exp_used: TargetedExperiment, min_upper_edge_dist: float) bool
- computePrecursorId(self, transition_group_id: Union[bytes, str, String], isotope: int) Union[bytes, str, String]
Computes unique precursor identifier
Uses transition_group_id and isotope number to compute a unique precursor id of the form “groupID_Precursor_ix” where x is the isotope number, e.g. the monoisotopic precursor would become “groupID_Precursor_i0”
- Parameters
transition_group_id – Unique id of the transition group (peptide/compound)
isotope – Precursor isotope number
- Returns
Unique precursor identifier
- estimateRTRange(self, exp: LightTargetedExperiment) List[float, float]
Computes the min and max retention time value
Estimate the retention time span of a targeted experiment by returning the min/max values in retention time as a pair
- Returns
A std pair that contains (min,max)