Packages

package util

Routines and classes for managing sequence and k-mer representations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class InvalidNucleotideException extends Exception

    Thrown when we encounter a letter in the sequence input that we do not expect to see

  2. abstract class KmerTable extends IndexedSeq[Array[Long]]

    A k-mer table is a collection of k-mers, stored in column-major format.

    A k-mer table is a collection of k-mers, stored in column-major format. The first k-mer is stored in kmers(0)(0), kmers(1)(0), ... kmers(n)(0); the second in kmers(0)(1), kmers(1)(1)... kmers(n)(1) and so on. This layout enables fast radix sort. The KmerTable is optionally sorted by construction (by KmerTableBuilder). Each k-mer may contain additional annotation data ("tags") in longs following the sequence data itself.

  3. final class KmerTable1 extends KmerTable

    Specialized KmerTable for n = 1 (k <= 32)

  4. final class KmerTable2 extends KmerTable

    Specialized KmerTable for n = 2 (k <= 64)

  5. final class KmerTable3 extends KmerTable

    Specialized KmerTable for n = 3 (k <= 96)

  6. final class KmerTable4 extends KmerTable

    Specialized KmerTable for n = 4 (k <= 128)

  7. final class KmerTableBuilder extends AnyRef

    Builder for k-mer tables.

    Builder for k-mer tables. K-mers are built by gradually adding longs in order.

  8. final class KmerTableN extends KmerTable

    General KmerTable for any value of n

  9. trait NTBitArray extends AnyRef

    A bit-packed array of nucleotides, where each letter is represented by two bits.

  10. class NTBitDecoder extends AnyRef

    Methods for decoding NT sequences of a fixed length, with reusable buffers.

  11. class NestedRowTagProvider extends RowTagProvider

    Wrap a TagProvider into a RowTagProvider by fixing the row

  12. final case class OffsetNTBitArray(data: Array[Long], offset: Int, size: Int) extends NTBitArray with Product with Serializable

    An NTBitArray that begins at some offset in its binary data

    An NTBitArray that begins at some offset in its binary data

    data

    the encoded data

    offset

    the offset where this sequence starts

    size

    the size of this data

  13. trait RowTagProvider extends AnyRef

    Source of tags for a single row (super-mer) of k-mers

  14. trait TagProvider extends AnyRef

    Source of tags for a set of k-mers arranged in two dimensions, where the row identifies a super-mer and the col identifies a k-mer position in the super-mer

  15. final case class ZeroNTBitArray(data: Array[Long], size: Int) extends NTBitArray with Product with Serializable

    An NTBitArray that begins at offset zero in its binary data

    An NTBitArray that begins at offset zero in its binary data

    data

    the encoded data

    size

    the size of this data

Value Members

  1. object Arrays
  2. object BitRepresentation

    Helper functions for working with a low level bit representation of nucleotide sequences.

  3. object DNAHelpers
  4. object EmptyRowTagProvider extends RowTagProvider
  5. object KmerTable
  6. object NTBitArray

Inherited from AnyRef

Inherited from Any

Ungrouped