I am interested in getting ungapped sequence hits (hspsnogap) from blast output, I tried using this:
result_handle = NCBIWWW.qblast("blastp", "nr", record.format("fasta"),expect=10,"hsps_no_gap")
blast_records=NCBIXML.read(result_handle)
but there are still gaps in the sequences.
I would appreciate some hints on how to get ungapped sequences in fasta format from blast output.