
Hi Chimera Team, How can I automate the Sequence View -> Edit -> Find Subsequence Tool programmatically with the Chimera shell or better within python? Thank you, Thomas

On Jan 22, 2015, at 4:21 PM, Thomas Hrabe <thrabe@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 Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu

Hi Eric , I have an algorithm that returns some subsequences of a structure and i want to color the corresponding structure segment automatically. Thanks Thomas from the road Am 22.01.2015 um 16:37 schrieb Eric Pettersen <pett@cgl.ucsf.edu<mailto:pett@cgl.ucsf.edu>>: On Jan 22, 2015, at 4:21 PM, Thomas Hrabe <thrabe@sanfordburnham.org<mailto:thrabe@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 Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu
participants (2)
-
Eric Pettersen
-
Thomas Hrabe