Cystag#574
Open
jgpavek wants to merge 7 commits into
Open
Conversation
trishorts
reviewed
May 23, 2022
| * Hence we do this correction that adds 0, 1, 2, or 3 to correct for the -1, -2, -3 that it will “likely” miss by. | ||
| */ | ||
|
|
||
| double neuCodeCorrection = Math.Round((this.lysine_count * 0.1667 - 0.4), 0, MidpointRounding.AwayFromZero) * Lollipop.MONOISOTOPIC_UNIT_MASS; |
| { | ||
| accepted = lysine_count >= Sweet.lollipop.min_lysine_ct && lysine_count <= Sweet.lollipop.max_lysine_ct | ||
| && intensity_ratio >= Convert.ToDouble(Sweet.lollipop.min_intensity_ratio) && intensity_ratio <= Convert.ToDouble(Sweet.lollipop.max_intensity_ratio); | ||
| accepted = (((lysine_count >= Sweet.lollipop.min_lysine_ct && lysine_count <= Sweet.lollipop.max_lysine_ct) && Sweet.lollipop.neucode_labeled) || |
| private void nUD_Missed_Ks_ValueChanged(object sender, EventArgs e) | ||
| { | ||
| Sweet.lollipop.maximum_missed_lysines = Convert.ToInt32(nUD_Missed_Ks.Value); | ||
| Sweet.lollipop.maximum_missed_cysteines = Convert.ToInt32(nUD_Missed_Ks.Value); |
| </Grid.ColumnDefinitions> | ||
| <Label Margin="0 0 0 0" Height="23" Grid.Column="0" Grid.Row="0" FontSize="11">K-Min</Label> | ||
| <Label Margin="0,0,0,0" Height="23" Grid.Column="0" Grid.Row="1" FontSize="11">K-Max</Label> | ||
| <TextBlock x:Name="AA_min_textblock" Text="K-Min" Margin="0 0 0 0" Height="23" Grid.Column="0" Grid.Row="0" FontSize="11" /> |
|
|
||
| if(cystag_labeled) | ||
| { | ||
| aaMasses.Add('C', 325.16816); |
| MT Common Variable | ||
| TG C | ||
| PP Anywhere. | ||
| CF C1 H2 S1 |
Contributor
There was a problem hiding this comment.
i think this formula is wrong if you want it to be negative
C-1 H-2 S-1
| ID MMTS Instead of Carbamidomethyl | ||
| MT Common Variable | ||
| TG C | ||
| PP Anywhere. |
Contributor
There was a problem hiding this comment.
do you have CF for this?
| this.lysine_count = Math.Abs(Convert.ToInt32(Math.Round((neuCodeHeavy.weighted_monoisotopic_mass - firstCorrection) / Lollipop.NEUCODE_LYSINE_MASS_SHIFT, 0, MidpointRounding.AwayFromZero))); | ||
| if(Sweet.lollipop.neucode_labeled) | ||
| { | ||
| this.lysine_count = Math.Abs(Convert.ToInt32(Math.Round((neuCodeHeavy.weighted_monoisotopic_mass - firstCorrection) / Lollipop.NEUCODE_LYSINE_MASS_SHIFT, 0, MidpointRounding.AwayFromZero))); |
Contributor
There was a problem hiding this comment.
neucode lysine mass shift?
| * Hence we do this correction that adds 0, 1, 2, or 3 to correct for the -1, -2, -3 that it will “likely” miss by. | ||
| */ | ||
|
|
||
| double neuCodeCorrection = Math.Round((this.lysine_count * 0.1667 - 0.4), 0, MidpointRounding.AwayFromZero) * Lollipop.MONOISOTOPIC_UNIT_MASS; |
Contributor
There was a problem hiding this comment.
probably this needs to be updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.