Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
SeqGui.ParamsPanel Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 codon_table_lb
 transform_lb

Detailed Description

Definition at line 13 of file SeqGui.py.


Constructor & Destructor Documentation

def SeqGui.ParamsPanel.__init__ (   self,
  parent,
  log 
)

Definition at line 14 of file SeqGui.py.

00014 
00015     def __init__(self, parent, log):
00016         wx.Panel.__init__(self, parent, -1)
00017         codon_table_static = wx.StaticText(self, -1, 'Codon Tables',
00018                                            style=wx.ALIGN_CENTER)
00019         lc = wx.LayoutConstraints()
00020         lc.top.SameAs(self, wx.Top, 5)
00021         lc.left.SameAs(self, wx.Left, 5)
00022         lc.height.AsIs()
00023         lc.right.SameAs(self, wx.Right, 5)
00024         codon_table_static.SetConstraints(lc)
00025 
00026         codon_table_lb = wx.ListBox(self, ID_CODON)
00027         lc = wx.LayoutConstraints()
00028         lc.top.Below(codon_table_static, 5)
00029         lc.left.SameAs(self, wx.Left, 5)
00030         lc.height.PercentOf(self, wx.Height, 30)
00031         lc.right.SameAs(self, wx.Right, 5)
00032         codon_table_lb.SetConstraints(lc)
00033         self.codon_table_lb = codon_table_lb
00034 
00035         codon_table_lb.Append('Standard')
00036         codon_table_lb.Append('Vertebrate Mitochondrial')
00037         codon_table_lb.Append('Yeast Mitochondrial')
00038         codon_table_lb.Append('Mold Mitochondrial')
00039         codon_table_lb.Append('Invertebrate Mitochondrial')
00040         codon_table_lb.Append('Echinoderm Mitochondrial')
00041         codon_table_lb.Append('Euplotid Nuclear')
00042         codon_table_lb.Append('Bacterial')
00043         codon_table_lb.Append('Alternative Yeast Nuclear')
00044         codon_table_lb.Append('Ascidian Mitochondrial')
00045         codon_table_lb.Append('Flatworm Mitochondrial')
00046         codon_table_lb.Append('Blepharisma Macronuclear')
00047         codon_table_lb.SetSelection(0)
00048 
00049         transform_static = wx.StaticText(self, -1, 'Transformation',
00050                                          style=wx.ALIGN_CENTER)
00051         lc = wx.LayoutConstraints()
00052         lc.top.Below(codon_table_lb, 5)
00053         lc.left.SameAs(self, wx.Left, 5)
00054         lc.height.AsIs()
00055         lc.right.SameAs(self, wx.Right, 5)
00056         transform_static.SetConstraints(lc)
00057 
00058         transform_lb = wx.ListBox(self, ID_TRANSFORM)
00059         lc = wx.LayoutConstraints()
00060         lc.top.Below(transform_static, 5)
00061         lc.left.SameAs(self, wx.Left, 5)
00062         lc.height.PercentOf(self, wx.Height, 30)
00063         lc.right.SameAs(self, wx.Right, 5)
00064         transform_lb.SetConstraints(lc)
00065 
00066         transform_lb.Append('Transcribe')
00067         transform_lb.Append('Translate')
00068         transform_lb.Append('Back transcribe')
00069         transform_lb.SetSelection(1)
00070         self.transform_lb = transform_lb
00071 


Member Data Documentation

Definition at line 32 of file SeqGui.py.

Definition at line 69 of file SeqGui.py.


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