I had carried out a local blast, and an I got an xml file with all my sequence. At the present, I trying to covert the xml.file into a fasta.file using Biopython. My code for the file conversion is the one I post below:
SearchIO.convert(blast.xml', 'blast-xml', 'results.fasta','fasta')
However I get the error message that fasta is no supported. The purpose of converting the blast file into fasta is to produce a multi fasta file that I intend to use for a multiple sequence alignment.
I have run of ideas on how to convert this. Could anyone kindly guide through this please? Thanks a lot.