Пример #1
0
 private void ValidateModifications(string seq)
 {
     char[] modifiedChars = PeptideUtils.GetModifiedChar(seq);
     if (modifiedChars.Length > 0)
     {
         foreach (char c in modifiedChars)
         {
             if (!_sciBuilder.IsModificationDefined(c))
             {
                 throw new ArgumentException(MyConvert.Format("Modification {0} was not defined in SILAC configuration file : {1}.", c, option.SilacParamFile));
             }
         }
     }
 }