Table of Contents

Module: KeyWList Bio/SwissProt/KeyWList.py

KeyWList.py

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

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.

Imported modules   
from Bio import File
from Bio.ParserSupport import *
from types import *
Functions   
extract_keywords
  extract_keywords 
extract_keywords ( keywlist_handle )

extract_keywords(keywlist_handle) -> list of keywords

Return the keywords from a keywlist.txt file.

Exceptions   
ValueError, "I expected a file handle or file-like object"
Classes   
ListParser

Parses keywlist.txt data into a list of keywords.

_ListConsumer

Consumer that converts a keywlist.txt file into a list of keywords.

_Scanner

Scan the keywlist.txt file included with the SwissProt distribution.


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:03 2002 by HappyDoc version 2.0.1