first previous next last contents

Editing Commands

transpose_left
transpose_right
Moves a base in a sequence either left or right one character. Does not work on the consensus sequence. Only pads can be moved unless the appropriate superedit mode is enabled.
extend_left
extend_right
zap_left
zap_right
Adjusts the current left or right cutoff for a sequence. The extend_ commands move the cutoff by a single base and require the editing cursor to be at the appropriate end of the used data. The zap_ commands set the appropriate end of the used data to be the current cursor position.
delete_key
delete_left_key
Delete comes in two modes. Both delete the base to the left of the editing cursor. delete_key then moves the sequence to the right and the editing cursor left by one base to fill the removed base. delete_left_key moves the sequence to the left of the editing cursor right by one base, and hence changes the sequence start position too. Typically the DEL key is bound to delete_key and CTRL-DEL is bound to delete_left_key.
edit_key character
Other general key presses. Typically any other key press is bound to this call, which then handles the actual editing or replacing of bases. The key character should be passed over as an argument.
set_confidence value
Sets the confidence value of a base to value. In the current implementation only values of 0 and 100 are allowed.

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_103.html