Hi Martin,
As you've found, the mutagenesis wizard destroys the ordering in some
cases. I'll look into it.
Cheers,
-- Jason
On Tue, Dec 7, 2010 at 11:34 AM, Martin Hediger wrote:
> Good day
> I use PyMOL to introduce mutations into a structure. It occured to me that
> when saving the modified
On Mon, Dec 13, 2010 at 7:34 PM, Cun Zhang wrote:
> Get it. Thank you!
>
> Cheers,
>
> Cun Zhang
>
>
> On Mon, Dec 13, 2010 at 7:17 PM, Tsjerk Wassenaar wrote:
>
>> Hi Cun Zhang,
>>
>> The problem there is in turning the list of IDs into a selection. In
>> version 1.2 there's a command listed as
Hi Cun Zhang,
The problem there is in turning the list of IDs into a selection. In
version 1.2 there's a command listed as 'in development'
(cmd.select_list), that seems to help out:
ids = cselect('all',lambda (x,y,z): True)
cmd.select_list('test',"->object_name<-",ids)
show sticks, test
Do mind
Tsjerk, 你好 (ni hao)
Thank you for your reply. Nice work! So cute codes. I like it.
But when the selection by "id %s"%",".join([str(i) for i in ids]) too long,
it returns "Segmentation fault" error,and quit. Is it a bug?
I use pymol 1.2r2 under Debian Sid.
The error it returns:
PyMOL>run mathexp
Hi Cun Zhuang,
I think what you need to do is adding one line in the end of mathexpr.py:
cmd.extend("SelectByExpr",Select)
then you can type in command line
SelectByExpr x>5
see the following page for more explanation:
http://www.pymolwiki.org/index.php/Simple_Scripting
hongbo
On 12/13/2010
Ni Hao Cun Zhang
The real 'problem' is that Pymol does not allow selection based on
coordinates. Probably this should be on the wish list (and easy to
implement). Expressions are allowed, for instance selecting based on
b-factor or occupancy.
In your script, you can use some shortcuts. Maybe some
Hi,all
I haven't found any pymol script supports using math expression to select
atoms,
so I spend several hours to write one function to do it.
I write a script(mathexpr.py) containing this function, then run
mathexpr.py,
function 'Select' now can be called. Can anybody tell me how to combine th