sealed abstract class Feature extends Ordered[Feature]
A genomic feature.
Includes a non-empty underlying Region and an optional feature name.
- Alphabetic
- By Inheritance
- Feature
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
addBlock(block: Block): Feature
Returns a Feature representing this with an additional Block merged in.
-
abstract
def
compare(that: Feature): Int
- Definition Classes
- Ordered
-
abstract
def
intersection(other: Feature): Option[Feature]
Returns a Feature representing the intersection of this with another Feature.
-
abstract
def
minus(other: Feature): Option[Feature]
Returns a Feature representing this minus the overlap with another Feature.
-
abstract
def
union(other: Feature): Feature
Returns a Feature representing the union of this with another Feature.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: Feature): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Feature): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: Feature): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Feature): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val blocks: Region
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
compareTo(that: Feature): Int
- Definition Classes
- Ordered → Comparable
-
def
contains(other: Feature): Boolean
Returns a boolean value representing whether this Feature contains another Feature.
-
def
containsCompatibleIntrons(other: Feature): Boolean
Returns a boolean value representing whether this Feature contains another Feature and their introns are compatible.
-
def
distance(other: Feature): Int
Returns the distance between this Feature and another Feature.
Returns the distance between this Feature and another Feature.
Orientation is ignored.
If the spans of the Features (including introns) overlap, 0 is returned. Otherwise, if the other Feature lies to the right of this Feature, distance is defined as the first position of the other Feature minus the last position of this Feature. The definition is similar for the opposite direction. Therefore, the returned distance is a nonnegative number.
If the Features are on different chromosomes, an IllegalArgumentException is thrown.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBlocks: List[Block]
Returns the list of Blocks of the underlying Region as in Region.blocks.
-
def
getChr: String
Returns the chromosome name.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getEnd: Int
Returns the end position of the underlying Region as in Region.end.
-
def
getOrientation: Orientation
Returns the orientation of the underlying Region as in Region.orientation.
-
def
getStart: Int
Returns the start position of the underlying Region as in Region.start.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
numBlocks: Int
Returns the number of Blocks in the underlying region.
-
def
overlaps(other: Feature): Boolean
Returns a boolean value representing whether this Feature overlaps another Feature.
-
def
overlapsCompatibleIntrons(other: Feature): Boolean
Returns a boolean value representing whether this Feature overlaps another Feature and their introns are compatible.
-
def
overlapsSpan(other: Feature): Boolean
Returns a boolean value representing whether the span of this Feature overlaps the span of another Feature.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )