Database Installation Command
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
prepare the conda environment (available at https://github.com/bcb-unl/run_dbcan_new/tree/master/envs):

.. code-block:: shell

    conda env create -f environment.yml
    conda activate run_dbcan_env


1. We provide command in the run_dbcan script:

.. code-block:: shell

    run_dbcan database --db_dir db

2. Users could also download all  database files from the dbCAN2 website (http://bcb.unl.edu/dbCAN2/download/Databases/), and then put them into the db directory.

.. code-block:: shell

    wget -q https://bcb.unl.edu/dbCAN2/download/run_dbCAN_database_total/dbCAN_db.tar.gz -O db.tar.gz
    tar -zxvf db.tar.gz
    rm db.tar.gz


.. _example folder: https://bcb.unl.edu/dbCAN2/download/test
