3 flip_chirality is a largely pointless tool -- it reads in a structure,
4 reverses the sign of the x coordinate, and prints it as a PDB to stdout.
8 This file is part of LOOS.
10 LOOS (Lightweight Object-Oriented Structure library)
11 Copyright (c) 2012 Alan Grossfield, Grossfield Lab
12 Department of Biochemistry and Biophysics
13 School of Medicine & Dentistry, University of Rochester
15 This package (LOOS) is free software: you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation under version 3 of the License.
19 This package is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
24 You should have received a copy of the GNU General Public License
25 along with this program. If not, see <http://www.gnu.org/licenses/>.
filename = sys.argv
system[i].coords() *= -1.0
pdb = loos.PDB_fromAtomicGroup(system)
AtomicGroup createSystem(const std::string &filename, const std::string &filetype)