Refactor similarity engine and implement parallel clustering

Introduces parallel processing for clustering, refines scoring mechanisms, and expands test coverage for the alignment functionality.

This change introduces parallel processing capabilities within the clustering logic, updates the core similarity engine with new data structures and scoring methods, and implements a comprehensive test suite for the alignment tool. It also adds new command-line options for configuring alignment parameters and reference lengths.
This commit is contained in:
Eric Coissac committed 2026-11-03 14:04:32 +11:00
1 parent 49225030ca
commit e511650f5b
61 files changed
+13397 -801

No files matched your search

+8
View File
@@ -48,6 +48,14 @@ func ReadSequencesBatchFromFiles(filenames []string,
log.Printf("Start reading of file : %s", filename)
// The batches of a file reach us in any order (parallel parsing
// of the headers). They are numbered here in arrival order, so
// the order of the file must be restored first, unless the
// order of the data is not wanted (several concurrent readers).
if concurrent_readers == 1 {
iter = iter.SortBatches()
}
for iter.Next() {
batch := iter.Get()
batchiter.Push(batch.Reorder(nextCounter()))