| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. |
| 2 |
.TH PORECHOP "1" "August 2018" "porechop 0.2.3" "User Commands" |
| 3 |
.SH NAME |
| 4 |
porechop \- adapter trimmer for Oxford Nanopore reads |
| 5 |
.SH SYNOPSIS |
| 6 |
.B porechop |
| 7 |
[\-h] \fB\-i\fR INPUT [\-o OUTPUT] |
| 8 |
[\-\-format {auto,fasta,fastq,fasta.gz,fastq.gz}] [\-v VERBOSITY] |
| 9 |
[\-t THREADS] [\-\-version] [\-b BARCODE_DIR] |
| 10 |
[\-\-barcode_threshold BARCODE_THRESHOLD] |
| 11 |
[\-\-barcode_diff BARCODE_DIFF] [\-\-require_two_barcodes] |
| 12 |
[\-\-untrimmed] [\-\-discard_unassigned] |
| 13 |
[\-\-adapter_threshold ADAPTER_THRESHOLD] |
| 14 |
[\-\-check_reads CHECK_READS] [\-\-scoring_scheme SCORING_SCHEME] |
| 15 |
[\-\-end_size END_SIZE] [\-\-min_trim_size MIN_TRIM_SIZE] |
| 16 |
[\-\-extra_end_trim EXTRA_END_TRIM] |
| 17 |
[\-\-end_threshold END_THRESHOLD] [\-\-no_split] |
| 18 |
[\-\-discard_middle] [\-\-middle_threshold MIDDLE_THRESHOLD] |
| 19 |
[\-\-extra_middle_trim_good_side EXTRA_MIDDLE_TRIM_GOOD_SIDE] |
| 20 |
[\-\-extra_middle_trim_bad_side EXTRA_MIDDLE_TRIM_BAD_SIDE] |
| 21 |
[\-\-min_split_read_size MIN_SPLIT_READ_SIZE] |
| 22 |
.SH DESCRIPTION |
| 23 |
Porechop: a tool for finding adapters in Oxford Nanopore reads, trimming them |
| 24 |
from the ends and splitting reads with internal adapters |
| 25 |
.SH OPTIONS |
| 26 |
.SS "optional arguments:" |
| 27 |
.TP |
| 28 |
\fB\-h\fR, \fB\-\-help\fR |
| 29 |
show this help message and exit |
| 30 |
.SS "Main options:" |
| 31 |
.TP |
| 32 |
\fB\-i\fR INPUT, \fB\-\-input\fR INPUT |
| 33 |
FASTA/FASTQ of input reads or a directory which will |
| 34 |
be recursively searched for FASTQ files (required) |
| 35 |
.TP |
| 36 |
\fB\-o\fR OUTPUT, \fB\-\-output\fR OUTPUT |
| 37 |
Filename for FASTA or FASTQ of trimmed reads (if not |
| 38 |
set, trimmed reads will be printed to stdout) |
| 39 |
.TP |
| 40 |
\fB\-\-format\fR {auto,fasta,fastq,fasta.gz,fastq.gz} |
| 41 |
Output format for the reads \- if auto, the format |
| 42 |
will be chosen based on the output filename or the |
| 43 |
input read format (default: auto) |
| 44 |
.TP |
| 45 |
\fB\-v\fR VERBOSITY, \fB\-\-verbosity\fR VERBOSITY |
| 46 |
Level of progress information: 0 = none, 1 = some, 2 |
| 47 |
= lots, 3 = full \- output will go to stdout if reads |
| 48 |
are saved to a file and stderr if reads are printed |
| 49 |
to stdout (default: 1) |
| 50 |
.TP |
| 51 |
\fB\-t\fR THREADS, \fB\-\-threads\fR THREADS |
| 52 |
Number of threads to use for adapter alignment |
| 53 |
(default: 4) |
| 54 |
.TP |
| 55 |
\fB\-\-version\fR |
| 56 |
show program's version number and exit |
| 57 |
.SS "Barcode binning settings:" |
| 58 |
.IP |
| 59 |
Control the binning of reads based on barcodes (i.e. barcode |
| 60 |
demultiplexing) |
| 61 |
.TP |
| 62 |
\fB\-b\fR BARCODE_DIR, \fB\-\-barcode_dir\fR BARCODE_DIR |
| 63 |
Reads will be binned based on their barcode and |
| 64 |
saved to separate files in this directory |
| 65 |
(incompatible with \fB\-\-output\fR) |
| 66 |
.TP |
| 67 |
\fB\-\-barcode_threshold\fR BARCODE_THRESHOLD |
| 68 |
A read must have at least this percent identity to a |
| 69 |
barcode to be binned (default: 75.0) |
| 70 |
.TP |
| 71 |
\fB\-\-barcode_diff\fR BARCODE_DIFF |
| 72 |
If the difference between a read's best barcode |
| 73 |
identity and its second\-best barcode identity is |
| 74 |
less than this value, it will not be put in a |
| 75 |
barcode bin (to exclude cases which are too close to |
| 76 |
call) (default: 5.0) |
| 77 |
.TP |
| 78 |
\fB\-\-require_two_barcodes\fR |
| 79 |
Reads will only be put in barcode bins if they have |
| 80 |
a strong match for the barcode on both their start |
| 81 |
and end (default: a read can be binned with a match |
| 82 |
at its start or end) |
| 83 |
.TP |
| 84 |
\fB\-\-untrimmed\fR |
| 85 |
Bin reads but do not trim them (appropriate if reads |
| 86 |
are to be used with Nanopolish) (default: trim the |
| 87 |
reads) |
| 88 |
.TP |
| 89 |
\fB\-\-discard_unassigned\fR |
| 90 |
Discard unassigned reads (instead of creating a |
| 91 |
"none" bin) (default: False) |
| 92 |
.SS "Adapter search settings:" |
| 93 |
.IP |
| 94 |
Control how the program determines which adapter sets are present |
| 95 |
.TP |
| 96 |
\fB\-\-adapter_threshold\fR ADAPTER_THRESHOLD |
| 97 |
An adapter set has to have at least this percent |
| 98 |
identity to be labelled as present and trimmed off |
| 99 |
(0 to 100) (default: 90.0) |
| 100 |
.TP |
| 101 |
\fB\-\-check_reads\fR CHECK_READS |
| 102 |
This many reads will be aligned to all possible |
| 103 |
adapters to determine which adapter sets are present |
| 104 |
(default: 10000) |
| 105 |
.TP |
| 106 |
\fB\-\-scoring_scheme\fR SCORING_SCHEME |
| 107 |
Comma\-delimited string of alignment scores: match, |
| 108 |
mismatch, gap open, gap extend (default: 3,\-6,\-5,\-2) |
| 109 |
.SS "End adapter settings:" |
| 110 |
.IP |
| 111 |
Control the trimming of adapters from read ends |
| 112 |
.TP |
| 113 |
\fB\-\-end_size\fR END_SIZE |
| 114 |
The number of base pairs at each end of the read |
| 115 |
which will be searched for adapter sequences |
| 116 |
(default: 150) |
| 117 |
.TP |
| 118 |
\fB\-\-min_trim_size\fR MIN_TRIM_SIZE |
| 119 |
Adapter alignments smaller than this will be ignored |
| 120 |
(default: 4) |
| 121 |
.TP |
| 122 |
\fB\-\-extra_end_trim\fR EXTRA_END_TRIM |
| 123 |
This many additional bases will be removed next to |
| 124 |
adapters found at the ends of reads (default: 2) |
| 125 |
.TP |
| 126 |
\fB\-\-end_threshold\fR END_THRESHOLD |
| 127 |
Adapters at the ends of reads must have at least |
| 128 |
this percent identity to be removed (0 to 100) |
| 129 |
(default: 75.0) |
| 130 |
.SS "Middle adapter settings:" |
| 131 |
.IP |
| 132 |
Control the splitting of read from middle adapters |
| 133 |
.TP |
| 134 |
\fB\-\-no_split\fR |
| 135 |
Skip splitting reads based on middle adapters |
| 136 |
(default: split reads when an adapter is found in |
| 137 |
the middle) |
| 138 |
.TP |
| 139 |
\fB\-\-discard_middle\fR |
| 140 |
Reads with middle adapters will be discarded |
| 141 |
(default: reads with middle adapters are split) |
| 142 |
(this option is on by default when outputting reads |
| 143 |
into barcode bins) |
| 144 |
.TP |
| 145 |
\fB\-\-middle_threshold\fR MIDDLE_THRESHOLD |
| 146 |
Adapters in the middle of reads must have at least |
| 147 |
this percent identity to be found (0 to 100) |
| 148 |
(default: 85.0) |
| 149 |
.TP |
| 150 |
\fB\-\-extra_middle_trim_good_side\fR EXTRA_MIDDLE_TRIM_GOOD_SIDE |
| 151 |
This many additional bases will be removed next to |
| 152 |
middle adapters on their "good" side (default: 10) |
| 153 |
.TP |
| 154 |
\fB\-\-extra_middle_trim_bad_side\fR EXTRA_MIDDLE_TRIM_BAD_SIDE |
| 155 |
This many additional bases will be removed next to |
| 156 |
middle adapters on their "bad" side (default: 100) |
| 157 |
.TP |
| 158 |
\fB\-\-min_split_read_size\fR MIN_SPLIT_READ_SIZE |
| 159 |
Post\-split read pieces smaller than this many base |
| 160 |
pairs will not be outputted (default: 1000) |
| 161 |
.SH AUTHOR |
| 162 |
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. |