Package

org.bdgenomics.adam

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. case class IndexedFastaFile(sc: SparkContext, filePath: String, stringency: ValidationStringency = ValidationStringency.STRICT) extends ReferenceFile with Logging with Product with Serializable

    Permalink

    Loads and extracts sequences directly from indexed fasta or fa files.

    Loads and extracts sequences directly from indexed fasta or fa files. filePath requires fai index in the same directory with same naming convention.

    filePath

    path to fasta or fa index

  2. class ParquetFileTraversable[T <: IndexedRecord] extends Traversable[T]

    Permalink

    Implements a traversable collection that is backed by a Parquet file.

  3. case class ReferenceContigMap(contigMap: Map[String, Seq[NucleotideContigFragment]]) extends ReferenceFile with Product with Serializable

    Permalink

    A broadcastable ReferenceFile backed by a map containing contig name -> Seq[NucleotideContigFragment] pairs.

    A broadcastable ReferenceFile backed by a map containing contig name -> Seq[NucleotideContigFragment] pairs.

    contigMap

    a map containing a Seq of contig fragments per contig.

  4. class ReferenceContigMapSerializer extends Serializer[ReferenceContigMap]

    Permalink
  5. trait ReferenceFile extends Serializable

    Permalink

    File that contains a reference assembly that can be broadcasted

  6. class TwoBitFile extends ReferenceFile

    Permalink

    Represents a set of reference sequences backed by a .2bit file.

    Represents a set of reference sequences backed by a .2bit file.

    See http://genome.ucsc.edu/FAQ/FAQformat.html#format7 for the spec.

  7. class TwoBitFileSerializer extends Serializer[TwoBitFile]

    Permalink

Value Members

  1. object AttributeUtils

    Permalink

    AttributeUtils is a utility object for parsing optional fields from a BAM file, or the attributes column from an ADAM file.

  2. object GenomeFileReader

    Permalink

    Object for reading Bedtools genome files from disk.

    Object for reading Bedtools genome files from disk. Also supports UCSC Genome Browser chromInfo files.

  3. object ParquetLogger

    Permalink

    Helper object for setting the logging level for Parquet.

  4. object PhredUtils extends Serializable

    Permalink

    Helper singleton for converting Phred scores to/from probabilities.

    Helper singleton for converting Phred scores to/from probabilities.

    As a reminder, given an error probability \epsilon, the Phred score q is:

    q = -10 log_{10} \epsilon

  5. object ReferenceContigMap extends Serializable

    Permalink

    Companion object for creating a ReferenceContigMap from an RDD of contig fragments.

  6. object SequenceDictionaryReader

    Permalink

    Object for reading sequence dictionary files (.dict) from disk.

  7. object TextRddWriter

    Permalink

    Writes an RDD to disk as text and optionally merges.

Ungrouped