Statistiques
| Branche: | Tag: | Révision :

dockonsurf / docs / source / installation.rst @ 4fd2e6f0

Historique | Voir | Annoter | Télécharger (1,81 ko)

1 4fd2e6f0 Carles Martí
Installation
2 4fd2e6f0 Carles Martí
============
3 4fd2e6f0 Carles Martí
Download the ``dockonsurf`` directory and place it somewhere in your computer,
4 4fd2e6f0 Carles Martí
by typing in your terminal: ::
5 4fd2e6f0 Carles Martí
6 4fd2e6f0 Carles Martí
    git clone http://forge.cbp.ens-lyon.fr/git/dockonsurf
7 4fd2e6f0 Carles Martí
8 4fd2e6f0 Carles Martí
In order to be able to execute DockOnSurf by simply typing ``dockonsurf.py`` You need 
9 4fd2e6f0 Carles Martí
to add the DockOnSurf directory in your ``PATH``. Assuming you download it in your ``$HOME``
10 4fd2e6f0 Carles Martí
directory, add ``$HOME/dockonsurf`` to your ``PATH`` variable by typing: ::
11 4fd2e6f0 Carles Martí
12 4fd2e6f0 Carles Martí
    PATH="$PATH:$HOME/dockonsurf/"
13 4fd2e6f0 Carles Martí
14 4fd2e6f0 Carles Martí
If you downloaded it elsewhere, replace ``$HOME`` for the actual path where your DockOnSurf is 
15 4fd2e6f0 Carles Martí
(where you did the ``git clone`` command).
16 4fd2e6f0 Carles Martí
If you want to permanently add the DockOnSurf directory in your ``PATH`` add 
17 4fd2e6f0 Carles Martí
``PATH="$PATH:$HOME/dockonsurf/"`` at the end of your ``$HOME/.bashrc`` file.
18 4fd2e6f0 Carles Martí
19 4fd2e6f0 Carles Martí
DockOnSurf needs the python libraries listed under **Requirements** to be installed 
20 4fd2e6f0 Carles Martí
and available. The easiest way to do this is with the ``conda`` package and environment 
21 4fd2e6f0 Carles Martí
manager (see https://docs.conda.io/en/latest/). You can alternatively install 
22 4fd2e6f0 Carles Martí
them using pip except from RDKit, which is not available as its core routines are 
23 4fd2e6f0 Carles Martí
written in C.
24 4fd2e6f0 Carles Martí
25 4fd2e6f0 Carles Martí
Requirements
26 4fd2e6f0 Carles Martí
^^^^^^^^^^^^
27 4fd2e6f0 Carles Martí
28 4fd2e6f0 Carles Martí
* `Python <http://www.python.org/>`_ >= 3.6
29 4fd2e6f0 Carles Martí
* `Matplotlib <https://matplotlib.org>`_ ~= 3.2.1
30 4fd2e6f0 Carles Martí
* `NumPy <http://docs.scipy.org/doc/numpy/reference/>`_ >= 1.16.6
31 4fd2e6f0 Carles Martí
* `RDKit <https://rdkit.org/>`_ ~= 2019.9.3
32 4fd2e6f0 Carles Martí
* `scikit-learn <https://scikit-learn.org/>`_ ~= 0.23.1
33 4fd2e6f0 Carles Martí
* `HDBSCAN <https://hdbscan.readthedocs.io/en/latest/basic_hdbscan.html>`_ ~= 0.8.26
34 4fd2e6f0 Carles Martí
* `ASE <https://wiki.fysik.dtu.dk/ase/>`_ ~= 3.19.1
35 4fd2e6f0 Carles Martí
* `NetworkX <https://networkx.org/>`_ >= 2.4
36 4fd2e6f0 Carles Martí
* `python-daemon <https://pypi.org/project/python-daemon/>`_ ~= 2.2.4
37 4fd2e6f0 Carles Martí
* `pymatgen <https://pymatgen.org/>`_ ~= 2020.11.11
38 4fd2e6f0 Carles Martí
* `pycp2k <https://github.com/SINGROUP/pycp2k>`_ ~= 0.2.2
39 4fd2e6f0 Carles Martí
40 4fd2e6f0 Carles Martí
For instance, `this is a hyperlink reference <https://odoo.com>`_.