Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0#
Breaking changes#
The default seqlet caller changed from the raw recursive algorithm to
"recursive_q99_abs_smooth", so seqlet calls differ from previous versions by default. Passmethod="recursive_raw"to reproduce the old behaviour.The seqlet DataFrame (and the resulting
adata.obs) columnp-valuewas renamed toscore. For the recursive callersscore = -log10(p)(higher = more significant); for the other callers it is a caller-specific confidence score, not a p-value.extract_seqletsno longer exposesthresholdandadditional_flanksas dedicated parameters; they are still accepted as keyword arguments (forwarded to the recursive callers). Positional use of a third argument now setsmethod.The log-likelihood used by
tfmindi.tl.evaluate_topic_modelswas accumulating incorrectly (see Bugfixes). Now that it is fixed, the model-selection sweep can pick a different number of topics than previous versions did for the same data.method="finemo_fit_contrib"now writes a numericscore(the strongest hit coefficient of a merged seqlet) instead of a comma-joined string, restoring the shared seqlet-caller column contract. The full per-hit coefficients moved to a newfinemo_hit_coefficientscolumn.adata.obs["seqlet_oh"]andadata.obs["seqlet_matrix"]are no longer stored. Both were exact slices of the regions already held inadata.uns["unique_examples"], and are now derived through the new accessorstfmindi.pp.get_seqlet_oh/get_seqlet_ohsandget_seqlet_matrix/get_seqlet_matrices(plural forms take an array of row positions and are the fast path). Consequentlycreate_seqlet_adatano longer takes aseqlet_matricesargument.adata.uns["unique_examples"]["oh"]is stored asuint8instead of following thedtypeargument, which now governs only the contribution scores and motif PPMs. One-hot data needs a single bit per entry, and this is the largest array in the object after.X.Seqlet.seq_instanceisuint8as a result; its values are unchanged.Pattern files (
save_patterns) store each region’s one-hot once in a file-level_regionsgroup keyed byexample_idx, instead of repeating the full region for every seqlet of every pattern._SEQLET_SPECis bumped to2.0;load_patternsstill reads1.0files.tfmindi.tl.cluster_seqletsis replaced bytfmindi.tl.embed_and_cluster, which does PCA → neighbours → t-SNE → Leiden and nothing else. The DBD annotation it used to bolt on (adata.obs["seqlet_dbd"],["cluster_dbd"],["mean_contrib"]) is gone; per-seqlet TF-family annotation istfmindi.tl.predict_tf_family_seqlets’ job.The
dbd_col/dbd_columnparameters are renamed toannotation_coland no longer default to"cluster_dbd", intfmindi.tl.create_patterns,tfmindi.tl.run_topic_modeling,tfmindi.pl.dbd_heatmap,tfmindi.pl.region_contributionsandtfmindi.pl.dbd_topic_heatmap. The column written bypredict_tf_family_seqletscarries the clustering resolution in its name (predicted_<resolution>_predicted_family), so no fixed default can be right; the functions that need one now raise and list the candidate columns instead of silently using a stale name.tfmindi.pl.tsne/tsne_logosdefaultcolor_byto"leiden".tfmindi.pl.dbd_logosandtfmindi.pl.dbd_cluster_logosare merged into a singletfmindi.pl.pattern_logos.group_by="annotation"reproduces the former (one representative logo per TF family) andannotation="bHLH"the latter (every pattern carrying that annotation); passing neither draws every pattern, which was not previously possible without open-coding alogomakerloop — as the analysis tutorial in fact did.Removed
tfmindi.pl.set_colors,tfmindi.pl.reset_colors,tfmindi.backends.get_array_module,tfmindi.backends.to_cpu,tfmindi.backends.to_gpuand the unreferencedtfmindi.pp.mappingsmodule — none had a call site in the package, the tests, the notebooks orpaper/.tfmindi.tl.run_topic_modelingno longer adds a permanentregion_idcolumn to the caller’sadata.obsas a side effect.tfmindi.tl.embed_regions(embedding="count")no longer falls back to a hardcoded"predicted_5.0_predicted_family"annotation column.
Features#
tfmindi.tl.predict_tf_family_seqletscaches the reference projection inobsm["X_ref_proj_{n_motifs_per_reference_cluster}"]and reuses it on later calls (passrecompute=Trueto rebuild). The projection is the only thing that needs the complete similarity profile, and it depends solely on the reference budget, never oncluster_resolution— so once it exists,.Xcan be pruned or replaced and annotation still works, at any resolution. At 583k seqlets x 5707 motifs the cache is ~117 MB against ~26 GB for the full matrix, which is what makes it practical to keep ann_nearest-pruned.Xon disk without the biased predictions described under Bugfixes. Only the rebuild path reads.X, so the reference motifs no longer have to be present in.var_nameswhen the cache is used.tfmindi.pp.calculate_motif_similarityacceptsreferenceandn_motifs_per_reference_cluster, projecting each chunk into the reference PCA space while its complete similarity profile is still in memory and returning that projection alongside the matrix. This makesn_nearestfree of consequences: only the pruned matrix is ever accumulated, yet the projectionpredict_tf_family_seqletsneeds saw every full profile. At 583k seqlets x 5707 motifs it takes peak memory for this step from ~35 GB to ~3 GB and the stored matrix from ~17 GB to ~0.5 GB, with family assignments identical to the full-matrix answer and a projection invariant tochunk_size. Store the returned array atadata.obsm[f"X_ref_proj_{n_motifs_per_reference_cluster}"]. Withoutreferencethe function behaves exactly as before, returning the matrix alone.tfmindi.pp.extract_seqletsnow supports multiple seqlet-calling algorithms through themethodargument:"recursive_q99_abs_smooth"(new default): triangular smoothing + per-region q99 normalization + the recursive caller on the absolute importance track. Because it calls on absolute importance, it captures both positive and negative seqlets, resolving the “positive-only” limitation of the previous algorithm noted in 1.1.0."recursive_raw": the recursive caller on the raw signed track. Reproduces the previous default behaviour."hysteresis": two-threshold local caller."local_contrast": multi-scale sliding-window contrast caller."wavelet_otsu": wavelet-denoise + Otsu-threshold caller (adds apywaveletsdependency).
Method-specific hyperparameters can now be passed directly as keyword arguments, e.g.
extract_seqlets(contrib, oh, method="hysteresis", seed_z=3.0).tfmindi.tl.predict_tf_family_seqletssends the similarity matrix to the GPU in row chunks instead of all at once, bounding the device footprint at 4.5 GB rather than the size of the matrix. Beyond ~2.1e9 nonzeros the previous code could not run on the GPU at all: the nonzero count exceeds the int32 range cuSPARSE indexes with, so the projection asked for one 17.4 GB allocation and the step fell back to the CPU even on an 80 GB card. At 583k seqlets x 5707 motifs the step now takes 43 s instead of 193 s, and reproduces the exact-kNN answer on all 582,915 seqlets. Predicted labels are unchanged by the chunk size.tfmindi.tl.embed_and_clusterkeeps PCA on the GPU for similarity matrices with more than2**31 - 1nonzeros. Past that point cuSPARSE’sSpMM— whichrapids_singlecell’s sparse PCA uses to project onto its components — fails withCUSPARSE_STATUS_INTERNAL_ERROR, and the step silently fell back to the CPU. Such matrices now go throughrapids_singlecell’s Dask path in 50,000-row blocks, none of which reaches the ceiling: 71 s instead of 562 s at 583k seqlets × 5707 motifs, matching the CPU result to|corr| = 1.0000on all 50 components. Matrices below the ceiling take the same direct call as before. Addsdaskto thegpuextra, sincerapids-singlecellonly declares it as an optional dependency of its own.tfmindi.pl.pattern_logosandtfmindi.pl.tsne_logosdraw their sequence logos with the package’s own cached-glyph renderer instead oflogomaker, which built a fresh glyph outline per character. This is 5x faster for a single logo and 6.6-8.9x for a grid of them (55 logos: 8.1 s -> 1.1 s). The rendered output is pixel-identical.
GPU acceleration#
tfmindi.tl.create_patterns(method="tomtom")now dispatches its within-cluster TomTom alignment through the same GPU path, falling back tomemelite.tomtomon any failure. This is an all-vs-all comparison, so both axes grow with the cluster and the GPU wins from small clusters upward rather than only on large motif collections: 1.4x at 100 seqlets per cluster, 4.0x at 1,000, and 11x at 4,000. The root seqlet and its offsets and strands – the only outputs the function consumes – are unchanged, and so are the resulting patterns. The seqlet matrices are upcast to float64 before the alignment: they are stored as float32 in the AnnData, but TomTom is float64 everywhere else in the package and the GPU kernels are float64 only. On the CPU this costs nothing measurable and produces the same patterns.tfmindi.pp.calculate_motif_similaritynow runs TomTom’s column-distance stage and its alignment scoring on the GPU when the GPU backend is active, falling back tomemelite.tomtomon any failure. Measured on an L40S against the full 18k-motifv10nr_clustcollection, this is ~9x faster than the 8-core CPU path (7.5 s -> 0.8 s for 326 seqlets). Against a 5,000-motif sampled collection – the more common case – it is ~7x at 10,000 seqlets and holds a flat ~1.1 ms/seqlet in sustained 100k-seqlet runs. Below roughly 10^5 seqlet x motif pairs the GPU path is marginally slower (~0.9x); it wins from there.The GPU TomTom path matches the CPU one and is deterministic across re-runs. It needs only
cupy, not the full RAPIDS stack. p-values, scores, offsets, overlaps, strands and nearest-neighbour indices all compare equal on the full 18k collection. On other inputs the distance kernel’s fused multiply-add can round a distance differently from numpy in the last place, which very occasionally shifts a p-value: measured over 6,000 seqlets against 50 nearest motifs, 0 seqlets changed their selected motifs – set, order or best match – and 0.05-0.14% of the stored similarity values moved, typically by ~1e-5. Cluster assignment is unaffected.TomTom’s p-value dynamic program, the one stage that stays on the CPU, is ~2.6x faster. Its scratch space is sized for the longest query in a batch and for the nominal score-bin range, but any one query touches a small corner of it – and within that corner, only the true nonzero support of each score histogram, about half the nominal bins on real data. Confining every loop to the live window skips only additions of exact zeros, so every value produced is unchanged. The per-query nearest-neighbour selection is parallel over queries as well (~6x).
The GPU and the dynamic program now overlap fully: each batch’s dynamic program is handed to a worker thread the moment its score histograms exist, writing one of two alternating host buffers while the previous batch is scored from the other. The batch size is halved to pay for the second buffer, so peak memory is unchanged.
The TomTom batch size is now capped on available host memory as well as on free GPU memory. A large card previously drove the host to ~9.6 GB of resident memory on a 5,000-motif run; the same run now peaks at ~4.3 GB.
tfmindi.tl.embed_regions/calculate_embedding_tsneandtfmindi.tl.leiden_clusteringnow run on the GPU when the GPU backend is active, via cuML t-SNE and rapids-singlecell neighbors/Leiden. Previously the region-level pipeline was CPU-only even though the equivalent seqlet-level steps intfmindi.tl.embed_and_clusterwere already accelerated.tfmindi.pl.region_topic_tsne, which embeds every region at plot time, is accelerated too.tfmindi.tl.predict_tf_family_seqletskeeps its whole GPU path on the device: the reference projection is done withcupyxsparse (reusing the same rank-1 centering identity as the CPU path), and the k-NN vote is reduced on the GPU. Only the two per-seqlet result vectors are copied back, instead of the full (n_seqlets x n_reference_clusters) probability table thatcuml.KNeighborsClassifier.predict_probareturned.Any failure inside a GPU step now warns and re-runs that step on the CPU. Previously an import error or an unsupported cuML argument aborted the call, and
predict_tf_family_seqletshad no fallback at all.
Note on reproducibility: the GPU k-NN is exact (brute force), while the CPU path uses pynndescent,
which is approximate. The two therefore assign slightly different families for seqlets near a
cluster boundary — measured against exact brute force, pynndescent recall is ~1.00 for queries
sitting inside the reference cloud and degrades for queries far outside it. The GPU result is the
more accurate of the two.
Performance#
Work towards genome-wide (1M+ seqlet) runs. All changes below are output-preserving; the sparse similarity matrices are bit-identical to previous versions and the reference projection agrees to ~1e-7 relative error.
tfmindi.pl.region_contributionsdraws its saliency logo ~26x faster on a 500 bp region (1.74 s -> 0.07 s) and ~265x faster on a 2 kb one (8.0 s -> 0.03 s).logomakerbuilds a freshTextPathfor every character it draws; the four glyph outlines are now built once and placed with an affine transform into a singlePathCollection. Geometry, colours and axis limits reproducelogomaker.Logo’s defaults, so the figure is unchanged: glyph vertices agree to ~1e-14 and the rendered PNG is pixel-identical up to antialiasing. The other logo plots still uselogomaker, which is faster for grids of many short logos.tfmindi.pp.calculate_motif_similarityno longer accumulates sparse-matrix coordinates in Python lists (~10x the memory of the equivalent numpy arrays) and no longer allocates a second full seqlet x motif matrix for the log transform. Its four near-duplicate code paths were merged into one, which also meanschunk_sizenow genuinely bounds peak memory instead of accumulating every chunk’s coordinates. The non-chunked thresholding path was additionally missing afloat32cast that its three sibling paths had, so it held the full matrix infloat64.tfmindi.tl.predict_tf_family_seqletsno longer densifies the similarity matrix. Row-centering is applied through the rank-1 identity(X - mu.1^T) P == X P - outer(mu, P.sum(0)), so.Xstays sparse through the projection. Neighbour votes are tallied with a singlebincountinstead of one full scan per reference cluster, and the cluster-to-family lookup is built once rather than per seqlet.tfmindi.pp.create_seqlet_adatano longer copies the similarity matrix, the motif PPMs or the per-seqlet matrices when they are already the requested dtype, and derives its example indices withpd.factorizeinstead of a per-seqletiterrows()loop.The projected attribution track is computed with
einsum, avoiding a full(n, 4, length)temporary inextract_seqlets.Dropping the duplicated per-seqlet
.obscolumns and storing one-hot data asuint8roughly halves the.h5ad(85 MB -> 46 MB on a 11.8k-seqlet benchmark) and removes ~850 B of resident memory per seqlet. Because the columns no longer have to be pickled to hex strings on the way out,save_h5adis ~50x faster andload_h5ad~4x faster. Reading a cluster’s arrays through the batch accessors is also faster than the.loc-per-seqlet lookups it replaces, so pattern creation does not regress.create_patternsresolves cluster labels to row positions once per cluster instead of callingindex.get_locper seqlet.tfmindi.pp.create_seqlet_adataalignsmotif_annotationswith a singlereindexand mapsmotif_to_dbdin one pass, instead of a scalar.locassignment per motif per annotation column into a DataFrame that grew a column at a time. On a 18k-motif collection with the four standard annotation columns this takes the.varbuild from 8.6 s to 0.03 s. It also no longer walks the seqlet table withiterrows()and computes each seqlet’s maximum absolute contribution once instead of twice.tfmindi.tl.create_patternsderives every cluster’s row positions from onegroupbypass rather than recomputingadata.obs[by] == clusterper cluster (which is O(n_clusters x n_seqlets)), and reads each cluster’s coordinates and region indices in a single positional lookup instead of a scalar.loc/.atper seqlet per column.tfmindi.pl.tsne_logosgroups the same way.tfmindi.datasets.MotifCollectionDatacaches the parsed metadata table, cluster annotations and PCA embeddings instead of re-opening the tar archive and re-parsing on every accessor call —predict_tf_family_seqletsalone triggered five archive opens, two of them re-parsing the full ~18k-row metadata TSV. The four copies of the open/extract/gunzip block were merged into one helper.tfmindi.tl.loglikelihoodevaluatesscipy.special.gammalnover whole matrices instead of loopingmath.lgammaper cell (~67x faster at 100k regions; agrees with the previous result to ~1e-11 relative, i.e. summation-order noise, far below the gaps that drive model selection).tfmindi.tl.evaluate_topic_modelskeeps the best model’s results as it sweeps instead of re-fitting the winner from scratch afterwards, saving a full LDA run.tfmindi.tl.optimal_hierarchical_clusteringno longer computes the AMI and Fowlkes-Mallows scores that nothing reads, and evaluates the 100 candidate cuts on integer cluster ids rather than writing a fresh string column intoregion_adata.obsat every height.tfmindi.tl.predict_tf_family_seqletsnormalizes the KNN vote table after reducing it to the winning class per seqlet, which drops one fulln_seqlets x n_reference_clustersallocation (~4 GB at 1M seqlets and 500 clusters), and formats the family label once per distinct cluster instead of once per seqlet.@numba.njit(cache=True)on the recursive seqlet kernel, so only the first run after an install pays the JIT compile.Dropped the unused
pybigwigandsession-info2dependencies, and declaredscikit-learnandtqdm, which the package imports but only got transitively via scanpy.
Bugfixes#
The recursive seqlet caller’s null distributions had a hard p-value floor.
_recursive_seqlets_distributionbuilt its reverse CDF asrcdf[L, i] = rcdf[L, i-1] - scores[L, i], subtracting biniat stepiinstead of bini-1, soscores[L, 0]was never removed from the tail. Everyrcdf[L, ...]therefore converged tof[0]**Linstead of 0, and since the recursion takes the max over sub-spans, no seqlet could ever score belowf[0]**min_seqlet_len. On small datasetsf[0]is negligible, but the histogram’s bin width is(max - min) / (n_bins - 1)over the whole dataset, so the larger the run the more extreme its single global maximum and the more of the track collapses into bin 0. Atf[0] = 0.74the floor is 0.29 — which is why large runs appeared to need absurdly lenient thresholds and then flipped from zero seqlets to everything within 0.001 of that value. Raisingn_binsonly shrankf[0]; the floor is now gone at anyn_bins. Inherited from the tangermeme implementation this code was ported from. Seqlet calls change on all data (261 vs 262 and 228 vs 227 on the test fixtures).pl.pattern_logossizes its canvas from the subplot grid instead of a fixed 8x8 figure, so the two-line panel titles no longer overlap the logos and matplotlib no longer warns that tight layout could not be applied. Passwidth/heightto override.pl.pattern_logos(sort_by="cluster_id")orders numeric cluster IDs numerically rather than alphabetically (0, 1, 2, ... 10instead of0, 1, 10, 11, ... 2).tfmindi.tl.predict_tf_family_seqletsnow warns whenadata.Xholds pruned similarity profiles. It projects onto reference components fitted on the complete profile across all reference motifs, so a matrix built withcalculate_motif_similarity(..., n_nearest=k)or a stricterthresholdprojects from a small fraction of the loadings and collapses toward the largest reference cluster. Measured at 5,707 reference motifs and 30k seqlets,n_nearest=100moved the top family from 27% to 74% of seqlets and agreed with the unpruned assignment for only 23% of them — identically on both backends, so this is a property of the method, not of a backend. The failure was silent: the KNN confidence score rose slightly under pruning. Passreferencetocalculate_motif_similarityto usen_nearestwithout this cost;chunk_sizeremains a memory knob that never changes the result.method="finemo_fit_contrib"reported the wrongfinemo_hit_motif_nameswhen themotifsdict was keyed by plain strings: each name was truncated to its second character ("m1"became"1"). The lookup assumed the(file_name, motif_name)tuple keys thatMotifCollectionData.get_motifsreturns, and indexed[1]unconditionally. Both key forms are now accepted, as elsewhere in the package. The finemo tests skip themselves whenfinemois not installed, which is why this went unnoticed;finemois now part of thetestextra so the matrix exercises that caller.Detecting whether a GPU is present no longer aborts the pipeline on a machine where
cupyis installed but unusable.cupyimports successfully on a node with no driver, or with one older than the runtime it was built against, and only raises when the CUDA runtime is first called; that raise is not anImportError, so it escaped the probe and propagated out of everytfmindientry point. Such a node now reads as “no GPU”, which is what it is. This is the normal state of a CPU node in a mixed CPU/GPU cluster.tfmindi.tl.evaluate_topic_models: the inner loops of the log-likelihood used=instead of+=, discarding all but the last term of each sum. Model selection was therefore based on a wrong quantity.tfmindi.pp.create_seqlet_adata: passingoh_sequences/contrib_scoreswithoutseqlet_matricessilently stored nothing inuns["unique_examples"]. The two are now independent.tfmindi.tl.create_patterns:**kwargswas forwarded to alignment backends that do not accept it, so passing any extra argument raisedTypeError.method="mafft"now acceptsmax_gap_fracandstrategy.tfmindi.tl.create_patterns(method="kmer"): the consensus PPM was recomputed inside the per-seqlet loop, making pattern creation quadratic in cluster size.tfmindi.load_h5ad: missing values in a restored numpy-array column were mapped to the last category instead ofNone.tfmindi.tl.embed_regions(embedding="count"): the returned region AnnData now carries the annotation categories asvar_namesinstead of an anonymous range.Corrected a tautological assertion in
embed_regionsinput validation, a duplicated entry intfmindi.pl.__all__, and the spec version reported in the seqlet-version-mismatch warning.tfmindi.pp.get_example_contribresolved its region throughadata.obs["example_oh_idx"], so it raised on an AnnData built from contribution scores alone. It now usesexample_contrib_idx.MotifCollectionDatareported the number of PCs of the wrong matrix in the “inconsistent number of PCs” validation error.tfmindi.tl.create_patterns(method="mafft")never reverse-complemented anything: MAFFT was called withadjustdirection=False, so the_R_detection that drives the reverse-complement branches could never fire.adjustdirectionis now a forwardable keyword argument (still off by default).tfmindi.plno longer reseeds the globalrandommodule when it generates a colour palette, which silently reset the caller’s random stream.The former
tfmindi.pl.dbd_logosraisedLogomakerErrorwhenever its grid came out one row tall (e.g. two annotations with the defaultncols), because it reshaped the axes array to 2-D and then indexed it as 1-D.pattern_logoshandles every grid shape.The documentation builds clean again under
-W. The region-embedding tutorial was missing from the toctree, andtl/embedder.pyused a non-numpydocSide effectssection and inline parameter types that Sphinx tried to resolve as classes.tl.embed_regions,tl.calculate_embedding_tsne,tl.leiden_clustering,tl.optimal_hierarchical_clustering,tl.get_region_profiles,pl.region_tsneandpl.plot_top_motifsare now listed in the API reference.Corrected the documented parameter names of
tfmindi.pl.region_contributions(annotation_to_show→annotations_to_show), theshow_logosparameter documented bytfmindi.pl.tsne_logosbut never implemented, theadata.obsm['X_topics']key documented bytfmindi.tl.run_topic_modelingbut never written, and six wrong return annotations intfmindi.tl.embedder.An annotation column of
motif_annotationsthat is numeric and does not cover every motif now lands in.varas a float column withNaNfor the unannotated motifs, rather than an object column mixing ints andNone. The four annotation columns produced bytfmindi.datasets.load_motif_annotationsare all strings and are unaffected.
1.2.0#
This version accompanies the human neural development paper preprint.
Features#
updated to scverse template v0.6.0
added parameter to select pca svd solver for running PCA instead of hardcoded “covariance_eigh”
added functionality to save and load patterns to and from disk (
tfmindi.save_patternsandtfmindi.load_patterns)now allows for patterns to be generated by any annotation in .obs, not only by
leidencan now concatenate multiple TF-MINDI anndatas together using
tfmindi.concatchanged behaviour of seqlet most frequent-occurence for annotating clusters to binomial tests
added MAFFT-based backend as option for pattern creation (much faster than TomTom or k-mer)
Bugfixes#
fix extra 0-position being included in
Pattern.ic_trimfix failure case in in
Pattern.ic_trimwhen all nucleotides are above IC thresholdplotting legends are filtered on colors in
adata.obs[color_by]
1.1.0#
Bugfixes, an updated seqlet calling algorithm, and new k-mer pattern tooling. Be aware that we’re not entirely satisfied with the current seqlet calling algorithm, we’re working on this for the next release.
Updated the recursive seqlet calling algorithm to match the latest version of tangermeme. This generally results in fewer but cleaner seqlets. WARNING: this algorithm now only seems to call positive seqlets (which we don’t agree with). We’re still working on an updated seqlet calling algorithm, but that will be for a next release. For now you can get around this by calling seqlets on absolute contribution scores.
Added new functionality to align seqlet instances based on the hamming distance to most frequently occuring kmer. Default remains tomtom for the time being though.
Consistent colormap keys added to anndata.uns that matches scanpy convention.
BREAKING CHANGE: All topic modeling results are now stored in the anndata, similar to the rest of the api. Topic modeling plotting functions will now also expect the anndata as input. Tutorial has been updated to match this breaking change.
The Pattern class now has additional functions to interact with calculated kmers (eget_unique_kmers, get_kmers, get_kmer_distances). Additionaly, the Seqlet class keeps track of the seqlet index (can be used to find back the seqlet in adata.obs).
Added an option to filter on min_seqlets in logo_plotting (useful in case of small, noisy clusters).
1.0.0#
Initial release