Imported modules
|
|
import Martel
|
Functions
|
|
|
|
_check_attrs
|
_check_attrs ( attrs, names )
Exceptions
|
|
TypeError("attr %r is not allowed here (valid terms: %s)" %( name, names ) )
|
|
|
_check_gapchar
|
_check_gapchar ( s )
Exceptions
|
|
TypeError("%r not allowed as a gap character" %( s, ) )
|
|
|
_check_name
|
_check_name ( f, text )
|
|
_complain_if_given
|
_complain_if_given ( attrs, name )
Exceptions
|
|
NotImplementedError("Don't yet handle %r" %( name, ) )
|
|
|
_f
|
_f ()
pre- Python 2.2 functions didn't allow attributes
|
|
_must_have
|
_must_have ( expr, f )
Exceptions
|
|
TypeError("group %r not present in the expression but is required" %( tag, ) )
|
|
|
_must_have_set
|
_must_have_set ( expr, sets )
Exceptions
|
|
TypeError( s )
TypeError("missing required tags (need %s) in expression" % [f.tag for f in sets [ 0 ] ] )
|
|
|
_must_not_have
|
_must_not_have ( expr, f )
Exceptions
|
|
TypeError("group %r present in the expression but is not allowed" %( tag, ) )
|
|
|
_set_if_given
|
_set_if_given (
attrs,
field,
d,
valid=None,
convert=None,
)
Exceptions
|
|
TypeError("%s (%r) must be one of %s" %( field, value, valid ) )
|
|
|
alphabet
|
alphabet ( expr, attrs={} )
|
|
application_name
|
application_name ( expr, attrs={} )
BLASTN", "BLASTP
|
|
application_version
|
application_version ( expr, attrs={} )
0.11", "2.0a19MP-WashU
|
|
database_name
|
database_name ( expr, attrs={} )
|
|
database_num_letters
|
database_num_letters ( expr, attrs={} )
|
|
database_num_sequences
|
database_num_sequences ( expr, attrs={} )
|
|
dbid
|
dbid ( expr, attrs={} )
|
|
dbxref
|
dbxref ( expr, attrs={} )
|
|
dbxref_dbid
|
dbxref_dbid ( expr, attrs={} )
|
|
dbxref_dbname
|
dbxref_dbname ( expr, attrs={} )
|
|
dbxref_negate
|
dbxref_negate ( expr, attrs={} )
|
|
description
|
description ( expr, attrs={} )
|
|
description_block
|
description_block ( expr, attrs={} )
|
|
description_line
|
description_line ( expr, attrs={} )
|
|
fast_dbxref
|
fast_dbxref ( expr, attrs={} )
|
|
feature
|
feature ( expr, attrs={} )
|
|
feature_block
|
feature_block ( expr, attrs={} )
style determines the namespace for the feature name
|
|
feature_description
|
feature_description ( expr, attrs={} )
|
|
feature_location
|
feature_location ( expr, attrs={} )
|
|
feature_location_end
|
feature_location_end ( expr, attrs={} )
|
|
feature_location_start
|
feature_location_start ( expr, attrs={} )
|
|
feature_name
|
feature_name ( expr, attrs={} )
|
|
feature_qualifier
|
feature_qualifier ( expr, attrs={} )
|
|
feature_qualifier_description
|
feature_qualifier_description ( expr, attrs={} )
|
|
feature_qualifier_name
|
feature_qualifier_name ( expr, attrs={} )
|
|
hit
|
hit ( expr, attrs={} )
|
|
hit_description
|
hit_description ( expr, attrs={} )
|
|
hit_length
|
hit_length ( expr, attrs={} )
|
|
hsp
|
hsp ( expr, attrs={} )
|
|
hsp_frame
|
hsp_frame ( expr, attrs={} )
|
|
hsp_seqalign
|
hsp_seqalign ( expr, attrs={} )
|
|
hsp_seqalign_homology_seq
|
hsp_seqalign_homology_seq ( expr, attrs={} )
|
|
hsp_seqalign_query_end
|
hsp_seqalign_query_end ( expr, attrs={} )
|
|
hsp_seqalign_query_leader
|
hsp_seqalign_query_leader ( expr, attrs={} )
|
|
hsp_seqalign_query_name
|
hsp_seqalign_query_name ( expr, attrs={} )
|
|
hsp_seqalign_query_seq
|
hsp_seqalign_query_seq ( expr, attrs={} )
|
|
hsp_seqalign_query_start
|
hsp_seqalign_query_start ( expr, attrs={} )
|
|
hsp_seqalign_subject_end
|
hsp_seqalign_subject_end ( expr, attrs={} )
|
|
hsp_seqalign_subject_name
|
hsp_seqalign_subject_name ( expr, attrs={} )
|
|
hsp_seqalign_subject_seq
|
hsp_seqalign_subject_seq ( expr, attrs={} )
|
|
hsp_seqalign_subject_start
|
hsp_seqalign_subject_start ( expr, attrs={} )
|
|
hsp_strand
|
hsp_strand ( expr, attrs={} )
|
|
hsp_value
|
hsp_value ( expr, attrs={} )
|
|
query_description
|
query_description ( expr, attrs={} )
|
|
query_description_block
|
query_description_block ( expr, attrs={} )
|
|
query_size
|
query_size ( expr, attrs={} )
|
|
record
|
record ( expr, attrs={} )
identifier, description, and cross-references
|
|
search_header
|
search_header ( expr, attrs={} )
|
|
search_parameter
|
search_parameter ( expr, attrs={} )
|
|
search_statistic
|
search_statistic ( expr, attrs={} )
|
|
search_table
|
search_table ( expr, attrs={} )
|
|
search_table_description
|
search_table_description ( expr, attrs={} )
|
|
search_table_entry
|
search_table_entry ( expr, attrs={} )
|
|
search_table_value
|
search_table_value ( expr, attrs={} )
|
|
sequence
|
sequence ( expr, attrs={} )
|
|
sequence_block
|
sequence_block ( expr, attrs={} )
What about three letter codes?
|