I'm relatively new to nvbio, and I was looking for a library that provides edit distance/Levenshtein distance calculation on GPU given a pair of genomes represented as strings. While I have found a GetEditDistance implementation in struct BamAlignment, it's not clear to me neither how the alignment struct should be initialized nor how to build a functional interface like the one described above (get the edit distance given two strings), and I couldn't find implementations in the provided examples. Would it be possible to provide a short example of how to use the edit distance using nvbio?
I'm relatively new to nvbio, and I was looking for a library that provides edit distance/Levenshtein distance calculation on GPU given a pair of genomes represented as strings. While I have found a
GetEditDistance
implementation instruct BamAlignment
, it's not clear to me neither how the alignment struct should be initialized nor how to build a functional interface like the one described above (get the edit distance given two strings), and I couldn't find implementations in the provided examples. Would it be possible to provide a short example of how to use the edit distance using nvbio?