org.hammerlab.guacamole.loci.map

Contig

case class Contig[T](name: ContigName, rangeMap: RangeMap[Long, T]) extends TruncatedToString with Product with Serializable

A map from loci to instances of an arbitrary type where the loci are all on the same contig.

name

The contig name

rangeMap

The range map of loci intervals -> values.

Linear Supertypes
Serializable, Serializable, Product, Equals, TruncatedToString, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Contig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TruncatedToString
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Contig(name: ContigName, rangeMap: RangeMap[Long, T])

    name

    The contig name

    rangeMap

    The range map of loci intervals -> values.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. lazy val asMap: SortedMap[Interval, T]

    This map as a regular scala immutable map from exclusive numeric ranges to values.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(locus: Locus): Option[T]

    Get the value associated with the given locus.

    Get the value associated with the given locus. Returns Some(value) if the given locus is in this map, None otherwise.

  12. def getAll(start: Locus, end: Locus): Set[T]

    Given a loci interval, return the set of all values mapped to by any loci in the interval.

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. lazy val inverse: Map[T, set.Contig]

    Map from each value found in this Contig to a LociSet Contig representing the loci that map to that value.

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val name: ContigName

    The contig name

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def stringPieces: Iterator[String]

    Iterator over string representations of each range in the map.

    Iterator over string representations of each range in the map.

    Definition Classes
    ContigTruncatedToString
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    TruncatedToString → AnyRef → Any
  23. def truncatedString(maxLength: Int = 500): String

    String representation, truncated to maxLength characters.

    String representation, truncated to maxLength characters.

    Definition Classes
    TruncatedToString
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TruncatedToString

Inherited from AnyRef

Inherited from Any

Ungrouped