writeKmerSet

fun writeKmerSet(set: KmerBigSet, filename: String, zip: Boolean = true)

Writes set to file filename. By default, text file is zipped using LZ4 compression algorithm but zip may be set to false to write a plain text file.


fun writeKmerSet(set: KmerSet, filename: String, zip: Boolean = true, sortedByEncoding: Boolean = false)
fun writeKmerSet(set: KmerMultiSet, filename: String, zip: Boolean = true, sortedByEncoding: Boolean = false)

Writes set to file filename. By default, text file is zipped using LZ4 compression algorithm but zip may be set to false to write a plain text file. By default, order of kmers is not guaranteed but sortedByEncoding may be set to true to guarantee kmers are sorted numerically by their Long representation.