org.hammerlab.guacamole.reference

ReferenceBroadcast

object ReferenceBroadcast extends Logging with Serializable

Linear Supertypes
Serializable, Serializable, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReferenceBroadcast
  2. Serializable
  3. Serializable
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayBackedReferenceSequence(contigName: ContigName, wrapped: Broadcast[Array[Byte]]) extends ContigSequence with Product with Serializable

    The standard ContigSequence implementation, which is an Array of bases.

  2. case class MapBackedReferenceSequence(contigName: ContigName, length: NumLoci, wrapped: Broadcast[Map[Int, Byte]]) extends ContigSequence with Product with Serializable

    A ContigSequence implementation that uses a Map to store only a subset of bases.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(broadcastedContigs: Map[String, ContigSequence]): ReferenceBroadcast

  7. def apply(fastaPath: String, sc: SparkContext, partialFasta: Boolean = false): ReferenceBroadcast

    Load a ReferenceBroadcast, caching the result.

    Load a ReferenceBroadcast, caching the result.

    fastaPath

    Local path to a FASTA file

    sc

    the spark context

    partialFasta

    is this a "partial fasta"? Partial fastas are used in tests to load only a subset of the reference. In production runs this will usually be false.

    returns

    ReferenceBroadcast which maps contig/chromosome names to broadcasted sequences

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  11. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  15. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  20. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  22. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  23. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  26. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  27. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  28. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def readFasta(fastaPath: String, sc: SparkContext): ReferenceBroadcast

    Read a regular fasta file

    Read a regular fasta file

    fastaPath

    local path to fasta

    sc

    the spark context

    returns

    a ReferenceBroadcast instance containing ArrayBackedReferenceSequence objects.

  33. def readPartialFasta(fastaPath: String, sc: SparkContext): ReferenceBroadcast

    Read a "partial fasta" from the given path.

    Read a "partial fasta" from the given path.

    A "partial fasta" is a fasta file where the reference names look like "chr1:9242255-9242454/249250621". That gives the contig name, the start and end locus, and the total contig size. The associated sequence in the file gives the reference sequence for just the sites between start and end.

    Partial fastas are used for testing to avoid distributing full reference genomes.

    fastaPath

    local path to partial fasta

    sc

    the spark context

    returns

    a ReferenceBroadcast instance containing MapBackedReferenceSequence objects

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  37. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  42. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped