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
open_db
call.
-tags
tag_list
..
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