[BioPython] parsing blast report

Mike Poidinger mikep@entigen.com
Sat, 7 Apr 2001 04:11:04 +1000 (EST)


On Fri, 6 Apr 2001, T.V.Gnanasekaran wrote:

> hi,
> 
> i am looking for a way to parse blast reports.
> i saw examples in biopython distribution for running blast
> and then parsing the output.  but i want to start from the
> blast output which is stored in files and then parse.  can
> anyone tell me how i could do this?
> 

fh = open("blast.file")
parser = NCBIStandalone.BlastParser()
dataObject = parser.parse(fh)

Mike