[BioPython] Original query sequence in blastall

Jeffrey Chang jchang@SMI.Stanford.EDU
Sat, 21 Jul 2001 01:43:38 -0700 (PDT)


Hi Oliver,

> Something I am missing is a way to retrieve the original query
> sequence - it's possible to access the query title and length
> (blast_record.query, blast_record.query_letters) but apparently
> not the orignal sequence?

Unfortunately, the query sequence isn't shown in the blast results so the
parser can't get it back in the record.  You'll have to either do it
individually, or index the FASTA file of queries and retrieve the relevant
ones with blast_record.query.

Jeff