public DatabaseOptions(DatabaseOptions source)
 {
   this.Location = source.Location;
   this.AccessNumberPattern = source.AccessNumberPattern;
   this.DecoyPattern = source.DecoyPattern;
   this.RemovePeptideFromDecoyDB = source.RemovePeptideFromDecoyDB;
   this.RemoveContamination = source.RemoveContamination;
   this.ContaminationNamePattern = source.ContaminationNamePattern;
   this.ContaminationDescriptionPattern = source.ContaminationDescriptionPattern;
 }
 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 static DatabaseOptions LoadOptions(XElement parentNode)
 {
   var result = new DatabaseOptions();
   result.Load(parentNode);
   return result;
 }