Thursday, July 7, 2011

Sequence annotation widget

It was always possible to add any type of annotation to any component, including sequence annotations, in TinkerCell, but this had to be done programmatically, i.e a couple of lines of python or octave code. For sequence annotation, now the sequence-viewer plug-in also provides a simple widget for adding position and description to the selected part. The table will be saved as "sequence annotation", i.e it can be accessed via a python or octave program using:
p = tc_find("cod2");   #get the part
sa = tc_getTextDataTable(x, "sequence annotation"); #get sequence annotation
tc_getTableValue( sa, 0, 0)

1 comment:

Daniel Gurisatti said...

how do i add a DNA sequence? i need add a DNA sequence but always that i add a sequence it delete de sequence, i have DNA sequence of NCBI.