Example #1
0
        public void FeaturesSearch()
        {
            FeatureSearch.iLog = this;
            FeatureSearch fs = new FeatureSearch(MSFile);

            Log("Initial search");
            fs.FirstSearch(Mascots);
            if (RTOrder > 0)
            {
                Log("Outlayers Alignment - First iteration");
                fs.AlignOutLayers(Mascots, RTOrder / 4, 0.5);
                Log("Outlayers Alignment - Second iteration");
                fs.AlignOutLayers(Mascots, RTOrder / 2, 0.25);
                Log("Outlayers Alignment - Third iteration");
                fs.AlignOutLayers(Mascots, RTOrder, 0.0);
            }
            //PrintList(Mascots);
            if (QuantyAll)
            {
                Log("Initial search of all MS/MS spectra");
                //пометить Mascots как уже отысканные
                for (int j = 0; j < Mascots.Count; j++)
                {
                    Mascots[j].AlreadySearched = true;
                }
                fs.FirstSearch(MSMSList);
                if (RTOrder > 0)
                {
                    Log("Outlayers Alignment of all MS/MS spectra - First iteration");
                    fs.AlignOutLayers(MSMSList, RTOrder / 2, 0.5);
                    Log("Outlayers Alignment of all MS/MS spectra - Second iteration");
                    fs.AlignOutLayers(MSMSList, RTOrder, 0.25);
                    Log("Outlayers Alignment of all MS/MS spectra - Third iteration");
                    fs.AlignOutLayers(MSMSList, RTOrder * 2, 0.0);
                }
            }
        }
 public void FeaturesSearch()
 {
     FeatureSearch.iLog = this;
     FeatureSearch fs = new FeatureSearch(MSFile);
     Log("Initial search");
     fs.FirstSearch(Mascots);
     if (RTOrder>0){
         Log("Outlayers Alignment - First iteration");
         fs.AlignOutLayers(Mascots,RTOrder/4,0.5);
         Log("Outlayers Alignment - Second iteration");
         fs.AlignOutLayers(Mascots,RTOrder/2,0.25);
         Log("Outlayers Alignment - Third iteration");
         fs.AlignOutLayers(Mascots,RTOrder,0.0);
     }
     //PrintList(Mascots);
     if (QuantyAll){
         Log("Initial search of all MS/MS spectra");
         //пометить Mascots как уже отысканные
         for (int j = 0 ; j < Mascots.Count ; j++){
             Mascots[j].AlreadySearched = true;
         }
         fs.FirstSearch(MSMSList);
         if (RTOrder>0){
             Log("Outlayers Alignment of all MS/MS spectra - First iteration");
             fs.AlignOutLayers(MSMSList,RTOrder/2,0.5);
             Log("Outlayers Alignment of all MS/MS spectra - Second iteration");
             fs.AlignOutLayers(MSMSList,RTOrder,0.25);
             Log("Outlayers Alignment of all MS/MS spectra - Third iteration");
             fs.AlignOutLayers(MSMSList,RTOrder*2,0.0);
         }
     }
 }