object NTBitArray extends Serializable
- Alphabetic
- By Inheritance
- NTBitArray
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
blank(size: Int): NTBitArray
Fill an NTBitArray with all zeroes (the nucleotide A)
-
def
builder(capacity: Int): NTBitArrayBuilder
Create a new builder with the given capacity.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
decoder: NTBitDecoder
A decoder that can decode NT sequences of a fixed max length.
- val empty: NTBitArray
-
def
encode(data: NTSeq): NTBitArray
Reversibly encode a nucleotide sequence as an array of 64-bit longs.
Reversibly encode a nucleotide sequence as an array of 64-bit longs. The 2*length leftmost bits in the array will be populated.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fill(data: Long, size: Int): NTBitArray
Populate an NTBitArray with a fixed pattern repeatedly to reach a given size.
Populate an NTBitArray with a fixed pattern repeatedly to reach a given size. No shifting will be performed.
-
def
fromLong(data: Long, size: Int): NTBitArray
Populate a new NTBitArray with a single right-aligned long, shifting it to be left-aligned.
Populate a new NTBitArray with a single right-aligned long, shifting it to be left-aligned. Only well-defined when the data fits inside a positive long, i.e. size <= 31. The inverse mapping is NTBitArray.toLong.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def longBuffer(size: Int, fill: Long): Array[Long]
- def longBuffer(size: Int): Array[Long]
- def longsForSize(size: Int): Int
-
def
longsToString(data: Array[Long], offset: Int, size: Int): NTSeq
Decode a previously encoded NT sequence to human-readable string form.
Decode a previously encoded NT sequence to human-readable string form.
- data
encoded data
- offset
0-based offset in the data array to start from
- size
number of letters to decode
- returns
decoded string
-
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
shiftLongArrayKmerLeft(data: Array[Long], addRight: Byte, k: Int): Unit
Shift an array of two-bits one step to the left, dropping one bp, and inserting another on the right.
Shift an array of two-bits one step to the left, dropping one bp, and inserting another on the right.
- data
The sequence to shift
- addRight
New two-bit nucleotide to insert on the right
- k
k
-
def
shiftLongKmerAndWrite(data: Array[Long], addRight: Byte, k: Int, destination: KmerTableBuilder): Unit
Shift an array of two-bits one step to the left, dropping one bp, and inserting another on the right.
Shift an array of two-bits one step to the left, dropping one bp, and inserting another on the right. Write the result to a KmerTableBuilder.
- data
The sequence to shift
- addRight
New two-bit nucleotide to insert on the right
- k
k
- destination
KmerTableBuilder where the result should be inserted
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated