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.
- Alphabetic
- By Inheritance
- ReadSplitDemo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def main(args: Array[String]): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prettyOutput(conf: ReadSplitConf): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def writeToFile(conf: ReadSplitConf, destination: String): Unit