def test_sequenceframe(): import sys import msa import ienv app = QtGui.QApplication(sys.argv) e = ienv.IEnv() m = msa.MSA() m.open(sys.argv[1]) m.set_type() vscrollbarpane = VerticalScrollbarPane(m) vscrollbarpane.set_env(e) vscrollbarpane.init_layout() vscrollbarpane.init_signals() frame = SequenceFrame(e, m) frame.init_vscrollbarpane(vscrollbarpane) frame.init_layout() pane = SequencePane(m) pane.set_env(e) pane.init_layout(header=RulerView(pane)) frame.insert_pane(pane) pane2 = SequencePane(m) pane2.set_env(e) pane2.init_layout(header=RulerView(pane2)) frame.insert_pane(pane2) frame.show() app.exec_()
def test_traceframe(): import sys import ienv import trace app = QtGui.QApplication(sys.argv) e = ienv.IEnv() m = trace.open_trace(sys.argv[1])
def test_tracepane(): import sys import ienv app = QtGui.QApplication( sys.argv ) tracedata = trace.open_trace( sys.argv[1] ).tracedata() pane = TracePane( tracedata, TraceView ) pane.set_env( ienv.IEnv() ) pane.init_layout() pane.set_split(4) pane.show() app.exec_()
def test_sequencepane(): import sys import msa import ienv app = QtGui.QApplication(sys.argv) msa = msa.MSA() msa.open(sys.argv[1]) msa.set_type() pane = SequencePane(msa, SequenceView) pane.set_env(ienv.IEnv()) pane.init_layout(header=RulerView(pane)) pane.show() app.exec_()
def test_labelpane(): import sys import msa import ienv app = QtGui.QApplication(sys.argv) msa = msa.MSA() msa.open(sys.argv[1]) msa.set_type() pane = LabelPane(msa, LabelView) pane.set_env(ienv.IEnv()) pane.init_layout() pane.show() app.exec_()