示例#1
0
        /// <summary>
        /// Creates a peptide object with the given information
        /// </summary>
        /// <param name="peptideString"></param>
        /// <param name="startPos"></param>
        /// <param name="endPos"></param>
        public void AddPeptide(string peptideString, int startPos, int endPos)
        {
            Peptide peptideInstance = new Peptide(peptideString); //new and not fully-formed peptide

            peptideInstance.IndexStart = startPos;
            peptideInstance.IndexStop  = endPos;
            PeptideList.Add(peptideInstance);
        }
示例#2
0
 /// <summary>
 /// Stores a peptide object
 /// </summary>
 /// <param name="pep"></param>
 public void DirectAddPeptide(Peptide pep)
 {
     PeptideList.Add(pep);
 }