<commit_before>
cd ~

###Now Install the RDKit globally in order to make the database work
  export RDKIT_SOURCE_ROOT=$HOME/rdkit

tar -xvf /tmp/RDKit_2014_09_2.tar.gz
mv rdkit-Release_2014_09_2 rdkit 
export RDBASE=$HOME/rdkit
export LD_LIBRARY_PATH=$RDBASE/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$RDBASE:$PYTHONPATH
cd rdkit
mkdir build
cd build



#if [$1 = 'travis']
#then
#cmake -DPYTHON_LIBRARY=/home/chembiohub/anaconda/lib/python2.7/config/libpython2.7.a -DPYTHON_INCLUDE_DIR=/home/chembiohub/anaconda/include/python2.7 -DBOOST_ROOT=/home/chembiohub/anaconda ..
#make -j4 install
#else
cmake -DRDK_BUILD_INCHI_SUPPORT=ON -DBOOST_ROOT=/usr/include ..
make -j4 install
#fi

cd $RDBASE/Code/PgSQL/rdkit
make

cd ~
  
  #chmod +x /tmp/anaconda.sh
  
  bash /tmp/anaconda.sh -b



###Bower and node

  
###Now install openbabel and indigo and add them to python path

  cd ~
  
  wget http://sourceforge.net/projects/openbabel/files/openbabel/2.3.2/openbabel-2.3.2.tar.gz
  
  tar -xvf openbabel-2.3.2.tar.gz
  
  cd openbabel-2.3.2
  
  mkdir build
  
  cd build
  
  cmake .. -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=~/Tools/openbabel-install<commit_msg>Update as_chembiohub_user.sh<commit_after>
cd ~

###Now Install the RDKit globally in order to make the database work
  export RDKIT_SOURCE_ROOT=$HOME/rdkit

tar -xvf /tmp/RDKit_2014_09_2.tar.gz
mv rdkit-Release_2014_09_2 rdkit 
export RDBASE=$HOME/rdkit
export LD_LIBRARY_PATH=$RDBASE/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$RDBASE:$PYTHONPATH
cd rdkit
mkdir build
cd build



#if [$1 = 'travis']
#then
#cmake -DPYTHON_LIBRARY=/home/chembiohub/anaconda/lib/python2.7/config/libpython2.7.a -DPYTHON_INCLUDE_DIR=/home/chembiohub/anaconda/include/python2.7 -DBOOST_ROOT=/home/chembiohub/anaconda ..
#make -j4 install
#else
cmake -DRDK_BUILD_INCHI_SUPPORT=ON -DBOOST_ROOT=/usr/include ..
make -j4 install
#fi

cd $RDBASE/Code/PgSQL/rdkit
make

cd ~
  
  #chmod +x /tmp/anaconda.sh
  
  bash /var/cache/wget/Anaconda-2.1.0-Linux-x86_64.sh -b



###Bower and node

  
###Now install openbabel and indigo and add them to python path

  cd ~
  
  wget http://sourceforge.net/projects/openbabel/files/openbabel/2.3.2/openbabel-2.3.2.tar.gz
  
  tar -xvf openbabel-2.3.2.tar.gz
  
  cd openbabel-2.3.2
  
  mkdir build
  
  cd build
  
  cmake .. -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=~/Tools/openbabel-install
{'fraction_non_alphanumeric': 0.11650485436893204, 'fraction_numerical': 0.032503165892781766, 'mean_word_length': 3.817073170731707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1051909', 'n_tokens_mistral': 1090, 'n_tokens_neox': 988, 'n_words': 184}