[Chimera-users] Pipes command deletes the previous pipes model

Elaine Meng meng at cgl.ucsf.edu
Sat Jan 20 08:44:52 PST 2018


Hi Vamsee,
Seems like a little bug, probably thinks it’s the same model because they have the same major model number.  However, the workaround is simple… just open the structure twice (in that case, no need to bother splitting), remove the chains you don’t want, and run pipe-and-planks on the different major model numbers.  For example:

open 4g80
open 4g80
del #0:.A-J:.T
del #1:.A-J:.S
focus
color white,r 
pipes #0 helixArrow false helixSplit false helixSplitRatio 7.0 helixEdgeColor blue
pipes #1 helixArrow false helixSplit false helixSplitRatio 7.0 helixEdgeColor red

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Jan 19, 2018, at 2:34 PM, vamsee <vamseedharr at gmail.com> wrote:
> 
> Hello Elaine,
> I'm trying to create pipes models with different edge colors for 2 models. I use the following command for the first model (model # - 0.11). 
> 
> pipes #0.11 helixArrow false helixSplit false helixSplitRatio 7.0 helixEdgeColor blue
> 
> Then I try to create the second pipes model using the same command with the model number changed (model number #0.12)
> 
> pipes #0.12 helixArrow false helixSplit false helixSplitRatio 7.0 helixEdgeColor red
> 
> Basically the difference between the two pipes models is the edge color. But, when I run the second command, it deletes the first pipes model (#0.11). I'm not sure what is going on. I'm attaching the whole code here. Please advise. 
> 
> open 0 4G80.pdb
> split
> delete #0.1-10
> 
> focus
> color white,r #
> 
> pipes #0.11 helixArrow false helixSplit false helixSplitRatio 7.0 helixEdgeColor blue
> pipes #0.12 helixArrow false helixSplit false helixSplitRatio 7.0 helixEdgeColor blue
> 
> Thank you,
> Vamsee





More information about the Chimera-users mailing list