Report generator for Chanjo output
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
artwork
chanjo_report
docs
requirements
tests
.editorconfig
.gitignore
.travis.yml
AUTHORS
CHANGELOG.md
CONTRIBUTING.md
LICENSE
MANIFEST.in
README.md
application.py
requirements.txt
setup.cfg
setup.py
tasks.py

README.md

Example report (eng)

Chanjo Report PyPI version Build Status

Automatically generate basic coverage reports from Chanjo SQL databases. This plugin installs as a subcommand ("report") to the Chanjo command line interface.

Usage

Chanjo Report supports a number of output formats: tabular, PDF, and HTML. To print a PDF coverage report for a group of samples "WGS-prep" do:

$ chanjo report --render pdf --group "WGS-prep" > ./coverage-report.pdf

Features

Supported output formats

Chanjo Reports multiple output formats:

  • tabular: easily parsable and pipeable
  • PDF: easily distributable (for humans)
  • HTML: easily deliverable on the web

Supported languages (translations)

The coverage report (HTML/PDF) can be render is the following languages:

  • English
  • Swedish

Motivation

We are using the output from Chanjo at Clincal Genomics to report success of sequencing across the exome based on coverage. Our customers, clinicians mostly, are specifically interested in knowing to what degree their genes of interest are covered by sequencing along with some intuitive overall coverage metrics. They want the output in PDF format to file it in their system.

As a side effect of finding it easiest to convert HTML to PDF, Chanjo Report has a built in Flask server that can be used to render reports dynamically and even be plugged into other Flask servers as a Blueprint.

Installation

Chanjo Report is distributed through pip. Install the latest release by running:

$ pip install chanjo-report

... or locally for development:

$ git clone https://github.com/robinandeer/chanjo-report.git
$ cd chanjo-report
$ pip install --editable .

Note that I will eventually provide a fully provisioned Vagrant environment to ease development setup 😃

License

MIT. See the LICENSE file for more details.

Contributing

Anyone can help make this project better - read CONTRIBUTING to get started!