public static IList <ProteinMatch> RefineMatches(IEnumerable <ProteinMatch> matches, ProteinMatchSettings settings) { var newMatches = new List <ProteinMatch>(); foreach (var match in matches) { var newMatch = new ProteinMatch(settings, match.Protein); if (!newMatch.MatchTypes.IsEmpty) { newMatches.Add(newMatch); } } return(newMatches); }
public ProteinSequenceMatchDuo(ProteinSequence proteinSequence, ProteinMatch proteinMatch) { ProteinSequence = proteinSequence; ProteinMatch = proteinMatch; }