Packages

final case class ShiftScanner(priorities: MinimizerPriorities) extends Product with Serializable

Bit-shift scanner for fixed width motifs. Identifies all valid (according to some MinimizerPriorities) motifs/minimizers in a sequence.

priorities

The minimizer ordering to scan for motifs of

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShiftScanner
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShiftScanner(priorities: MinimizerPriorities)

    priorities

    The minimizer ordering to scan for motifs of

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allMatches(data: (Int) ⇒ Int, size: Int): (ZeroNTBitArray, Array[Long])

    Find all matches in a nucleotide string.

    Find all matches in a nucleotide string. Returns a pair of 1) the encoded nucleotide string, 2) an array with the IDs (rank values) of matches (potential minimizers) in order, or Motif.INVALID for positions where no valid matches were found. The first (m-1) items are always Motif.INVALID, so that the position in the array corresponds to a position in the string.

    The data() function is Int->Int rather than Int->Byte, since scala.Function1 is not specialized on Byte return values, causing boxing

    data

    Function to get the two-bit encoded nucleotide at the given position [0, size)

    size

    Length of input

    returns

    a pair of (encoded nucleotide string, minimizer IDs)

  5. def allMatches(data: ZeroNTBitArray, reverseComplement: Boolean = false): (ZeroNTBitArray, Array[Long])

    Find all matches in an encoded nucleotide string, or of its reverse complement.

    Find all matches in an encoded nucleotide string, or of its reverse complement.

    data

    the encoded nucleotide string to find minimizers in

    reverseComplement

    whether to traverse the RC of the string rather than the forward orientation

    returns

    a pair of (encoded nucleotide string, minimizer IDs)

  6. def allMatches(data: NTSeq): (ZeroNTBitArray, Array[Long])

    Find all matches in a nucleotide string.

    Find all matches in a nucleotide string.

    data

    input data (NT sequence)

    returns

    a pair of (encoded nucleotide string, minimizer IDs)

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def matchesOnly(data: (Int) ⇒ Int, len: Int): Iterator[Long]

    Find all valid matches in a nucleotide string.

    Find all valid matches in a nucleotide string. Returns valid potential minimizers in order, but their positions will not be identifiable.

    The data() function is Int->Int rather than Int->Byte, since scala.Function1 is not specialized on Byte return values, causing boxing

    data

    Function to get the two-bit encoded nucleotide at the given position [0, size)

    len

    Length of input

    returns

    valid minimizer IDs

  14. def matchesOnly(data: NTSeq): Iterator[Long]

    Efficiently find valid matches only in a nucleotide string.

    Efficiently find valid matches only in a nucleotide string. Invalid bases will be skipped correctly as if the string was split.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val priorities: MinimizerPriorities
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped