ILocationResolver Methods |
The ILocationResolver type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Creates a new ILocationResolver that is a copy of the current ILocationResolver.
| |
GetEnd |
Returns end position of the specified location.
| |
GetStart |
Returns start position of the specified location.
| |
GetSubSequence(ILocation, ISequence) |
Returns a sequence which contains bases from the specified sequences as specified by the location.
If a feature location and the sequence in which the feature is present is
specified then the output sequence will contain the bases related to the feature.
| |
GetSubSequence(ILocation, ISequence, DictionaryString, ISequence) |
Returns a sequence which contains bases from the specified sequences as specified by the location.
If the location contains accession then the sequence from the referredSequences which matches the
accession of the location will be considered.
For example,
If a location is "join(100..200, J00089.1:10..50, J00090.2:30..40)"
bases from 100 to 200 will be taken from the sequence parameter and referredSequences will
be searched for the J00089.1 and J00090.2 accession if found then those sequences will be considered
for constructing the output sequence.
If the referred sequence is not found in the referredSequences then an exception will occur.
| |
IsInEnd |
Return true if the specified position is within the end position.
For example,
if the end data of a location is "23.40", this method will
return true for the position values ranging from 23 to 40.
| |
IsInRange |
Returns true if the specified position is with in the start and end positions.
| |
IsInStart |
Return true if the specified position is within the start position.
For example,
if the start data of a location is "23.40", this method will
return true for the position values ranging from 23 to 40.
|