Click or drag to resize
SnpItem Class
Represents a single nucleotide polymporphism (Snp) at a particular position for a certain chromosome, with the two possible allele values for that position.
Inheritance Hierarchy
SystemObject
  BioSnpItem

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class SnpItem : IEquatable<SnpItem>

The SnpItem type exposes the following members.

Constructors
  NameDescription
Public methodSnpItem
Initializes a new instance of the SnpItem class
Top
Properties
  NameDescription
Public propertyAlleleOne
Contains the first allele character for the SNP.
Public propertyAlleleTwo
Contains the second allele character for the SNP.
Public propertyChromosome
Contains the chromosome number for the SNP
Public propertyPosition
Contains the position for the SNP within the sequence (may be position in full sequence or offset within chromosome)
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether the SnpItem is equal to another SnpItem. This compares the exact values of all four properties. AlleleOne is compared with other.AlleleOne, and AlleleTwo is compared with other.AlleleTwo.
(Overrides ObjectEquals(Object).)
Public methodEquals(SnpItem)
Indicates whether the SnpItem is equal to another SnpItem. This compares the exact values of all four AlleleOne is compared with other.AlleleOne, and AlleleTwo is compared with other.AlleleTwo.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Generates a unique hashcode based on the data members in the item.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference