Back to index

python-biopython  1.60
Public Member Functions
Bio.SwissProt.KeyWList.Record Class Reference

List of all members.

Public Member Functions

def __init__

Detailed Description

This record stores the information of one keyword or category in the
keywlist.txt as a Python dictionary. The keys in this dictionary are
the line codes that can appear in the keywlist.txt file:

---------  ---------------------------     ----------------------
Line code  Content                         Occurrence in an entry
---------  ---------------------------     ----------------------
ID         Identifier (keyword)            Once; starts a keyword entry
IC         Identifier (category)           Once; starts a category entry
AC         Accession (KW-xxxx)             Once
DE         Definition                      Once or more
SY         Synonyms                        Optional; once or more
GO         Gene ontology (GO) mapping      Optional; once or more
HI         Hierarchy                       Optional; once or more
WW         Relevant WWW site               Optional; once or more
CA         Category                        Once per keyword entry; absent
                                           in category entries

Definition at line 22 of file

Constructor & Destructor Documentation

Definition at line 42 of file

00043     def __init__(self):
00044         dict.__init__(self)
00045         for keyword in ("DE", "SY", "GO", "HI", "WW"):
            self[keyword] = []

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