hammerlab / genomic-utils   1.3.2

Apache License 2.0 GitHub

Utilities for working with genomic bases, cigar strings, and phred scores.

Scala versions: 2.11

genomic-utils

Build Status Coverage Status Maven Central

Utilities for working with genomic bases, cigar strings, and phred scores.

  • Bases wraps a Vector[Base], and implements BasesBuffer, with Int length
    • well-suited for sub-contig-sized genomic-sequences, e.g. reads.
  • BasesBuffer is a more general interface that can also be implemented for contig-sized sequences (often with Long length); see Contig.
  • Base wraps a Byte, and only a maximum of 5 are instantiated (A, C, G, T, and N).
  • All "wrapping" referenced above uses value classes and carries no run-time cost.