You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'rdkit' to switch from OpenBabel to RDKit
This closes#135 - Switch from OpenBabel to RDKit
And also...
closes#86 - Drawing of fused rings buggy
closes#90 - molecule.fromSMILES(CC1=CC=CO1) gives "Unable to determine atom type for atom O."
closes#121 - Furan inchi and SMILES cannot be resolved
Should help with #106 in the future (I think RDKit has aromaticity detection).
RDKit is now a requirement (but OpenBabel no longer is).
Be sure to install RDKit with InChI Support, which at the moment
requires building from source, I think.
Note that anything being read in via InChI or SMILES will be Kekulized before making
the RMG molecule. This means if you input benzene as SMILES="c1ccccc1" it will be
equivalent to SMILES="C1=CC=CC=C1"
Copy file name to clipboardExpand all lines: documentation/source/users/rmg/installation/linux.rst
+37-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@
4
4
Linux Installation
5
5
******************
6
6
7
-
RMG-Py and all of its dependencies may be easily installed through a short series of Terminal commands. The instructions listed below have been confirmed on a fresh Ubuntu 12.04 installation and should generally apply to other distributions.
7
+
RMG-Py and all of its dependencies may be easily installed through a short series of Terminal commands.
8
+
The instructions listed below have been confirmed on a fresh Ubuntu 12.04 installation and should generally apply to other distributions.
8
9
9
10
* Install compilers and libraries: ::
10
11
@@ -30,15 +31,50 @@ RMG-Py and all of its dependencies may be easily installed through a short serie
30
31
cd PyDAS; make F77=gfortran; sudo make install
31
32
cd ../PyDQED; make F77=gfortran; sudo make install
32
33
34
+
* Install RDKit
35
+
36
+
Full installation instructions: http://code.google.com/p/rdkit/wiki/GettingStarted
37
+
Be sure to **build it with InChI support.** Here's a synopsis::
* Install the Python dependencies listed in the :file:`RMG-Py/requirements.txt` file using `pip` (do ``easy_install pip`` if you don't already have it)::
36
31
@@ -66,16 +61,28 @@ but other methods like the `Scipy Superpack <http://fonnesbeck.github.com/ScipyS
66
61
cd RMG-Py
67
62
make
68
63
69
-
* Install RDKit, *if* (and only if) you want to use the new 3D geometry branch::
64
+
* Install RDKit::
70
65
71
66
brew uninstall boost
72
67
brew install boost --build-from-source
73
-
brew tap rwest/homebrew-rdkit
68
+
brew tap edc/homebrew-rdkit
74
69
brew install rdkit --with-inchi
70
+
71
+
You'll need various environment variables set, eg.::
72
+
73
+
export RDBASE=$HOME/rdkit # CHECK THIS (maybe you put RDKit somewhere else)
0 commit comments