[Chimera-users] Find subsequence programatically

Thomas Hrabe thrabe at sanfordburnham.org
Thu Jan 22 16:56:45 PST 2015

Hi Eric  ,

I have an algorithm that returns some subsequences of a structure and i want to color the corresponding  structure segment automatically.

from the road

Am 22.01.2015 um 16:37 schrieb Eric Pettersen <pett at cgl.ucsf.edu<mailto:pett at cgl.ucsf.edu>>:

On Jan 22, 2015, at 4:21 PM, Thomas Hrabe <thrabe at sanfordburnham.org<mailto:thrabe at sanfordburnham.org>> wrote:

Hi Chimera Team,

How can I automate the Sequence View -> Edit -> Find Subsequence Tool programmatically with the Chimera shell or better within python?

I don't know what your context is here exactly, but if you have a Sequence object you can use its regexMatch or prositeMatch methods to find subsequences.  They return lists of (start, end) tuples.  If you need more info, provide some more detail about your usage context and I can help better.


                        Eric Pettersen

                        UCSF Computer Graphics Lab


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150123/2460de39/attachment.html>

More information about the Chimera-users mailing list