Click or drag to resize
SequenceRange Class
A SequenceRange holds the data necessary to represent a region within a sequence defined by its start and end index without necessarily holding any of the sequence item data. At a minimum and ID, start index, and end index are required. Additional metadata can be stored as well using a generic key value pair.
Inheritance Hierarchy

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: (
public class SequenceRange : ISequenceRange, 
	IComparable, IComparable<ISequenceRange>

The SequenceRange type exposes the following members.

Public methodSequenceRange
Default constructor that does not set any fields.
Public methodSequenceRange(String, Int64, Int64)
Data constructor that sets the most commonly used fields. Note that if the end value is less than start value then the end values is assigned to the start value.
Public propertyEnd
The end index of the range. This index must be non-negative and it will be enforced to always be greater than or equal to the Start index.
Public propertyID
A string identifier of the sequence range.
Public propertyLength
The length of the range, which can be zero. This result is the difference of the End and Start index.
Public propertyMetadata
Optional additional data to store along with the ID and indices of the range. Metadata must be stored with a string key name.
Public propertyParentSeqRanges
Gets the sequence ranges from which this sequence range is obtained. This property will be filled by the operations like Merge, Intersect etc.
Public propertyStart
The beginning index of the range. This index must be non-negative and it will be enforced to always be less than or equal to the End index.
Public methodCompareTo(Object)
Compares two sequence ranges.
Public methodCompareTo(ISequenceRange)
Compares two sequence ranges.
Public methodEquals
Overrides the equal method
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Overrides hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts ID, Start, End of the sequence to string.
(Overrides ObjectToString.)
Public operatorStatic memberEquality
Override equal operator
Public operatorStatic memberGreaterThan
Override greater than operator
Public operatorStatic memberInequality
Override not equal operator
Public operatorStatic memberLessThan
Override less than operator
See Also