org.bdgenomics.adam

# util

#### 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

   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]

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

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

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

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

   contigMap

     a map containing a Seq of slices per contig.

4. #### class ReferenceContigMapSerializer extends Serializer[ReferenceContigMap]

5. #### trait ReferenceFile extends Serializable

   File that contains a reference assembly that can be broadcasted

6. #### class TwoBitFile extends ReferenceFile

   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]

### Value Members

1. #### object ADAMShell

   Utility methods for use in adam-shell.

2. #### object AttributeUtils

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

3. #### object FileExtensions

   Match path names to file extensions.

4. #### object GenomeFileReader

   Object for reading Bedtools genome files from disk.

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

5. #### object ParquetLogger

   Helper object for setting the logging level for Parquet.

6. #### object PhredUtils extends Serializable

   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

7. #### object ReferenceContigMap extends Serializable

   Companion object for creating a ReferenceContigMap from an RDD of slices.

8. #### object SequenceDictionaryReader

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

9. #### object TextRddWriter

   Writes an RDD to disk as text and optionally merges.

### Ungrouped