Packages

class Sampling extends AnyRef

Routines for creating and managing frequency sampled minimizer orderings.

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

Instance Constructors

  1. new Sampling()(implicit spark: SparkSession)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def countFeatures(reads: Dataset[NTSeq], table: MinTable, partitions: Int): SampledFrequencies
  7. def createSampledTable(input: Dataset[NTSeq], template: MinTable, sampledFraction: Double, persistLocation: Option[String] = None): MinTable

    Create a MinTable based on sampling reads for minimizer frequencies.

    Create a MinTable based on sampling reads for minimizer frequencies.

    input

    Input reads

    template

    Template table, containing minimizers to sort according to frequencies in the sample

    sampledFraction

    Fraction of input data to sample

    persistLocation

    Location to optionally write the new table to for later reuse

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def motifCounts(reads: Dataset[NTSeq], table: MinTable, partitions: Int): DataFrame

    Count motifs (m-length minimizers) in a set of reads.

    Count motifs (m-length minimizers) in a set of reads.

    table

    Template table with a motif set

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def persistMinimizers(table: MinTable, location: String): Unit

    Write a MinTable's minimizer ordering to a file

    Write a MinTable's minimizer ordering to a file

    table

    The ordering to write

    location

    Prefix of the location to write to. A suffix will be appended to this name.

  19. def persistMinimizers(splitter: MinSplitter[_], location: String): Unit

    Write a splitter's minimizer ordering to a file

    Write a splitter's minimizer ordering to a file

    splitter

    Splitter containing the ordering to write

    location

    Prefix of the location to write to. A suffix will be appended to this name.

  20. def readMotifList(location: String): Array[String]
  21. def readMotifList(location: String, k: Int, m: Int): Array[String]

    Read a saved minimizer ordering/motif list

    Read a saved minimizer ordering/motif list

    location

    Location to read from. If the location is a directory, it will be scanned for files called minimizers_{k}_{m} for various values of m and k and the most optimal file will be used. If it is a file, the file will be read as is.

    k

    k-mer width

    m

    minimizer length

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. def writeFrequencies(f: SampledFrequencies, location: String): Unit

Inherited from AnyRef

Inherited from Any

Ungrouped