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

dockonsurf / docs / source / installation.rst @ cf980c86

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