| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. |
| 2 |
.TH PYCOQC "1" "December 2020" "pycoQC 2.5.2" "User Commands" |
| 3 |
.SH NAME |
| 4 |
pycoQC \- computes metrics and generates interactive QC plots from the sequencing summary report generated by Oxford Nanopore technologies basecallers |
| 5 |
.SH DESCRIPTION |
| 6 |
usage: pycoQC [\-h] [\-\-version] [\-\-summary_file [SUMMARY_FILE ...]] |
| 7 |
.IP |
| 8 |
[\-\-barcode_file [BARCODE_FILE ...]] [\-\-bam_file [BAM_FILE ...]] |
| 9 |
[\-\-html_outfile HTML_OUTFILE] [\-\-json_outfile JSON_OUTFILE] |
| 10 |
[\-\-min_pass_qual MIN_PASS_QUAL] [\-\-min_pass_len MIN_PASS_LEN] |
| 11 |
[\-\-filter_calibration] [\-\-filter_duplicated] |
| 12 |
[\-\-min_barcode_percent MIN_BARCODE_PERCENT] |
| 13 |
[\-\-report_title REPORT_TITLE] [\-\-template_file TEMPLATE_FILE] |
| 14 |
[\-\-config_file CONFIG_FILE] [\-\-skip_coverage_plot] |
| 15 |
[\-\-sample SAMPLE] [\-\-default_config] [\-v | \fB\-q]\fR |
| 16 |
.PP |
| 17 |
pycoQC computes metrics and generates interactive QC plots from the sequencing summary |
| 18 |
report generated by Oxford Nanopore technologies basecallers |
| 19 |
.PP |
| 20 |
* Minimal usage |
| 21 |
.IP |
| 22 |
pycoQC \fB\-f\fR sequencing_summary.txt \fB\-o\fR pycoQC_output.html |
| 23 |
.PP |
| 24 |
* Including Guppy barcoding file + html output + json output |
| 25 |
.IP |
| 26 |
pycoQC \fB\-f\fR sequencing_summary.txt \fB\-b\fR barcoding_sequencing.txt \fB\-o\fR pycoQC_output.html \fB\-j\fR pycoQC_output.json |
| 27 |
.PP |
| 28 |
* Including Bam file + html output |
| 29 |
.IP |
| 30 |
pycoQC \fB\-f\fR sequencing_summary.txt \fB\-a\fR alignment.bam \fB\-o\fR pycoQC_output.html |
| 31 |
.SS "optional arguments:" |
| 32 |
.TP |
| 33 |
\fB\-h\fR, \fB\-\-help\fR |
| 34 |
show this help message and exit |
| 35 |
.TP |
| 36 |
\fB\-\-version\fR |
| 37 |
show program's version number and exit |
| 38 |
.TP |
| 39 |
\fB\-v\fR, \fB\-\-verbose\fR |
| 40 |
Increase verbosity |
| 41 |
.TP |
| 42 |
\fB\-q\fR, \fB\-\-quiet\fR |
| 43 |
Reduce verbosity |
| 44 |
.SS "Input/output options:" |
| 45 |
.TP |
| 46 |
\fB\-\-summary_file\fR [SUMMARY_FILE ...], \fB\-f\fR [SUMMARY_FILE ...] |
| 47 |
Path to a sequencing_summary generated by Albacore |
| 48 |
1.0.0 + (read_fast5_basecaller.py) / Guppy 2.1.3+ |
| 49 |
(guppy_basecaller). One can also pass multiple space |
| 50 |
separated file paths or a UNIX style regex matching |
| 51 |
multiple files (Required) |
| 52 |
.TP |
| 53 |
\fB\-\-barcode_file\fR [BARCODE_FILE ...], \fB\-b\fR [BARCODE_FILE ...] |
| 54 |
Path to the barcode_file generated by Guppy 2.1.3+ |
| 55 |
(guppy_barcoder) or Deepbinner 0.2.0+. This is not a |
| 56 |
required file. One can also pass multiple space |
| 57 |
separated file paths or a UNIX style regex matching |
| 58 |
multiple files (optional) |
| 59 |
.TP |
| 60 |
\fB\-\-bam_file\fR [BAM_FILE ...], \fB\-a\fR [BAM_FILE ...] |
| 61 |
Path to a Bam file corresponding to reads in the |
| 62 |
summary_file. Preferably aligned with Minimap2 One can |
| 63 |
also pass multiple space separated file paths or a |
| 64 |
UNIX style regex matching multiple files (optional) |
| 65 |
.TP |
| 66 |
\fB\-\-html_outfile\fR HTML_OUTFILE, \fB\-o\fR HTML_OUTFILE |
| 67 |
Path to an output html file report (required if |
| 68 |
json_outfile not given) |
| 69 |
.TP |
| 70 |
\fB\-\-json_outfile\fR JSON_OUTFILE, \fB\-j\fR JSON_OUTFILE |
| 71 |
Path to an output json file report (required if |
| 72 |
html_outfile not given) |
| 73 |
.SS "Filtering options:" |
| 74 |
.TP |
| 75 |
\fB\-\-min_pass_qual\fR MIN_PASS_QUAL |
| 76 |
Minimum quality to consider a read as 'pass' (default: |
| 77 |
7) |
| 78 |
.TP |
| 79 |
\fB\-\-min_pass_len\fR MIN_PASS_LEN |
| 80 |
Minimum read length to consider a read as 'pass' |
| 81 |
(default: 0) |
| 82 |
.TP |
| 83 |
\fB\-\-filter_calibration\fR |
| 84 |
If given, reads flagged as calibration strand by the |
| 85 |
basecaller are removed (default: False) |
| 86 |
.TP |
| 87 |
\fB\-\-filter_duplicated\fR |
| 88 |
If given, duplicated read_ids are removed but the |
| 89 |
first occurrence is kept (Guppy sometimes outputs the |
| 90 |
same read multiple times) (default: False) |
| 91 |
.TP |
| 92 |
\fB\-\-min_barcode_percent\fR MIN_BARCODE_PERCENT |
| 93 |
Minimal percent of total reads to retain barcode |
| 94 |
label. If below, the barcode value is set as |
| 95 |
`unclassified` (default: 0.1) |
| 96 |
.SS "HTML report options:" |
| 97 |
.TP |
| 98 |
\fB\-\-report_title\fR REPORT_TITLE |
| 99 |
Title to use in the html report (default: PycoQC |
| 100 |
report) |
| 101 |
.TP |
| 102 |
\fB\-\-template_file\fR TEMPLATE_FILE |
| 103 |
Jinja2 html template for the html report (default: ) |
| 104 |
.TP |
| 105 |
\fB\-\-config_file\fR CONFIG_FILE |
| 106 |
Path to a JSON configuration file for the html report. |
| 107 |
If not provided, looks for it in ~/.pycoQC and |
| 108 |
~/.config/pycoQC/config. If it's still not found, |
| 109 |
falls back to default parameters. The first level keys |
| 110 |
are the names of the plots to be included. The second |
| 111 |
level keys are the parameters to pass to each plotting |
| 112 |
function (default: )") |
| 113 |
.TP |
| 114 |
\fB\-\-skip_coverage_plot\fR |
| 115 |
Skip the coverage plot in HTML report. Useful when |
| 116 |
using a reference file containing many sequences, i.e. |
| 117 |
transcriptome (default: False) |
| 118 |
.SS "Other options:" |
| 119 |
.TP |
| 120 |
\fB\-\-sample\fR SAMPLE |
| 121 |
If not None a n number of reads will be randomly |
| 122 |
selected instead of the entire dataset for plotting |
| 123 |
function (deterministic sampling) (default: 100000) |
| 124 |
.TP |
| 125 |
\fB\-\-default_config\fR, \fB\-d\fR |
| 126 |
Print default configuration file. Can be used to |
| 127 |
generate a template JSON file (default: False) |
| 128 |
.SH AUTHOR |
| 129 |
This manpage was written by Nilesh Patra for the Debian distribution and |
| 130 |
can be used for any other usage of the program. |