コード例 #1
0
        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);
        }
コード例 #2
0
 public ProteinSequenceMatchDuo(ProteinSequence proteinSequence, ProteinMatch proteinMatch)
 {
     ProteinSequence = proteinSequence;
     ProteinMatch    = proteinMatch;
 }