ISnpReader Interface |
Namespace: Bio.IO
The ISnpReader type exposes the following members.
Name | Description | |
---|---|---|
Current | Gets the element in the collection at the current position of the enumerator. (Inherited from IEnumeratorSnpItem.) |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
MoveNext | Advances the enumerator to the next element of the collection. (Inherited from IEnumerator.) | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. (Inherited from IEnumerator.) | |
SkipToChromosome |
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.
| |
SkipToChromosomePosition(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.
| |
SkipToChromosomePosition(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.
|