Skip to content

Commit

Permalink
adding additional documentation to the code
Browse files Browse the repository at this point in the history
  • Loading branch information
proost committed Dec 1, 2017
1 parent 2500f22 commit 6f57cda
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
7 changes: 3 additions & 4 deletions conekt/models/gene_families.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,10 @@ def family_stats(self):
@staticmethod
def __add_families(families, family_members):
"""
Adds gene families to the database and assigs genes to their designated family
Adds gene families to the database and assigns genes to their designated family
:param families:
:param family_members:
:return:
:param families: list of GeneFamily objects
:param family_members: dict (keys = gene family name) with lists of members
"""
for i, f in enumerate(families):
db.session.add(f)
Expand Down
14 changes: 13 additions & 1 deletion docs/tutorials/001_basics.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# Tutorial: The basics

## Home page and Menu
## Home page and Species page

![overview](images/overview.png "Conekt Overview")

On the CoNekT you quickly can get updated about announcements (e.g. server downtime), recent changes and general
updates from the lab's twitter feed.

To check out which **species** are currently included in CoNekT, a species page can be accessed through the **menu button**
named **Species** on the top of the page. This will bring up a page with the species tree and a table with species included
along with some general statistics.

![species](images/species.png "Species")

Note the buttons to **download** all gene **sequences** and the complete co-expression **networks**. Click on a species
name to bring up a brief description and other relevant information (e.g. useful links, ... )

## Search

Binary file added docs/tutorials/images/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/tutorials/images/species.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f57cda

Please sign in to comment.