from alignment import multi_sequence_alignment
sequences = ['the quick fox jumps over the dog'.split(),
'the brown fox jumps over the lazy dog'.split(),
'the clever fox jumps over the lazy crow'.split()]
alignment = multi_sequence_alignment(sequences)
print(alignment)
print(alignment.score())
0 1 2 3 4 5 6 7
0 the clever fox jumps over the lazy crow
1 the quick fox jumps over the _ dog
2 the brown fox jumps over the lazy dog
0.29166666666666663
-
Notifications
You must be signed in to change notification settings - Fork 6
fbkarsdorp/alignment
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple Python library for doing (multiple) sequence alignment
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published