org.hammerlab.guacamole.jointcaller

AlleleAtLocus

case class AlleleAtLocus(contigName: ContigName, start: Locus, ref: String, alt: String) extends Product with Serializable

An allele (alt) at a site in the genome. We also keep track of the reference allele (ref) at this site.

Usually alt != ref, but in some cases, such as force calling positions with no variant reads, we can have alt == ref.

Indels are supported in the usual VCF style, in which ref.length != alt.length. ref.length and alt.length are > 0 (e.g. an insertion is represented as A -> ACC) and therefore end > start. The length of the reference allele determines the size of the region.

NOTE: We currently evaluate only a single alternate at each site at a time, i.e. the mixtures whose likelihoods we compute are always just a reference and at most one alternate allele. If we extend this to mixtures with multiple alts, we should change this class to contain any nuber of alts.

contigName

the contig (chromosome)

start

the position of the allele

ref

reference allele, must be nonempty

alt

alternate allele, may be equal to reference

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

Instance Constructors

  1. new AlleleAtLocus(contigName: ContigName, start: Locus, ref: String, alt: String)

    contigName

    the contig (chromosome)

    start

    the position of the allele

    ref

    reference allele, must be nonempty

    alt

    alternate allele, may be equal to reference

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. val alt: String

    alternate allele, may be equal to reference

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val contigName: ContigName

    the contig (chromosome)

  10. lazy val end: Long

    Zero-based exclusive end site on the reference genome.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. lazy val id: String

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. val ref: String

    reference allele, must be nonempty

  20. val start: Locus

    the position of the allele

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

    Definition Classes
    AnyRef
  22. def transform(alleleTransform: (String) ⇒ String, startEndTransform: (Locus, Locus) ⇒ (Locus, Locus)): AlleleAtLocus

    Apply a transformation function to the alleles (ref and alt) and also the start and end coordinates, returning a new AlleleAtLocus.

    Apply a transformation function to the alleles (ref and alt) and also the start and end coordinates, returning a new AlleleAtLocus.

    This is used when we need to change the number of bases of reference context used, e.g. to change the variant "A>C" to "GA>GC", as part of harmonizing it with other variants of different lengths at the same site.

    alleleTransform

    transformation function on alleles

    startEndTransform

    transformation function on (start, end) pairs.

    returns

    a new AlleleAtLocus instance

  23. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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 AnyRef

Inherited from Any

Ungrouped