[Biopython] Write alignment int he fasta format
Ahmad Khalifa <[email protected]>
| Newsgroups | gmane.comp.python.bio.general |
|---|---|
| Message-ID | <CAL1o8vOvs2H8rLzy0OphMW7BbsAAdoqZJ3=NSfvxkm=rnd-E_g@mail.gmail.com> |
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. _______________________________________________ Biopython mailing list - [email protected] https://mailman.open-bio.org/mailman/listinfo/biopython