[Chimera-users] Cannot resample to voxel size of 1
Tom Goddard
goddard at sonic.net
Mon Jul 22 13:49:38 PDT 2019
Hi Ryan,
Resampling only works on the grid of another map as you can see from the documentation so "vop new" allows you to make that map. If you just want to make the mesh of a surface depiction of a map finer then look at the volume command subdivideSurface and subdivisionLevel options.
https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/volume.html#dispsurf <https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/volume.html#dispsurf>
Tom
> On Jul 22, 2019, at 12:03 PM, Ryan Harlich <ryanharlich at hotmail.com> wrote:
>
> Hi Elaine,
>
> I think you missed the point. I am trying to take an existing surface and resample it to a grid Spacing of 1. I am not sure I see the point of making a new map.
>
> Best,
> Ryan Harlich
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
> From: Elaine Meng <meng at cgl.ucsf.edu <mailto:meng at cgl.ucsf.edu>>
> Sent: Monday, July 22, 2019 11:59:06 AM
> To: Ryan Harlich <ryanharlich at hotmail.com <mailto:ryanharlich at hotmail.com>>
> Cc: chimera-users at cgl.ucsf.edu <mailto:chimera-users at cgl.ucsf.edu> BB <chimera-users at cgl.ucsf.edu <mailto:chimera-users at cgl.ucsf.edu>>
> Subject: Re: [Chimera-users] Cannot resample to voxel size of 1
>
> Hi Ryan,
> You can make a new map of whatever grid spacing you want without any atoms using “vop new”:
> <https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvop.html%23new&data=02%7C01%7C%7C0fae3f40d7504ce6f8a908d70ed6ac3d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636994187477432851&sdata=pVKM4r3k6C%2Bd%2FNBnpxZOR8qwzr5Q6dUeqFXLvHkEwqE%3D&reserved=0 <https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Fvop.html%23new&data=02%7C01%7C%7C0fae3f40d7504ce6f8a908d70ed6ac3d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636994187477432851&sdata=pVKM4r3k6C%2Bd%2FNBnpxZOR8qwzr5Q6dUeqFXLvHkEwqE%3D&reserved=0>>
>
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>
> > On Jul 22, 2019, at 11:33 AM, Ryan Harlich <ryanharlich at hotmail.com <mailto:ryanharlich at hotmail.com>> wrote:
> >
> > Hi Chimera Bug Team,
> >
> > I am unable to resample surface to a grid spacing of 1 to be 1 voxel.
> >
> > Currently I do this:
> > 'molmap #2 6 gridSpacing 1\n'
> > 'vop resample #3 onGrid #2.1\n'
> >
> > But this requires me to have a pdb structure. I would like to do this without a pdb structure.
> >
> > Another alternative is I could automatically without GUI interface make a 3 atom pdb structure with python script that is the size of the surface’s boundary box. Although there is no way to get surface’s boundary box x,y,z.
> >
> > Any help would be much appreciated. Option 1 would be a much better approach.
> >
> > Best,
> > Ryan Harlich
>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20190722/895ddaac/attachment.html>
More information about the Chimera-users
mailing list