Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|
|||
ids = []
|
|||
gnl_id = Str("gnl|")+ Std.dbxref_dbname(UntilSep(sep= "| "))+
|
|||
ncbi_word = Std.dbxref(reduce(operator.or_, ids))
|
|||
ncbi_term = ncbi_word+ Rep(Str("|")+ ncbi_word)
|
|||
generic_term = Std.dbxref(Std.dbxref_dbid(UntilSep(sep= " "),
|
|||
id_term = ncbi_term | generic_term
|
|||
comment_lines = Rep(Str("#")+ ToEol())
|
|||
title = Str(">")+ Std.description_line(id_term+ UntilEol())+ A
|
|||
seqline = AssertNot(Str(">"))+ Std.sequence(UntilEol())+ AnyEol()
|
|||
seqline_nonewline = AssertNot(Str(">"))+ Std.sequence(Word())
|
|||
sequence = Std.sequence_block(Rep(seqline | seqline_nonewline))
|
|||
record = Std.record(comment_lines+ title+ sequence+ Rep(AnyEol
|
|||
format = HeaderFooter("dataset", {"format": "fasta"}, comment_
|
|||
__warningregistry__ =
|
|
gnl_id
|
generic_term
|
title
|
record
|
format
|
__warningregistry__
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Sep 15 09:22:39 2008 | http://epydoc.sourceforge.net |