Parser for the SPECLIST.TXT file in SWISS-PROT.
You probably want to use the variables 'record' (for a single record)
and 'format' (for a set of records).
|
DESCRIPTION = Str("Description:")+ Spaces()+ UntilEol("descrip...
|
|
NAME = Str("Name:")+ Spaces()+ UntilEol("name")+ AnyEol()
|
|
RELEASE = Str("Release:")+ Spaces()+ UntilEol("release")+ AnyE...
|
|
TOTAL_CODES = Str("Total number of organism identification cod...
|
|
TABLE_HEADER = Group("table_header", Str("Code")+ Spaces()+ St...
|
|
_dash_line = Rep1(Str("-"))+ AnyEol()
|
|
COPYRIGHT = Group("copyright", _dash_line+ Str("SWISS-PROT is ...
|
|
_code_line = Group("code", Re(r"[A-Z0-9]{1,5}"))+ Spaces()+ Gr...
|
|
_common_line = Spaces()+ Str("C=")+ Group("common_name", Until...
|
|
_synonym_line = Spaces()+ Str("S=")+ Group("synonym", UntilEol...
|
|
record = Group("record", _code_line+ Rep(_common_line)+ Rep(_s...
|
|
format = Group("format", SkipLinesToNoEOL(DESCRIPTION)+ NAME+ ...
|
|
__warningregistry__ = { ( ' Bio.expressions was deprecated, as it ...
|