Welcome to Post Analysis PLOT (paplot).
paplot creates interactive graphs from text data of genome analysis.
Read our preprint on bioRxiv.
Output example by paplot.
http://genomon-project.github.io/paplot/
English:
http://paplot-doc.readthedocs.org/en/latest/
Japanese:
http://paplot-doc.readthedocs.org/ja/latest/
- python >= 2.7
Required web browser for viewing result file. (Tested in the following)
- Firefox 48
- Google Chrome 44
- Internet Explorer 11
git clone https://github.com/Genomon-Project/paplot.git
cd paplot
python setup.py build install --user
For example, (using sample data)
cd {paplot install directory}
# QC Report
paplot qc example/qc_brush/data.csv ./tmp demo
# Chromosomal Aberration Report
paplot ca example/ca_option/data.csv ./tmp demo
# Mutation Matrix Report
paplot mutation example/mutation_option/data.csv ./tmp demo
# Mutational Signature Report
paplot signature "example/signature_stack/data*.json" ./tmp demo
# pmsignature Report (see https://github.com/friend1ws/pmsignature)
paplot pmsignature "example/pmsignature_stack/data*.json" ./tmp demo
$ paplot -h
usage: paplot [-h] [--version]
{conf,index,qc,ca,mutation,signature,pmsignature} ...
positional arguments:
{conf,index,qc,ca,mutation,signature,pmsignature}
conf view config file
index re-create index file
qc plot QC Report
ca plot Chromosomal Aberration Report
mutation plot Mutation Matrix Report
signature plot Mutational Signature Report
pmsignature plot pmsignature Report
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
$ paplot qc -h
usage: paplot qc [-h] [--config_file CONFIG_FILE] [--title TITLE]
[--ellipsis ELLIPSIS] [--overview OVERVIEW]
[--remarks REMARKS]
input output_dir project_name
positional arguments:
input input files path
output_dir output file path
project_name project name
optional arguments:
-h, --help show this help message and exit
--config_file CONFIG_FILE
config file
--title TITLE report's title
--ellipsis ELLIPSIS report file's ID
--overview OVERVIEW overview about report file
--remarks REMARKS optional text
$ paplot ca -h
usage: paplot ca [-h] [--config_file CONFIG_FILE] [--title TITLE]
[--ellipsis ELLIPSIS] [--overview OVERVIEW]
[--remarks REMARKS]
input output_dir project_name
positional arguments:
input input files path
output_dir output file path
project_name project name
optional arguments:
-h, --help show this help message and exit
--config_file CONFIG_FILE
config file
--title TITLE report's title
--ellipsis ELLIPSIS report file's ID
--overview OVERVIEW overview about report file
--remarks REMARKS optional text
$ paplot mutation -h
usage: paplot mutation [-h] [--config_file CONFIG_FILE] [--title TITLE]
[--ellipsis ELLIPSIS] [--overview OVERVIEW]
[--remarks REMARKS]
input output_dir project_name
positional arguments:
input input files path
output_dir output file path
project_name project name
optional arguments:
-h, --help show this help message and exit
--config_file CONFIG_FILE
config file
--title TITLE report's title
--ellipsis ELLIPSIS report file's ID
--overview OVERVIEW overview about report file
--remarks REMARKS optional text
$ paplot signature -h
usage: paplot signature [-h] [--config_file CONFIG_FILE] [--title TITLE]
[--ellipsis ELLIPSIS] [--overview OVERVIEW]
[--remarks REMARKS]
input output_dir project_name
positional arguments:
input input files path
output_dir output file path
project_name project name
optional arguments:
-h, --help show this help message and exit
--config_file CONFIG_FILE
config file
--title TITLE report's title
--ellipsis ELLIPSIS report file's ID
--overview OVERVIEW overview about report file
--remarks REMARKS optional text
About pmsignaute?, see https://github.com/friend1ws/pmsignature)
$ paplot pmsignature -h
usage: paplot pmsignature [-h] [--config_file CONFIG_FILE] [--title TITLE]
[--ellipsis ELLIPSIS] [--overview OVERVIEW]
[--remarks REMARKS]
input output_dir project_name
positional arguments:
input input files path
output_dir output file path
project_name project name
optional arguments:
-h, --help show this help message and exit
--config_file CONFIG_FILE
config file
--title TITLE report's title
--ellipsis ELLIPSIS report file's ID
--overview OVERVIEW overview about report file
--remarks REMARKS optional text
{output_dir} │ ├── {project_name} │ └── (Data files and html files) │ ├── js │ └── (Javascript files) │ ├── layout │ └── (Stylesheet and image files) │ ├── lib │ └── (Javascript libraries of 3rd-party) │ ├── style │ └ (Appearance configuration file) │ └── index.html <--------- Open your browser
See document LICENSE.
Javascript Libraries used in paplot are listed below.
- D3.js https://d3js.org/
- d3-legend http://d3-legend.susielu.com
See document under ./paplot/lib/.