[Biopython] Write alignment int he fasta format
Ahmad Khalifa
underoath006 at gmail.com
Thu Mar 21 19:41:34 UTC 2019
I have :
aligner = PairwiseAligner()
alignments = aligner.align(chain1, chain2)
how to write alignments[0] as a text file containing the alignment in fasta
format. I went through the documentation below, and I'm not really sure I
follow. Do I have to save the alignments as text first, then, read it using
AlingIO then write it using SeqIO?
http://biopython.org/DIST/docs/api/Bio.AlignIO-module.html
A code snippet would be most helpful.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20190321/71c4e216/attachment.html>
More information about the Biopython
mailing list