Click or drag to resize
ISnpReader Methods

The ISnpReader type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodMoveNext
Advances the enumerator to the next element of the collection.
(Inherited from IEnumerator.)
Public methodReset
Sets the enumerator to its initial position, which is before the first element in the collection.
(Inherited from IEnumerator.)
Public methodSkipToChromosome
This moves the cursor to the current/next SNP item containing the given chromosome number (i.e. Current.Chromosome == chromosomeNumber), or beyond the end of the enumerator if none exist. This is useful when traversing sorted SNP sequences and we need to jump to a specific chromosome number. The enumerator should be positioned at or after the first item and at or before the last item.
Public methodSkipToChromosomePosition(Int32)
This moves the cursor to the current/next SNP item containing the current chromosome number and position equal to the given position (i.e. Current.Position == position and Current.Chromosome does not change), or beyond the end of the enumerator if none exist. The enumerator should be positioned at or after the first item and at or before the last item. NOTE: This is useful when traversing sorted SNP sequences and need to jump to a specific chromosome position within current chromosome position.
Public methodSkipToChromosomePosition(Int32, Int32)
This moves the cursor to the current/next SNP item containing the given chromosome number and position (i.e. Current.Chromosome == chromosomeNumber and Current.Position == position), or beyond the end of the enumerator if none exist. The enumerator should be positioned at or after the first item and at or before the last item. NOTE: This is useful when traversing sorted SNP sequences and need to jump to a specific chromosome number+position.
Top
See Also