case class Alignment(query: Array[Byte], target: Array[Byte], queryStart: Int, targetStart: Int, cigar: Cigar, score: Int) extends Product with Serializable

A general class to describe the alignment between two sequences or partial ranges thereof

query

the query sequence

target

the target sequence

queryStart

the 1-based position in the query sequence where the alignment begins

targetStart

the 1-based position in the target sequence where the alignment begins

cigar

a Cigar object describing the alignment of the two sequences

score

the alignment score

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Alignment
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Alignment(query: Array[Byte], target: Array[Byte], queryStart: Int, targetStart: Int, cigar: Cigar, score: Int)

    query

    the query sequence

    target

    the target sequence

    queryStart

    the 1-based position in the query sequence where the alignment begins

    targetStart

    the 1-based position in the target sequence where the alignment begins

    cigar

    a Cigar object describing the alignment of the two sequences

    score

    the alignment score

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Alignment to any2stringadd[Alignment] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Alignment, B)
    Implicit
    This member is added by an implicit conversion from Alignment to ArrowAssoc[Alignment] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val cigar: Cigar
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ensuring(cond: (Alignment) ⇒ Boolean, msg: ⇒ Any): Alignment
    Implicit
    This member is added by an implicit conversion from Alignment to Ensuring[Alignment] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (Alignment) ⇒ Boolean): Alignment
    Implicit
    This member is added by an implicit conversion from Alignment to Ensuring[Alignment] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): Alignment
    Implicit
    This member is added by an implicit conversion from Alignment to Ensuring[Alignment] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): Alignment
    Implicit
    This member is added by an implicit conversion from Alignment to Ensuring[Alignment] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Alignment to StringFormat[Alignment] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def paddedString(matchChar: Char = '|', mismatchChar: Char = '.', gapChar: Char = ' ', padChar: Char = '-'): Seq[String]

    Generates a padded text representation of the alignment for visualization.

    Generates a padded text representation of the alignment for visualization. The returned sequence will consist of three lines as follows (minus the labels on the left):

    query : ACGTGAACTGACT-ACTGTATGCG align : ||||| |||||| ||||||||.| target: ACGTG--CTGACTGACTGTATGGG

    matchChar

    the character to use in the alignment line when the bases match

    mismatchChar

    the character to use in the alignment line when the bases mismatch

    gapChar

    the character to use in the alignment line when one of the sequences is gapped

    padChar

    the character to use in the query or target sequence lines when padding is required

    returns

    Three lines representing the alignment

  22. val query: Array[Byte]
  23. def queryEnd: Int

    One based closed coordinate of the end of the alignment on the query sequence.

  24. val queryStart: Int
  25. val score: Int
  26. def subByQuery(start: Int, end: Int): Alignment

    Returns a subset of the Alignment representing the region defined by start and end on the query sequence.

    Returns a subset of the Alignment representing the region defined by start and end on the query sequence. The returned alignment will contain the entire query and target sequences, but will have adjusted queryStart and targetStart positions and an updated cigar. The score is set to 0.

    start

    the 1-based inclusive position of the first base on the query sequence to include

    end

    the 1-based inclusive position of the last base on the query sequence to include

    returns

    a new Alignment with updated coordinates and cigar

  27. def subByTarget(start: Int, end: Int): Alignment

    Returns a subset of the Alignment representing the region defined by start and end on the target sequence.

    Returns a subset of the Alignment representing the region defined by start and end on the target sequence. The returned alignment will contain the entire query and target sequences, but will have adjusted queryStart and targetStart positions and an updated cigar. The score is set to 0.

    start

    the 1-based inclusive position of the first base on the target sequence to include

    end

    the 1-based inclusive position of the last base on the target sequence to include

    returns

    a new Alignment with updated coordinates and cigar

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val target: Array[Byte]
  30. def targetEnd: Int

    One based closed coordinate of the end of the alignment on the query sequence.

  31. val targetStart: Int
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (Alignment, B)
    Implicit
    This member is added by an implicit conversion from Alignment to ArrowAssoc[Alignment] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Alignment to any2stringadd[Alignment]

Inherited by implicit conversion StringFormat from Alignment to StringFormat[Alignment]

Inherited by implicit conversion Ensuring from Alignment to Ensuring[Alignment]

Inherited by implicit conversion ArrowAssoc from Alignment to ArrowAssoc[Alignment]

Ungrouped