Skip to content

Commit

Permalink
Merge pull request #78 from dib-lab/docs/flesh-out
Browse files Browse the repository at this point in the history
Flesh out docs
  • Loading branch information
standage committed May 13, 2017
2 parents b81e5ef + cacdff9 commit 867fb07
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md

This file was deleted.

43 changes: 43 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
|kevlar build status| |Test coverage| |MIT licensed|

kevlar
======

.. figure:: docs/_static/morpheus-kevlar.jpg
:alt: What if I told you we don't need alignments to find variants?

Welcome to **kevlar**, software for variant discovery independent of a reference genome!

Where can I find kevlar online?
-------------------------------

The online home for kevlar is https://github.com/dib-lab/kevlar.
This includes a source code repository, stable version releases, an issue tracker, and various developer tools.
Documentation for kevlar can be found at https://kevlar.readthedocs.io.

If you have questions or need help with kevlar, the `GitHub issue tracker <https://github.com/dib-lab/kevlar>`__ should be your first point of contact.

How do I use kevlar?
--------------------

See kevlar's `installation instructions <http://kevlar.readthedocs.io/en/latest/install.html>`__ and `quick start guide <http://kevlar.readthedocs.io/en/latest/quick-start.html>`__ to learn how to use kevlar.

**Note**: Although a reference genome is not required, it can be utilized to reduce data volume at an early stage in the workflow and reduce the computational demands of subsequent steps.

**Another note**: kevlar development is currently focused almost entirely on finding novel variants in family-based trio and quad experimental designs.
However, the method lends itself easily to more general experimental designs, which will get more attention and support in the near future.

Contributing
------------

We welcome contributions to kevlar from the community!
If you're interested in modifying kevlar or contributing to its ongoing development feel free to send us a message or submit a pull request!.

The kevlar software is a project of the `Lab for Data Intensive Biology <http://ivory.idyll.org/lab/>`__ at UC Davis.

.. |kevlar build status| image:: https://img.shields.io/travis/dib-lab/kevlar.svg
:target: https://travis-ci.org/dib-lab/kevlar
.. |Test coverage| image:: https://img.shields.io/codecov/c/github/dib-lab/kevlar.svg
:target: https://codecov.io/github/dib-lab/kevlar
.. |MIT licensed| image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://github.com/dib-lab/kevlar/blob/master/LICENSE
Binary file added docs/_static/morpheus-kevlar.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ That said, the core features of the software are reasonbly well tested, and leve

conduct
install
quick-start
cli


Expand Down
53 changes: 53 additions & 0 deletions docs/quick-start.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Quick start
===========

If you have not already done so, install **kevlar** using :doc:`the following instructions <install>`.

A complete listing of all available configuration options for each script can be shown by executing ``kevlar <subcommand> -h`` in the terminal.

----------

#. Compute k-mer abundances

.. code:: bash
kevlar count \
--case kevlar/tests/data/trio1/case1.fq \
--controls kevlar/tests/data/trio1/ctrl[1,2].fq \
--ksize 21 \
--ctrl_max 0
#. Find "interesting" (potentially novel) k-mers

.. code:: bash
kevlar novel \
--cases kevlar/tests/data/trio1/case1.counttable \
--case_min 8 \
--controls kevlar/tests/data/trio1/ctrl[1,2].counttable \
--ctrl_max 0 \
--ksize 21 \
--out case1.novel.unfiltered.augfastq.gz
kevlar/tests/data/trio1/case1.fq
#. Recompute k-mer abundances to discard false positives, partition reads by shared novel k-mers

.. code:: bash
kevlar filter \
--refr kevlar/tests/data/bogus-genome/refr.fa \
--contam kevlar/tests/data/bogus-genome/contam1.fa \
--min-abund 8 \
--ksize 21 \
--aug-out case1.novel.filtered.augfastq.gz \
--out case1.novel.filtered.fq.gz \
--cc-prefix case1 \
case1.novel.unfiltered.augfastq.gz
Currently partitioning is done by ``kevlar filter``, but this will soon be handled by a dedicated ``kevlar partition`` command.

#. Assemble partitioned reads

.. code:: bash
kevlar assemble --out case1.cc0.augfasta case1.cc0.augfastq.gz

0 comments on commit 867fb07

Please sign in to comment.