| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Motif
A class representing sequence motifs.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
anticonsensus returns the least probable pattern to be generated from this motif. |
|||
| background | |||
|
consensus Returns the consensus sequence. |
|||
|
degenerate_consensus Following the rules adapted from D. |
|||
| mask | |||
| pseudocounts | |||
| pssm | |||
| pwm | |||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
return the length of a motif Please use this method (i.e. invoke len(m)) instead of referring to m.length directly. |
string representation of a motif.
|
Returns a string representation of the Motif in a given format Currently supported fromats: - pfm : JASPAR Position Frequency Matrix - transfac : TRANSFAC like files |
uses the Berkeley weblogo service to download and save a weblogo of
itself
requires an internet connection.
The parameters from **kwds are passed directly to the weblogo server.
Currently, this method uses WebLogo version 3.3.
These are the arguments and their default values passed to
WebLogo 3.3; see their website at http://weblogo.threeplusone.com
for more information:
'stack_width' : 'medium',
'stack_per_line' : '40',
'alphabet' : 'alphabet_dna',
'ignore_lower_case' : True,
'unit_name' : "bits",
'first_index' : '1',
'logo_start' : '1',
'logo_end': str(self.length),
'composition' : "comp_auto",
'percentCG' : '',
'scale_width' : True,
'show_errorbars' : True,
'logo_title' : '',
'logo_label' : '',
'show_xaxis': True,
'xaxis_label': '',
'show_yaxis': True,
'yaxis_label': '',
'yaxis_scale': 'auto',
'yaxis_tic_interval' : '1.0',
'show_ends' : True,
'show_fineprint' : True,
'symbols0': '',
'symbols1': '',
'symbols2': '',
'symbols3': '',
'symbols4': '',
'color0': '',
'color1': '',
'color2': '',
'color3': '',
'color4': '',
|
|
|||
anticonsensus
returns the least probable pattern to be generated from this motif.
|
background
|
consensus
Returns the consensus sequence.
|
degenerate_consensusFollowing the rules adapted from D. R. Cavener: "Comparison of the consensus sequence flanking translational start sites in Drosophila and vertebrates." Nucleic Acids Research 15(4): 1353-1361. (1987). The same rules are used by TRANSFAC.
|
mask
|
pseudocounts
|
pssm
|
pwm
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 18:02:52 2013 | http://epydoc.sourceforge.net |