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
- Alphabetic
- By Inheritance
- ShiftScanner
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ShiftScanner(priorities: MinimizerPriorities)
- priorities
The minimizer ordering to scan for motifs of
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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)
-
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)
-
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)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val priorities: MinimizerPriorities
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()