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

Skyline: Raised the peak truncation threshold #3361

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

brendanx67
Copy link
Contributor

The TransitionResults.Truncated and PrecursorResults.CountTruncated values have been reported as too sensitive for a while, especially for the Stellar which is often tuned to use very narrow retention time windows for scheduled data acquisition. These values are based on a height proportion threshold currently set to 0.01 or 1%. In the initial commit the value is set to 0.25 of 25%, i.e. quarter-max where 50% is half-max.

brendanx67 and others added 5 commits February 7, 2025 13:00
The TransitionResults.Truncated and PrecursorResults.CountTruncated values have been reported as too sensitive for a while, especially for the Stellar which is often tuned to use very narrow retention time windows for scheduled data acquisition.
These values are based on a height proportion threshold currently set to 0.01 or 1%.
In the initial commit the value is set to 0.25 of 25%, i.e. quarter-max where 50% is half-max.
- add TruncatedProportion to TransitionGroupChromInfo.Equals() and GetHashCode()
Copy link
Contributor

@nickshulman nickshulman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "ProportionTruncated" is simple enough that it should just be calculated in the getter for the property in PrecursorResult.
I don't think it's worth storing on the TransitionGroupChromInfo or writing out to the .sky file.

@@ -116,6 +116,8 @@ public double? RatioDotProduct {
public double? AverageMassErrorPPM { get { return ChromInfo.MassError; } }
[Format(NullValue = TextUtil.EXCEL_NA)]
public int? CountTruncated { get { return ChromInfo.Truncated; } }
[Format(Formats.STANDARD_RATIO, NullValue = TextUtil.EXCEL_NA)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to use Formats.Percent here instead of Formats.STANDARD_RATIO.
(There is also Formats.PEAK_AREA_NORMALIZED which is a percent with up to four decimal places)

@brendanx67
Copy link
Contributor Author

brendanx67 commented Feb 24, 2025

I think "ProportionTruncated" is simple enough that it should just be calculated in the getter for the property in PrecursorResult. I don't think it's worth storing on the TransitionGroupChromInfo or writing out to the .sky file.

Should we also do this for PrecursorResults.AverageMassErrorPPM? I was following that as an example. Seems like the two have very similar calculation overhead. Or do we need to have that in Panorama? It is worth remembering that anything not in the .sky file will generally not be available in Panorama by default, unless a user goes through the pain of creating a calculate annotation and forcing it back into the XML.

This has very low impact on the XML since I made it only get written when the truncation count is non-zero.

@nickshulman
Copy link
Contributor

This PR fails "TestDiaQeFullSearchTutorialExtra". I will update the expected numbers so that it passes.

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

Successfully merging this pull request may close these issues.

2 participants