Click or drag to resize
ILocation Interface
Interface to hold location information.

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

The ILocation type exposes the following members.

Properties
  NameDescription
Public propertyAccession
Accession number of referred sequence.
Public propertyEndData
End position data. All positions are one based.
Public propertyLocationEnd
End position of the location. Note that this is one based position.
Public propertyLocationStart
Start position of the location. Note that this is one based position.
Public propertyOperator
Operator like none, complement, join and order.
Public propertySeparator
Start and end positions separator.
Public propertyStartData
Start position data. All positions are one based.
Public propertySubLocations
Sub locations.
Top
Methods
  NameDescription
Public methodClone
Creates a new ILocation that is a copy of the current ILocation.
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable.)
Public methodGetLeafLocations
Returns the leaf locations.
Public methodGetSubSequence(ISequence)
Returns a sequence which contains bases from the specified sequences as specified by this location.
Public methodGetSubSequence(ISequence, DictionaryString, ISequence)
Returns a sequence which contains bases from the specified sequences as specified by this 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
Returns true if the specified position is within the end positions of the location.
Public methodIsInRange
Returns true if the specified position is within the start and end positions of the location.
Public methodIsInStart
Returns true if the specified position is within the start positions of the location.
Top
See Also