Packages

o

com.jnpersson.discount

ReadSplitDemo

object ReadSplitDemo

Minimal test program that demonstrates using the Discount API to split reads into super-mers without using Spark. Single-threaded, only works for FASTA files with unbroken reads. It is recommended to run on small input files so that the result can be inspected manually. In the output, the minimizer of each super-mer will be highlighted.

This tool makes use of the Discount configuration class CoreConf for convenience reasons. Note that this will ignore many arguments, for example the sample fraction (will always equal 1.0 as true sampling is not supported). However, in principle, all the minimizer orderings supported by Discount are supported. This tool ignores the following arguments: --long, --maxlen, --normalize, --numCPUs, --sample. Support for other arguments may be partial. Unlike the full Discount, only one file can be processed.

Run with e.g. the following command: sbt "runMain com.jnpersson.discount.ReadSplitDemo -m 10 -k 28 small.fasta"

To get help: sbt "runMain com.jnpersson.discount.ReadSplitDemo --help"

This tool is only a demo and currently ignores the following parameters: --maxlen, --normalize, --sample.

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

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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def highlighted(data: String, pattern: String): String
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def main(args: Array[String]): Unit
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def prettyOutput(conf: ReadSplitConf, supermers: Boolean, kmers: Boolean): Unit

    Print reads, optionally super-mers, and optionally k-mers, with highlighted minimizers.

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def writeToFile(conf: ReadSplitConf, destination: 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