Click or drag to resize
ILocationResolver Interface
Interface to resolve the start and end positions of a location. Classes which implements this interface should resolve any ambiguity in the start and end positions of a location. Please refer LocationResolver for default implementation of this interface.

Namespace: Bio.IO.GenBank
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public interface ILocationResolver

The ILocationResolver type exposes the following members.

Methods
  NameDescription
Public methodClone
Creates a new ILocationResolver that is a copy of the current ILocationResolver.
Public methodGetEnd
Returns end position of the specified location.
Public methodGetStart
Returns start position of the specified location.
Public methodGetSubSequence(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.
Public methodGetSubSequence(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.
Public methodIsInEnd
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.
Public methodIsInRange
Returns true if the specified position is with in the start and end positions.
Public methodIsInStart
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.
Top
See Also