コード例 #1
0
        public PeakTransitionGroupId(PeptideGroupDocNode nodePepGroup,
                                     PeptideDocNode nodePep,
                                     IsotopeLabelType labelType,
                                     ChromatogramSet chromatogramSet,
                                     ChromatogramGroupInfo chromGroupInfo,
                                     IDictionary <int, int> runEnumDict)
        {
            NodePepGroup    = nodePepGroup;
            LabelType       = labelType;
            ChromatogramSet = chromatogramSet;
            FilePath        = chromGroupInfo.FilePath;
            FileId          = chromatogramSet.FindFile(chromGroupInfo);
            Run             = runEnumDict[FileId.GlobalIndex];

            // Avoid hanging onto the peptide, since it can end up being the primary memory root
            // for large-scale command-line processing
            RawTextId           = nodePep.ModifiedTarget.ToString();
            RawUnmodifiedTextId = nodePep.Target.ToString();
            IsDecoy             = nodePep.IsDecoy;
            Key = new PeakTransitionGroupIdKey(nodePep.Id.GlobalIndex, FileId.GlobalIndex);
        }
コード例 #2
0
 public bool Equals(PeakTransitionGroupIdKey other)
 {
     return(PepIndex == other.PepIndex && FileIndex == other.FileIndex);
 }