public GetSampleProtease ( ) : |
||
return |
public static void ReadPepXml() { WritePepXml(); //string filePath = Path.Combine(Examples.BASE_DIRECTORY, "example.pepXML"); string filePath = @"E:\Desktop\test\27Nov2013_CEM_WellsProtein_CAD_filter.pep.xml"; Console.WriteLine("Reading from " + filePath); using (PepXmlReader reader = new PepXmlReader(filePath)) { Protease protease = reader.GetSampleProtease(); Console.WriteLine("Protease: " + protease); Console.WriteLine(); List<Modification> fixedMods = reader.GetFixedModifications(); Console.WriteLine("==Fixed Modifications=="); foreach (Modification mod in fixedMods) { Console.WriteLine("\t" + mod); } Console.WriteLine(); List<Modification> varMods = reader.GetVariableModifications(); Console.WriteLine("==Variable Modifications=="); foreach (Modification mod in varMods) { Console.WriteLine("\t" + mod); } } }