Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cangermueller committed Feb 16, 2017
1 parent b26d43c commit 21769fe
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
17 changes: 14 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,22 @@ Table of contents
Installation
============

Clone the DeepCpG repository into your current directory::
The easiest way to install DeepCpG is to use ``PyPI``:

.. code:: bash
pip install deepcpg
Alternatively, you can checkout the repository,

.. code:: bash
git clone https://github.com/cangermueller/deepcpg.git
Install DeepCpG and its dependencies::
and then install DeepCpG using ``setup.py``:

.. code:: bash
python setup.py install
Expand Down Expand Up @@ -116,7 +127,7 @@ Example:
--nb_epoch 30
--out_dir ./model
This command uses chromosomes 1-3 for training and 10-13 for validation. ``dna_model``, ``cpg_model``, and ``joint_model`` specify the architecture of the CpG, DNA, and joint model, respectively. Training will stop after at most 30 epochs and model files will be stored in ``./model``.
This command uses chromosomes 1-3 for training and 10-13 for validation. ``---dna_model``, ``--cpg_model``, and ``--joint_model`` specify the architecture of the CpG, DNA, and joint module, respectively (see manuscript for details). Training will stop after at most 30 epochs and model files will be stored in ``./model``.


4. Use ``dcpg_eval.py`` to predict missing methylation states and evaluate prediction performances:
Expand Down
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.autodoc',
]

Expand Down
10 changes: 8 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ DeepCpG is a deep neural network for predicting the methylation state of CpG din
Installation
------------

Clone the DeepCpG repository into your current directory:
The easiest way to install DeepCpG is to use ``PyPI``:

.. code:: bash
pip install deepcpg
Alternatively, you can checkout the repository

.. code:: bash
git clone https://github.com/cangermueller/deepcpg.git
Install DeepCpG and its dependencies:
and then install DeepCpG using ``setup.py``:

.. code:: bash
Expand Down

0 comments on commit 21769fe

Please sign in to comment.