I need some way to turn an input such as:
['luv cats', 'lovv cots', 'lov cotts']
In the aligned/matched output:
['l','l','l']
['u','o','o']
[None,'v',None]
['v','v','v']
[' ',' ',' ']
['c','c','c']
['a','o','o']
['t','t','t']
[None,None,'t']
['s','s','s']
I'm working on Python, if there is anything pre-maid that could help me with this I'd like to know. I saw some stuff of DNA sequencing that seemed like what I wanted to do, but I've never done anything like that and I got quite confused about.
Any kind of help is appreciated. Thanks.