R Under development (unstable) (2025-09-02 r88773 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(SVAlignR) > data(longreads) > seqs <- longreads$connection[1:15] > pad <- c(rep("0", 9), rep("", 6)) > names(seqs) <- paste("LR", pad, 1:length(seqs), sep = "") > seqs <- seqs[!duplicated(seqs)] > > alfa <- Cipher(seqs) > seqclust <- SequenceCluster(seqs, NC = 5) > plot(seqclust) > coded <- encode(alfa, seqclust@rawSequences) > kmers <- lapply(1:11, function(N) {countWords(coded, N)}) > #motifNodes <- lapply(kmers, function(x) x[names(x) %in% names(motifs)]) > #save(alfa, motifs, kmers, motifNodes, decomp, > # file = file.path(paths$scratch, "motifNodes.Rda")) > > proc.time() user system elapsed 2.53 0.32 2.79