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() @IntrinsicCandidate()
  6. def countFeatures(reads: Dataset[NTSeq], table: MinTable, partitions: Int): SampledFrequencies
  7. def createSampledTable(input: Dataset[InputFragment], 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 data (already sampled)

    template

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

    sampledFraction

    Fraction of input data that was sampled. Note: the input data is assumed to already be sampled, but we need this value again for data adjustments.

    persistLocation

    Location to optionally write the new table to for later reuse count

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def motifCounts(reads: Dataset[NTSeq], table: MinTable, partitions: Int): Dataset[(Int, Long)]

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

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

    reads

    Data to count motifs in

    table

    Template table with a motif set

    returns

    a DataFrame with (motif, count) pairs

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def readMotifList(location: String): Dataset[Int]
  18. def readMotifList(location: String, k: Int, m: Int): Dataset[Int]

    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

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped