Back to index

python-biopython  1.60
Public Member Functions | Private Attributes
Bio.Blast.NCBIStandalone.PSIBlastParser Class Reference
Inheritance diagram for Bio.Blast.NCBIStandalone.PSIBlastParser:
Inheritance graph
[legend]
Collaboration diagram for Bio.Blast.NCBIStandalone.PSIBlastParser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def parse
def parse_str
def parse_file

Private Attributes

 _scanner
 _consumer

Detailed Description

Parses BLAST data into a Record.PSIBlast object.

Definition at line 823 of file NCBIStandalone.py.


Constructor & Destructor Documentation

__init__(self)

Definition at line 827 of file NCBIStandalone.py.

00827 
00828     def __init__(self):
00829         """__init__(self)"""
00830         self._scanner = _Scanner()
00831         self._consumer = _PSIBlastConsumer()

Here is the caller graph for this function:


Member Function Documentation

def Bio.Blast.NCBIStandalone.PSIBlastParser.parse (   self,
  handle 
)
parse(self, handle)

Reimplemented from Bio.ParserSupport.AbstractParser.

Definition at line 832 of file NCBIStandalone.py.

00832 
00833     def parse(self, handle):
00834         """parse(self, handle)"""
00835         self._scanner.feed(handle, self._consumer)
00836         return self._consumer.data

Here is the caller graph for this function:

def Bio.ParserSupport.AbstractParser.parse_file (   self,
  filename 
) [inherited]

Definition at line 60 of file ParserSupport.py.

00060 
00061     def parse_file(self, filename):
00062         h = open(filename)
00063         try:
00064             retval = self.parse(h)
00065         finally:
00066             h.close()
00067         return retval

Here is the call graph for this function:

def Bio.ParserSupport.AbstractParser.parse_str (   self,
  string 
) [inherited]

Definition at line 57 of file ParserSupport.py.

00057 
00058     def parse_str(self, string):
00059         return self.parse(StringIO.StringIO(string))

Here is the call graph for this function:


Member Data Documentation

Definition at line 830 of file NCBIStandalone.py.

Definition at line 829 of file NCBIStandalone.py.


The documentation for this class was generated from the following file: