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
pfa.SetUpQuantificationObjectsFromFullSequences(peptides,proteins);// uses zero-based indexes for the mods.
497
+
498
+
proteinGroup.ModsInfo.Add(spectraFile,pfa.ProteinGroups.First().Value);// Getting stoich one protein group at a time, so only getting First() is ok here.
pfa.SetUpQuantificationObjectsFromFullSequences(peptides,proteins);// uses zero-based indexes for the mods.
596
595
597
596
proteinGroup.ModsInfo.Add(spectraFile,pfa.ProteinGroups.First().Value);// Getting stoich one protein group at a time, so only getting First() is ok here.
598
-
599
597
}
600
598
}
601
599
}
602
-
603
-
604
-
605
-
//foreach (var proteinGroup in ProteinGroups)
606
-
//{
607
-
// if (proteinGroup.FilesForQuantification.IsNotNullOrEmpty())
608
-
// {
609
-
// var pgQuantifiedPeptides = Parameters.FlashLfqResults.PeptideModifiedSequences.Where(p => peptideSequencesForQuantification.Contains(p.Key)).Select(p => p.Value);
610
-
//
611
-
//
612
-
//
613
-
//
614
-
// var sb = new StringBuilder();
615
-
//
616
-
//
617
-
// foreach (var file in proteinGroup.FilesForQuantification)
Assert.That(modInfoListProteinTwo,Is.EqualTo("#aa71[Oxidation on S,info:occupancy=0.50(1/2)]"));
252
+
Assert.That(modInfoListProteinTwo,Is.EqualTo("P10591:{M#65[Common Variable:Oxidation on M, info: occupancy=1.0000(654315.977066199)]S#71[Less Common:Oxidation on S, info: occupancy=0.1957(654315.977066199)]}"+
253
+
"P10592:{M#65[Common Variable:Oxidation on M, info: occupancy=1.0000(654315.977066199)]S#71[Less Common:Oxidation on S, info: occupancy=0.1957(654315.977066199)]}"));
//Assert.That(proteinGroups.First().ModsInfo[0], Is.EqualTo("#aa5[resMod on S,info:occupancy=0.67(2/3)];#aa10[iModOne on I,info:occupancy=0.33(2/6)];#aa10[iModTwo on I,info:occupancy=0.33(2/6)]"));
258
-
Assert.That(true==false);// intentional test fail.
262
+
// inclined to delete this test
263
+
// Otherwise, readapt to run flashlfq and then correctly check modinfo...
Assert.That(output[0].Contains("Modification Info List\tIntensity_silac(R+3.988)\tIntensity_silac(R+10.008)"));//test that two files were made and no light file
61
-
Assert.That(output[1].Contains("875000.0000000009\t437500.00000000047"));//test the heavier intensity is half that of the heavy (per the raw file)
60
+
Assert.That(output[0].Contains("Mods_silac(R+3.988)\tIntensity_silac(R+3.988)\tMods_silac(R+10.008)\tIntensity_silac(R+10.008)"));//test that two files were made and no light file
61
+
Assert.That(output[1].Contains("875000.0000000009\t\t437500.00000000047"));//test the heavier intensity is half that of the heavy (per the raw file)
Assert.That(output[0].Contains("Intensity_silac\tIntensity_silac(K+8.014 & R+6.020)"));//test that two files were made
135
-
Assert.That(output[1].Contains("1374999.999999999\t687499.9999999995"));//test the heavy intensity is half that of the light (per the raw file)
134
+
Assert.That(output[0].Contains("Mods_silac\tIntensity_silac\tMods_silac(K+8.014 & R+6.020)\tIntensity_silac(K+8.014 & R+6.020)"));//test that two files were made
135
+
Assert.That(output[1].Contains("1374999.999999999\t\t687499.9999999995"));//test the heavy intensity is half that of the light (per the raw file)
Assert.That(output[0].Contains("Intensity_silac\tIntensity_silacPart2\tIntensity_silac(K+8.014)\tIntensity_silacPart2(K+8.014)"));//test that two files were made
226
-
Assert.That(output[1].Contains("875000.0000000009\t875000.0000000009\t437500.00000000047\t437500.00000000047"));//test the heavy intensity is half that of the light (per the raw file)
"Mods_silacPart2(K+8.014)\tIntensity_silacPart2(K+8.014)"));//test that two files were made
229
+
Assert.That(output[1].Contains("875000.0000000009\t\t875000.0000000009\t\t437500.00000000047\t\t437500.00000000047"));//test the heavy intensity is half that of the light (per the raw file)
0 commit comments