public List <string> Generate(string sequence) { List <string> peptideList = new List <string>(); foreach (string s in generator.Generate(sequence)) { peptideList.Add(s); } return(peptideList); }
public List <string> Generate(string sequence) { List <string> peptideList = new List <string>(); foreach (string s in generator.Generate(sequence)) { if (FindPTMPosition.ContainsOGlycanSite(s)) { peptideList.Add(s); } } return(peptideList); }