final case class CanonicalPriorities[+P <: MinimizerPriorities](inner: P) extends MinimizerPriorities with Product with Serializable
Canonicalise a minimizer ordering. This maps each potential minimizer to its forward orientation (which must also be a valid minimizer). This effectively cuts the size of the minimizer set by up to half.
- Alphabetic
- By Inheritance
- CanonicalPriorities
- Product
- Equals
- MinimizerPriorities
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CanonicalPriorities(inner: P)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
lazy val
decoder: ThreadLocal[NTBitDecoder]
- Attributes
- protected
- Definition Classes
- MinimizerPriorities
- Annotations
- @transient()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
humanReadable(priority: NTBitArray): NTSeq
Human-readable string corresponding to a given minimizer.
Human-readable string corresponding to a given minimizer. Not optimized for frequent use.
- Definition Classes
- MinimizerPriorities
-
def
humanReadable(priority: Long): NTSeq
- Definition Classes
- MinimizerPriorities
- val inner: P
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
motifFor(priority: NTBitArray): NTBitArray
Get the minimizer for a given priority.
Get the minimizer for a given priority. For canonical orderings, this is not a true inverse of priorityOf (reverse and forward minimizers would map to the same value).
- Definition Classes
- CanonicalPriorities → MinimizerPriorities
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
numLargeBuckets: Long
Number of buckets (minimizers) expected to be very large (frequent), if any
Number of buckets (minimizers) expected to be very large (frequent), if any
- Definition Classes
- CanonicalPriorities → MinimizerPriorities
-
def
numMinimizers: Option[BucketId]
Total number of distinct minimizers in this ordering, if available.
Total number of distinct minimizers in this ordering, if available. This may be an upper bound. The largest value returned by priorityOf will be smaller than this value.
- Definition Classes
- CanonicalPriorities → MinimizerPriorities
-
def
priorityOf(motif: NTBitArray): NTBitArray
Get the priority of the given minimizer.
Get the priority of the given minimizer. If not every m-mer is a minimizer, then util.NTBitArray.empty indicates an invalid minimizer.
- Definition Classes
- CanonicalPriorities → MinimizerPriorities
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
width: Int
Minimizer width (m)
Minimizer width (m)
- Definition Classes
- CanonicalPriorities → MinimizerPriorities
-
def
writePriorityOf(motif: NTBitArray, buffer: NTBitArray): NTBitArray
Write the priority of the given minimizer to the provided buffer.
Write the priority of the given minimizer to the provided buffer. If not every m-mer is a minimizer, then util.NTBitArray.empty indicates an invalid minimizer.
- motif
The motif to get the priority of
- buffer
The buffer to write the priority to
- returns
The buffer for chaining
- Definition Classes
- CanonicalPriorities → MinimizerPriorities
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated