Off topic:from blast xml to fasta file with python
1
0
Entering edit mode
6.7 years ago
bio90029 ▴ 10

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.

blast python biopython • 2.0k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2670 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6