Entering edit mode
3.1 years ago
Wong
•
0
I am new for bioinformatics, and I want to use python to blast for protein homolog. After I save the result in xml file, I don't know how to retrieve the nucleotide sequence from it. I am using the blast on python through internet.
I want to save the retrieved homologs in the fasta file but when I run it, my fasta file is empty.
Can you help me check which step did I get it wrong as I have tried many ways and still couldn't work.
show some sections of your XML file, first we need to establish that you have what you want to get out, print each alignment in the loop, see what is inside them
do also note that blast does not find homologs, it finds aligned regions using a local alignment
you seem to be opening a FASTA file and parsing it as XML. You need to open the blast result file