User Tools

Site Tools


bio:tools:codonopttable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
bio:tools:codonopttable [2010/02/15 10:18] 172.26.0.166bio:tools:codonopttable [2010/02/15 10:21] 172.26.0.166
Line 70: Line 70:
 Here is a python script that provides a Graphical User Interface: Here is a python script that provides a Graphical User Interface:
 You need to have wxpython installed on your system. You need to have wxpython installed on your system.
-<file>+<code python>
 #!/usr/bin/python #!/usr/bin/python
 import wx import wx
Line 144: Line 144:
 testgui(None, -1, 'CodonOptTable GUI') testgui(None, -1, 'CodonOptTable GUI')
 app.MainLoop() app.MainLoop()
-</file>+</code python>
 This is used with the perl script: This is used with the perl script:
-<file>#!/bin/perl+<code perl>#!/bin/perl
 use Bio::Tools::CodonOptTable; use Bio::Tools::CodonOptTable;
 $sequence = $ARGV[0]; $sequence = $ARGV[0];
Line 185: Line 185:
 $seqobj->generate_graph($myCodons,"/home/obiero/codonopt/myoutput.gif"); $seqobj->generate_graph($myCodons,"/home/obiero/codonopt/myoutput.gif");
 } }
-codon($sequence); </file>+codon($sequence); </code perl> 
 +Note:
bio/tools/codonopttable.txt · Last modified: 2010/06/30 19:52 by 172.26.15.75