private static void StartExamples() { //List<MzTabPSM> psms; //List<MzTabProtein> proteins; //List<MzTabPeptide> peptides; //List<MzTabSmallMolecule> smallMolecules; //MzTabMetaData metaData; //using (MzTabReader reader = new MzTabReader(@"E:\Desktop\mzTab Examples\iTRAQ_SQI.mzTab", false)) //{ // reader.Open(); // metaData = reader.MetaData; // psms = reader.GetPsms().ToList(); // proteins = reader.GetProteins().ToList(); // peptides = reader.GetPeptides().ToList(); // smallMolecules = reader.GetSmallMolecules().ToList(); //} //using (MzTabWriter writer = new MzTabWriter(@"E:\Desktop\mzTab Examples\dereksTest.mzTab")) //{ // writer.WriteComment("Test Comment"); // writer.WriteMetaData(metaData); // writer.WriteLine(); // writer.WriteProteinData(proteins); // writer.WriteLine(); // writer.WritePsmData(psms); // writer.WriteLine(); // writer.WritePeptideData(peptides); // writer.WriteLine(); // writer.WriteSmallMoleculeData(smallMolecules); //} // Examples coding //ChemicalFormulaExamples(); //PeptideExamples(); //ChemicalFormulaGeneratorExample(); // Example Objects //VennDiagramExamples(); // Example Digestion //TrypticDigestion.Start(minLength: 5, maxLength: 50, maxMissed:3, protease:Protease.Trypsin, storeSequenceString: false); //TrypticDigestion.ExampleDigestion(); // Example Protein Grouping //ProteinGroupingExample.Start(Protease.Trypsin); //ProteinGroupingExample.ExampleProteinGrouping(Protease.Trypsin); //ProteinGroupingExample.StartRamp(Protease.Trypsin); //Example Isotopologue //IsotopologueExample(); // Recalibrate Thermo Files on Lockmass ThermoRawFileExamples.RecalibrateThermoRawFile(); ThermoRawFileExamples.LoopOverEveryScan(); // Example IO //MsDataFileExamples.VendorNeutralDataAccess(); // Omssa Reader //OmssaReader.Start(); // MS/MS searching //MorpheusSearch.Start(Protease.Trypsin); // Writing data to files //FileOutputExamples.Start(); //PepXmlExamples.ReadPepXml(); //MzIdentMLExamples.ReadMzIdentML(); }