org.bdgenomics.adam.models

ReferenceRegion

object ReferenceRegion extends Serializable

A companion object for creating and ordering ReferenceRegions.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReferenceRegion
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. def all(referenceName: String): ReferenceRegion

    Creates a reference region that covers the entirety of a contig.

    Creates a reference region that covers the entirety of a contig.

    referenceName

    The name of the reference contig to cover.

    returns

    Returns a reference region that covers the entirety of a contig.

  7. def apply(coverage: Coverage): ReferenceRegion

    Builds a reference region for a coverage site.

    Builds a reference region for a coverage site.

    coverage

    Coverage to extract ReferenceRegion from

    returns

    Extracted ReferenceRegion

  8. def apply(feature: Feature): ReferenceRegion

    Builds a reference region for a feature.

    Builds a reference region for a feature.

    feature

    Feature to extract ReferenceRegion from

    returns

    Extracted ReferenceRegion

  9. def apply(fragment: NucleotideContigFragment): Option[ReferenceRegion]

    Generates a reference region from assembly data.

    Generates a reference region from assembly data. Returns None if the assembly does not have an ID or a start position.

    fragment

    Assembly fragment from which to generate data.

    returns

    Region corresponding to inclusive region of contig fragment.

  10. def apply(pos: ReferencePosition): ReferenceRegion

    Generates a region from a given position -- the region will have a length of 1.

    Generates a region from a given position -- the region will have a length of 1.

    pos

    The position to convert

    returns

    A 1-wide region at the same location as pos

  11. def apply(record: AlignmentRecord): ReferenceRegion

    Builds a reference region for an aligned read.

    Builds a reference region for an aligned read.

    record

    The read to extract the reference region from.

    returns

    Returns the reference region covered by this read's alignment.

    Exceptions thrown
    IllegalArgumentException

    If this read is not aligned or alignment data is null.

  12. def apply(annotation: VariantAnnotation): ReferenceRegion

    Builds a reference region from a variant annotation.

    Builds a reference region from a variant annotation.

    annotation

    VariantAnnotation to extract region from.

    returns

    The site where the variant for the specified variant annotation covers.

  13. def apply(variant: Variant): ReferenceRegion

    Builds a reference region for a variant site.

    Builds a reference region for a variant site.

    variant

    Variant to extract region from.

    returns

    The site where this variant covers.

  14. def apply(genotype: Genotype): ReferenceRegion

    Builds a reference region for a called genotype.

    Builds a reference region for a called genotype.

    genotype

    Called genotype to extract region from.

    returns

    The site where this genotype lives.

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def fromStart(referenceName: String, end: Long): ReferenceRegion

    Creates a reference region that starts at the beginning of a contig.

    Creates a reference region that starts at the beginning of a contig.

    referenceName

    The name of the reference contig that this region is on.

    end

    The end position for this region.

    returns

    Returns a reference region that goes from the start of a contig to a user provided end point.

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

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def mateOpt(record: AlignmentRecord): Option[ReferenceRegion]

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

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

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

    Definition Classes
    AnyRef
  28. def opt(record: AlignmentRecord): Option[ReferenceRegion]

    Generates a reference region from read data.

    Generates a reference region from read data. Returns None if the read is not mapped; else, returns the inclusive region from the start to the end of the read alignment.

    record

    Read to create region from.

    returns

    Region corresponding to inclusive region of read alignment, if read is mapped.

  29. implicit def orderingForOptionalPositions: OptionalRegionOrdering.type

  30. implicit def orderingForPositions: RegionOrdering.type

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toEnd(referenceName: String, start: Long): ReferenceRegion

    Creates a reference region that has an open end point.

    Creates a reference region that has an open end point.

    referenceName

    The name of the reference contig that this region is on.

    start

    The start position for this region.

    returns

    Returns a reference region that goes from a user provided starting point to the end of a contig.

  33. implicit def toHammerlabRegion(region: ReferenceRegion): Region

  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped