Пример #1
0
        public override bool Equals(object obj)
        {
            var massTagToProteinMap = (MassTagToProteinMap)obj;

            if (massTagToProteinMap == null)
            {
                return(false);
            }
            if (!MassTagId.Equals(massTagToProteinMap.MassTagId))
            {
                return(false);
            }
            return(ProteinId.Equals(massTagToProteinMap.ProteinId));
        }
Пример #2
0
 public void Write(IExtendedBinaryWriter writer, int peptideIndex)
 {
     CodingRegion.Write(writer);
     ProteinId.Write(writer);
     writer.WriteOpt(peptideIndex);
 }