Exemple #1
0
        public void TestMsAlignRescoring()
        {
            var methodName = MethodBase.GetCurrentMethod().Name;

            TestUtils.ShowStarting(methodName);

            const string specFilePath      = @"\\proto-2\UnitTest_Files\InformedProteomics_TestFiles\SpecFiles\QC_ShewIntact_2ug_3k_CID_4Apr14_Bane_PL011402.raw";
            const string msAlignResultPath = @"C:\cygwin\home\kims336\Data\TopDownQCShew\MSAlign\NoMod.tsv";
            const string outputPath        = @"C:\cygwin\home\kims336\Data\TopDownQCShew\MSAlign\NoMod_Rescored.tsv";

            if (!File.Exists(specFilePath))
            {
                Assert.Ignore(@"Skipping test {0} since file not found: {1}", methodName, specFilePath);
            }

            if (!File.Exists(msAlignResultPath))
            {
                Assert.Ignore(@"Skipping test {0} since file not found: {1}", methodName, msAlignResultPath);
            }

            var tolerance = new Tolerance(10.0);

            var rescorer = new MsAlignRescorer(specFilePath, msAlignResultPath, outputPath, tolerance, 0.7, 1, 15);

            Console.WriteLine("Done");
        }
Exemple #2
0
        public void TestMsAlignRescoring()
        {
            var methodName = MethodBase.GetCurrentMethod().Name;

            Utils.ShowStarting(methodName);

            var          specFilePath      = Path.Combine(Utils.DEFAULT_SPEC_FILES_FOLDER, "QC_ShewIntact_2ug_3k_CID_4Apr14_Bane_PL011402.raw");
            const string msAlignResultPath = @"C:\cygwin\home\kims336\Data\TopDownQCShew\MSAlign\NoMod.tsv";
            const string outputPath        = @"C:\cygwin\home\kims336\Data\TopDownQCShew\MSAlign\NoMod_Rescored.tsv";

            if (!File.Exists(specFilePath))
            {
                Assert.Ignore(@"Skipping test {0} since file not found: {1}", methodName, specFilePath);
            }

            if (!File.Exists(msAlignResultPath))
            {
                Assert.Ignore(@"Skipping test {0} since file not found: {1}", methodName, msAlignResultPath);
            }

            var tolerance = new Tolerance(10.0);

            var rescorer = new MsAlignRescorer(specFilePath, msAlignResultPath, outputPath, tolerance, 0.7, 1, 15);

            Console.WriteLine("Done");
        }