Package Bio :: Package SwissProt :: Module KeyWList
[hide private]
[frames] | no frames]

Module KeyWList

source code


This module provides code to work with the keywlist.txt file from
SwissProt.
http://www.expasy.ch/sprot/sprot-top.html


Classes:
Record            Stores the information about one keyword or one category
                  in the keywlist.txt file.

Functions:
parse             Parses the keywlist.txt file and returns an iterator to
                  the records it contains.

DEPRECATED:

Classes:
ListParser        Parses a keywlist.txt file into a list of keywords.

_Scanner          Scans the keywlist.txt file.
_ListConsumer     Consumes keywlist data to a list.


Functions:
extract_keywords  Return the keywords from a keywlist.txt file.

Classes [hide private]
  Record
This record stores the information of one keyword or category in the keywlist.txt as a Python dictionary.
  ListParser
Parses keywlist.txt data into a list of keywords.
  _Scanner
Scan the keywlist.txt file included with the SwissProt distribution.
  _ListConsumer
Consumer that converts a keywlist.txt file into a list of keywords.
Functions [hide private]
 
parse(handle) source code
list of keywords
extract_keywords(keywlist_handle)
Return the keywords from a keywlist.txt file.
source code
Variables [hide private]
  xml_support = 1