LocationResolver Class |
Namespace: Bio.IO.GenBank
The LocationResolver type exposes the following members.
Name | Description | |
---|---|---|
LocationResolver |
Default constructor.
|
Name | Description | |
---|---|---|
Clone |
Returns the new LocationResolver instance that is a copy of this instance.
| |
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.) | |
GetEnd |
Returns the end position by resolving the end-data present in the specified location.
If unable to resolve end-data then an exception will occur.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetStart |
Returns the start position by resolving the start-data present in the specified location.
If unable to resolve start-data then an exception will occur.
| |
GetSubSequence(ILocation, ISequence) |
Returns a sequence which contains bases from the specified sequence as specified by the location.
If the location of a feature and sequence in which the feature is present is
specified then this method returns a sequence which contains the bases of the specified feature.
Please note that,
1. If Accession of the location is not null or empty then an exception will occur.
2. If the location contains "order" operator then this method uses SegmentedSequence class to construct the sequence.
For example, order(100..200,300..450) will result in a SegmentedSequence which internally contains two sequences,
first one created from 100 to 200 bases, and second one created from 300 to 450 bases.
| |
GetSubSequence(ILocation, ISequence, DictionaryString, ISequence) |
Returns a sequence which contains bases from the specified sequence 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 location is "join(100..200, J00089.1:10..50, J00090.2:30..40)"
then bases from 100 to 200 will be considered 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 |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |