From the code examples and API, it seems the following is the standard use case.
for each batch{
wfagpu_initialize_aligner
wfagpu_add_sequences from batch
do settings
wfagpu_align
wfagpu_destroy_aligner
}
Is it possible to initialize the aligner once, and re-use it for all batches? This would avoid memory allocation for each batch.
wfagpu_initialize_aligner
for each batch{
??? reset aligner without reallocation ???
wfagpu_add_sequences from batch
do settings
wfagpu_align
}
wfagpu_destroy_aligner