class CountedKmers extends AnyRef
Routines for converting encoded super-mers into individual counted k-mers.
- Alphabetic
- By Inheritance
- CountedKmers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CountedKmers(buckets: Dataset[ReducibleBucket], orientation: Orientation, splitter: Broadcast[AnyMinSplitter])(implicit spark: SparkSession)
- buckets
Super-mer buckets
- orientation
orientation filter for k-mers
- splitter
Splitter for constructing super-mers
- spark
the Spark session
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() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
supermersWithTags: Dataset[(BucketId, NTBitArray, Array[Int])]
Obtain these counts as triplets of (minimizer, encoded super-mer, tags for super-mer)
-
def
supermersWithTagsReadable(withZeroTags: Boolean): Dataset[(NTSeq, NTSeq, String)]
Obtain these counts as human-readable triplets of (minimizer, super-mer, tags for super-mer
Obtain these counts as human-readable triplets of (minimizer, super-mer, tags for super-mer
- withZeroTags
whether to include k-mers with zero tags (counts). If false, super-mers will be split as required. Even if true, empty super-mers (purely zero tags) will not be included.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withSequences: Dataset[(NTSeq, Abundance)]
Obtain these counts as pairs of k-mer sequence strings and abundances.
-
def
writeFasta(output: String): Unit
Write counted k-mers with sequences as FASTA files to HDFS.
Write counted k-mers with sequences as FASTA files to HDFS. The count will be used as the sequence ID of each k-mer. This action triggers a computation.
- output
Directory to write to (prefix name)
-
def
writeSupermersFasta(output: String, withZero: Boolean, identifier: String): Unit
Output super-mers as FASTA.
Output super-mers as FASTA. Triggers a computation. Headers will contain identifier, minimizer, and count of every k-mer.
- output
directory to write to (prefix name)
- withZero
include zero k-mers (gaps)
- identifier
FASTA identifier of every sequence
-
def
writeSupermersTSV(output: String, withZero: Boolean): Unit
Output super-mers as TSV.
Output super-mers as TSV. Triggers a computation. The resulting file will contain minimizer, super-mer, and count of every k-mer.
- output
directory to write to (prefix name)
- withZero
output zero k-mers (gaps)
-
def
writeTSV(output: String): Unit
Write a table as TSV.
Write a table as TSV. This action triggers a computation.
- output
Directory to write to (prefix name)
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated