I need to extract (or to calculate precisely) the query coverage from Blast output. I am using NCBIWWW.qblast to query Blast in XML format.
Is it possible to know the query coverage parsing the XML output? If yes, how?
result_handle_xml = NCBIWWW.qblast("blastp","pdb",my_query.seq,format_type='XML')
here it suggest to use '-6 qcovs', but only for BLAST command line version and only for tabular format
This is the fasta file that I open:
>sp|P02489|CRYAA_HUMAN Alpha-crystallin A chain OS=Homo sapiens
GN=CRYAA PE=1 SV=2
MDVTIQHPWFKRTLGPFYPSRLFDQFFGEGLFEYDLLPFLSSTISPYYRQSLFRTVLDSG
ISEVRSDRDKFVIFLDVKHFSPEDLTVKVQDDFVEIHGKHNERQDDHGYISREFHRRYRL
PSNVDQSALSCSLSADGMLTFCGPKIQTGLDATHAERAIPVSREEKPTSAPSS