-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME
61 lines (45 loc) · 1.87 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=====================
PyQCPROT README
=====================
Author: Joshua L. Adelman, University of Pittsburgh
Contact: [email protected]
PyQCPROT is a python/cython implementation of Douglas Theobald's QCP method for
calculating the minimum RMSD between two structures and determining the optimal
least-squares rotation matrix.
A full description of the method, along with the original C implementation can
be found at:
http://theobald.brandeis.edu/qcp/
If you use this QCP rotation calculation method in a publication, please reference:
Douglas L. Theobald (2005)
"Rapid calculation of RMSD using a quaternion-based characteristic polynomial."
Acta Crystallographica A 61(4):478-480.
Pu Liu, Dmitris K. Agrafiotis, and Douglas L. Theobald (2010)
"Fast determination of the optimal rotational matrix for macromolecular superpositions."
J. Comput. Chem. 31, 1561-1563.
License
=======
This code code is released under the BSD 3-clause license as noted in the .pyx source code
or LICENSE file.
The original C code is copyright:
2009-2010, Pu Liu and Douglas L. Theobald
This implementation is copyright
2011, Joshua L. Adelman
Installation
============
This module requires:
numpy http://numpy.scipy.org/
cython (optional) http://cython.org/
gcc http://gcc.gnu.org/
Method 1:
To compile the extension in the directory in which qcprot.pyx resides:
$ python setup.py build_ext --inplace
For further information on compiling cython extensions see:
http://docs.cython.org/src/userguide/source_files_and_compilation.html
Method 2:
If you do not have cython installed, you can build the extension directly from the cython generated
pyqcprot.c. This is handled automatically by setup.py.
Example Usage
=============
See example.py for a simple example
For an example using the MDAnalysis package (http://code.google.com/p/mdanalysis/)
see mdanalysis_example.py