This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to align integer (non-DNA/protein) sequences?

I'm interested in aligning sequences of integers not nucleic acids or amino acids such as:

[14,6,13,91,22,16,6] and [1,1,2,10,4,11,92,22,17,05]

I've been experimenting with using the biopython pairwise library and trying to utilize it for my problem instead of DNA/protein alignment. However, I can't seem to figure out if this is possible given my alphabet of integers is infinite unlike DNA or amino acids.

Does anyone know of a package (preferably in python) to align sequences of integers? Ideally, I'm looking for this sort of output:

                14 06 13 91 22 16 06
                |  |  |  |  |  |  |
       01 01 02 10 04 11 92 22 17 05 

Any minimal working example would be fantastic.

alignment algorithm

I don't think this is a bioinformatics topic.

0 answers

No answers yet.

Log in to answer this question.