LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
-density More...
-density
-thickness
This file is part of LOOS. LOOS (Lightweight Object-Oriented Structure library) Copyright (c) 2013 Tod Romo, Grossfield Lab Department of Biochemistry and Biophysics School of Medicine & Dentistry, University of Rochester This package (LOOS) is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation under version 3 of the License. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
cylindrical-thickness.py : compute the thickness of the membrane around a centering selection, output the average as a function of lateral distance from origin The expected use-case for this is looking at lipid packing around a membrane protein, when for whatever region you want to average out the "polar" degrees of freedom. For example, a command line could look like: cylindrical-thickness.py sim.psf sim.dcd 'segid == "PROT"' 'segid =~ "PE" && name == "P"' 10 30 20 This would read the system info from sim.psf, and use the trajectory sim.dcd. The system would be translated such that "PROT" is at the origin, and then the heights of phosphate with segment names containing "PE" would be computed. NOTE: This code assumes the membrane is centered at z = 0. Atoms with z>0 are assigned to the upper leaflet, z<0 the lower leaflet, and the difference between the averages is computed as a function of r. Alan Grossfield