public BuildSummaryOptions()
 {
     MergeResult = true;
     KeepTopPeptideFromSameEngineButDifferentSearchParameters = true;
     SavePeptidesFile = true;
     IsSemiPeptideConsiderAsUnique = true;
     Database                = new DatabaseOptions();
     FalseDiscoveryRate      = new FalseDiscoveryRateOptions();
     Classification          = new ClassificationOptions();
     PeptideFilter           = new PeptideFilterOptions();
     DatasetList             = new DatasetListOptions();
     ConflictType            = ResolveSearchEngineConflictTypeFactory.QValue;
     MinimumEngineAgreeCount = 1;
     PeptideRetrieval        = false;
 }
    public void Test()
    {
      PeptideFilterOptions option = new PeptideFilterOptions()
      {
         FilterBySequenceLength = true,  MinSequenceLength = 6
      };

      XElement root = new XElement("Root");
      option.Save(root);

      PeptideFilterOptions target = new PeptideFilterOptions();
      target.Load(root);

      Assert.AreEqual(option.FilterBySequenceLength, target.FilterBySequenceLength);
      Assert.AreEqual(option.MinSequenceLength, target.MinSequenceLength);
    }