Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
viis committed Nov 7, 2015
1 parent b4b6784 commit ba459b1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The documentation in organized into three sections:
local_installation
coding_style
git_workflow
reload_database

.. _about-docs:

Expand Down
6 changes: 3 additions & 3 deletions docs/mutations.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Mutations
=======
=========

Mutation browser
--------------
----------------

The mutant browser allows users to view mutant data for a receptor or receptor family and hightlight mutants on
receptor diagrams. Using the tool is a two step process.
Expand All @@ -24,7 +24,7 @@ Below the plots, a table of every residue in the selected receptors and segments
highlighted.

Mutation data submission
----------------------
------------------------

The GPCRdb already contains the largest available set of GPCR mutants and the goal is to continuously deposit mutants
into GPCRdb, now also capturing the pharmacological effect.
Expand Down
19 changes: 19 additions & 0 deletions docs/reload_database.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Reload database from dump
=========================

* Go to the project root directory on your virtual machine::

cd /vagrant/protwis

* Delete the current database::
psql -U protwis -h localhost -d protwis -c 'drop schema public cascade; create schema public;'

* [Optional] Download the newest dump from gpcrdb::
curl http://files.gpcrdb.org/protwis.sql.gz > /home/vagrant/protwis.sql.gz
gunzip /home/vagrant/protwis.sql.gz

* Load the dump [Either from default location or a location of your choosing]::
psql -U protwis -h localhost -o protwis < /home/vagrant/protwis.sql;

0 comments on commit ba459b1

Please sign in to comment.