PyMOL includes Biopython, so I would just use their sequence aligner. For
instance:
from Bio import pairwise2 alignments = pairwise2.align.globalxx("ACCGT", "ACG")
See http://biopython.org/DIST/docs/api/Bio.pairwise2-pysrc.html
-Spencer
On Wed, Dec 3, 2014 at 9:33 AM, Jordan Willis wrote:
>
Hi,
I know Pymol has a built-in sequence alignment function that ‘align’ uses
before it does alignment. I was wondering how one could access this function
generically for any given strings. I wanted to use this in a module and don’t
want to rely on importing alignment modules from other package