You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* correct Within calculation
* update unit tests
* this is the spot
* unused namespaces
* degree and star to ammonia and water
* waterAndAmmoniaLossProductTypeMethods
* ammonia and water loss fragment product ion unit tests
Co-authored-by: MICHAEL SHORTREED <mrshortreed@wisc.edu>
@@ -52,13 +89,13 @@ public static List<ProductType> GetTerminusSpecificProductTypesFromDissociation(
52
89
{ProductType.aStar,null},//-C -O -N -H3
53
90
{ProductType.aDegree,null},//-C -O2 -H2
54
91
{ProductType.b,null},//no change
55
-
{ProductType.bStar,null},//-N -H3
56
-
{ProductType.bDegree,null},//-H2 -O1
92
+
{ProductType.b_NH3,null},//-N -H3
93
+
{ProductType.b_H2O,null},//-H2 -O1
57
94
{ProductType.c,null},//+N1 +H3
58
95
{ProductType.x,null},//+C1 +O2
59
96
{ProductType.y,null},//+O +H2
60
-
{ProductType.yStar,null},//+O -H -N
61
-
{ProductType.yDegree,null},//no change
97
+
{ProductType.y_NH3,null},//+O -H -N
98
+
{ProductType.y_H2O,null},//no change
62
99
{ProductType.zDot,null},// +O -NH + e- + p+
63
100
{ProductType.zPlusOne,null},//+O +H -N: A Zdot ion is also known as z+1. It is not a z-ion in the Biemann nomenclature. It differs from a y-ion by N-1 H-1;
64
101
{ProductType.M,null},// neutral Molecular product can be used with neutral loss as fragment
@@ -106,13 +143,13 @@ public static double GetMassShiftFromProductType(ProductType productType)
{FragmentationTerminus.N,newList<ProductType>{ProductType.a,ProductType.aDegree,ProductType.aStar,ProductType.b,ProductType.bDegree,ProductType.bStar,ProductType.c}},//all ion types that include the N-terminus
12
-
{FragmentationTerminus.C,newList<ProductType>{ProductType.x,ProductType.y,ProductType.yDegree,ProductType.yStar,ProductType.zDot,ProductType.zPlusOne}},//all ion types that include the C-terminus
{FragmentationTerminus.N,newList<ProductType>{ProductType.a,ProductType.aDegree,ProductType.aStar,ProductType.b,ProductType.b_H2O,ProductType.b_NH3,ProductType.c}},//all ion types that include the N-terminus
12
+
{FragmentationTerminus.C,newList<ProductType>{ProductType.x,ProductType.y,ProductType.y_H2O,ProductType.y_NH3,ProductType.zDot,ProductType.zPlusOne}},//all ion types that include the C-terminus
@@ -669,11 +686,11 @@ public static void Test_Fragment_ProductTypesWithAminoAcidSpecificities(string f
669
686
myPeptide.Fragment(dissociationType,FragmentationTerminus.Both,theseTheoreticalFragments);//Note that dissociation type here intentionally mismatched to dissociation type in modification constructor
0 commit comments