Location Class |
Namespace: Bio.IO.GenBank
The Location type exposes the following members.
Name | Description | |
---|---|---|
Accession |
Accession number of referred sequence.
| |
EndData |
Gets or sets the end position data.
All positions are one based.
| |
LocationEnd |
Gets the end position of the location.
Note that this is one based position.
| |
LocationStart |
Gets the start position of the location.
Note that this is one based position.
| |
Operator |
Operator like none, complement, join and order.
| |
Resolver |
Gets or sets the ILocationResolver instance used to resolve
ambiguity in start-data and end-data
| |
Separator |
Start and end positions separator.
| |
StartData |
Gets or sets the start position data.
All positions are one based.
| |
SubLocations |
Sub locations.
|
Name | Description | |
---|---|---|
Clone |
Creates a new Location that is a copy of the current Location.
| |
CompareTo |
Compares this instance to a specified object and returns an
indication of their relative values.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLeafLocations |
Gets the leaf locations present in this location.
| |
GetSubSequence(ISequence) |
Returns a sequence which contains bases from the specified sequences as specified by this location.
| |
GetSubSequence(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.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsInEnd |
Returns true if the specified position is within the end positions of the location.
| |
IsInRange |
Returns true if the specified position is within the start and end positions of the location.
| |
IsInStart |
Returns true if the specified position is within the start positions of the location.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |