first previous next last contents

add_tags

add_tags
 -io            io_handle:integer
 -tags          tag_list:strings

This command adds a series of annotations to readings and contigs within the database.

-io io_handle
The database IO handle returned from a previous open_db call.

-tags tag_list
This specifies the list of annotations to add. The format of tag_list is as a Tcl list of tag items, each of the format: reading_number tag_type direction start..end comment_lines If the reading_number is negative the tag is added to the consensus of the contig numbered -reading_number. The tag_type should be the four character tag type. The direction should be one of "+", "-" or "=" (both). The start and end specify the inclusive range of bases the annotation covers. These count from 1 in the original orientation of the sequence. The comment_lines hold the text for the annotation. Several lines may be included.

The following example adds two tags. The first is to reading #12 from position 10 to 20 inclusive. The second is to contig #1.

set t "{12 COMM + 10..20 comment} {-1 REPT = 22..23 multi-line\ncomments}"
add_tags -io $io -tag_list $t



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_61.html