[Biopython] pairwise local align subsequence

Peter Cock p.j.a.cock at googlemail.com
Thu Apr 27 10:39:48 UTC 2017


I think you are asking for a local alignment (like BLAST, only the
matching parts are aligned) rather than a global alignment (tries to
align all the letters in your two sequences). Biopython's
Bio.pairwise2 offers both kinds of alignment.

Peter

On Thu, Apr 27, 2017 at 3:11 AM, 李团 <imlituan at gmail.com> wrote:
> I use pairwise localds to align two sequences, and want to get aligned
> subsequences, but the result returns fully aligned sequences. How can I get
> only aligned subsequences?
>
> _______________________________________________
> Biopython mailing list  -  Biopython at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython



More information about the Biopython mailing list