| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.12. |
| 2 |
.TH NGMLR "1" "June 2020" "ngmlr 0.2.7" "User Commands" |
| 3 |
.SH NAME |
| 4 |
ngmlr \- CoNvex Gap-cost alignMents for Long Reads |
| 5 |
.SH SYNOPSIS |
| 6 |
.B ngmlr |
| 7 |
[\fI\,options\/\fR] \fI\,-r <reference> -q <reads> \/\fR[\fI\,-o <output>\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
Ngmlr is a long-read mapper designed to sensitively align PacBilo or |
| 10 |
Oxford Nanopore to (large) reference genomes. It was designed to quickly |
| 11 |
and correctly align the reads, including those spanning (complex) |
| 12 |
structural variations. Ngmlr uses an SV aware k-mer search to find |
| 13 |
approximate mapping locations for a read and then a banded Smith- |
| 14 |
Waterman alignment algorithm to compute the final alignment. Ngmlr uses |
| 15 |
a convex gap cost model that penalizes gap extensions for longer gaps |
| 16 |
less than for shorter ones to compute precise alignments. |
| 17 |
.SH OPTIONS |
| 18 |
.SS "Input/Output:" |
| 19 |
.HP |
| 20 |
\fB\-r\fR <file>, \fB\-\-reference\fR <file> |
| 21 |
.TP |
| 22 |
(required) |
| 23 |
Path to the reference genome (FASTA/Q, can be gzipped) |
| 24 |
.HP |
| 25 |
\fB\-q\fR <file>, \fB\-\-query\fR <file> |
| 26 |
.IP |
| 27 |
Path to the read file (FASTA/Q) [/dev/stdin] |
| 28 |
.HP |
| 29 |
\fB\-o\fR <string>, \fB\-\-output\fR <string> |
| 30 |
.IP |
| 31 |
Adds RG:Z:<string> to all alignments in SAM/BAM [none] |
| 32 |
.HP |
| 33 |
\fB\-\-skip\-write\fR |
| 34 |
.IP |
| 35 |
Don't write reference index to disk [false] |
| 36 |
.HP |
| 37 |
\fB\-\-bam\-fix\fR |
| 38 |
.IP |
| 39 |
Report reads with > 64k CIGAR operations as unmapped. Required to be compatibel to BAM format [false] |
| 40 |
.HP |
| 41 |
\fB\-\-rg\-id\fR <string> |
| 42 |
.IP |
| 43 |
Adds RG:Z:<string> to all alignments in SAM/BAM [none] |
| 44 |
.HP |
| 45 |
\fB\-\-rg\-sm\fR <string> |
| 46 |
.IP |
| 47 |
RG header: Sample [none] |
| 48 |
.HP |
| 49 |
\fB\-\-rg\-lb\fR <string> |
| 50 |
.IP |
| 51 |
RG header: Library [none] |
| 52 |
.HP |
| 53 |
\fB\-\-rg\-pl\fR <string> |
| 54 |
.IP |
| 55 |
RG header: Platform [none] |
| 56 |
.HP |
| 57 |
\fB\-\-rg\-ds\fR <string> |
| 58 |
.IP |
| 59 |
RG header: Description [none] |
| 60 |
.HP |
| 61 |
\fB\-\-rg\-dt\fR <string> |
| 62 |
.IP |
| 63 |
RG header: Date (format: YYYY\-MM\-DD) [none] |
| 64 |
.HP |
| 65 |
\fB\-\-rg\-pu\fR <string> |
| 66 |
.IP |
| 67 |
RG header: Platform unit [none] |
| 68 |
.HP |
| 69 |
\fB\-\-rg\-pi\fR <string> |
| 70 |
.IP |
| 71 |
RG header: Median insert size [none] |
| 72 |
.HP |
| 73 |
\fB\-\-rg\-pg\fR <string> |
| 74 |
.IP |
| 75 |
RG header: Programs [none] |
| 76 |
.HP |
| 77 |
\fB\-\-rg\-cn\fR <string> |
| 78 |
.IP |
| 79 |
RG header: sequencing center [none] |
| 80 |
.HP |
| 81 |
\fB\-\-rg\-fo\fR <string> |
| 82 |
.IP |
| 83 |
RG header: Flow order [none] |
| 84 |
.HP |
| 85 |
\fB\-\-rg\-ks\fR <string> |
| 86 |
.IP |
| 87 |
RG header: Key sequence [none] |
| 88 |
.SS "General:" |
| 89 |
.HP |
| 90 |
\fB\-t\fR <int>, \fB\-\-threads\fR <int> |
| 91 |
.IP |
| 92 |
Number of threads [1] |
| 93 |
.HP |
| 94 |
\fB\-x\fR <pacbio, ont>, \fB\-\-presets\fR <pacbio, ont> |
| 95 |
.IP |
| 96 |
Parameter presets for different sequencing technologies [pacbio] |
| 97 |
.HP |
| 98 |
\fB\-i\fR <0\-1>, \fB\-\-min\-identity\fR <0\-1> |
| 99 |
.IP |
| 100 |
Alignments with an identity lower than this threshold will be discarded [0.65] |
| 101 |
.HP |
| 102 |
\fB\-R\fR <int/float>, \fB\-\-min\-residues\fR <int/float> |
| 103 |
.IP |
| 104 |
Alignments containing less than <int> or (<float> * read length) residues will be discarded [0.25] |
| 105 |
.HP |
| 106 |
\fB\-\-no\-smallinv\fR |
| 107 |
.IP |
| 108 |
Don't detect small inversions [false] |
| 109 |
.HP |
| 110 |
\fB\-\-no\-lowqualitysplit\fR |
| 111 |
.IP |
| 112 |
Split alignments with poor quality [false] |
| 113 |
.HP |
| 114 |
\fB\-\-verbose\fR |
| 115 |
.IP |
| 116 |
Debug output [false] |
| 117 |
.HP |
| 118 |
\fB\-\-no\-progress\fR |
| 119 |
.IP |
| 120 |
Don't print progress info while mapping [false] |
| 121 |
.SS "Advanced:" |
| 122 |
.HP |
| 123 |
\fB\-\-match\fR <float> |
| 124 |
.IP |
| 125 |
Match score [2] |
| 126 |
.HP |
| 127 |
\fB\-\-mismatch\fR <float> |
| 128 |
.IP |
| 129 |
Mismatch score [\-5] |
| 130 |
.HP |
| 131 |
\fB\-\-gap\-open\fR <float> |
| 132 |
.IP |
| 133 |
Gap open score [\-5] |
| 134 |
.HP |
| 135 |
\fB\-\-gap\-extend\-max\fR <float> |
| 136 |
.IP |
| 137 |
Gap open extend max [\-5] |
| 138 |
.HP |
| 139 |
\fB\-\-gap\-extend\-min\fR <float> |
| 140 |
.IP |
| 141 |
Gap open extend min [\-1] |
| 142 |
.HP |
| 143 |
\fB\-\-gap\-decay\fR <float> |
| 144 |
.IP |
| 145 |
Gap extend decay [0.15] |
| 146 |
.HP |
| 147 |
\fB\-k\fR <10\-15>, \fB\-\-kmer\-length\fR <10\-15> |
| 148 |
.IP |
| 149 |
K\-mer length in bases [13] |
| 150 |
.HP |
| 151 |
\fB\-\-kmer\-skip\fR <int> |
| 152 |
.IP |
| 153 |
Number of k\-mers to skip when building the lookup table from the reference [2] |
| 154 |
.HP |
| 155 |
\fB\-\-bin\-size\fR <int> |
| 156 |
.IP |
| 157 |
Sets the size of the grid used during candidate search [4] |
| 158 |
.HP |
| 159 |
\fB\-\-max\-segments\fR <int> |
| 160 |
.IP |
| 161 |
Max number of segments allowed for a read per kb [1] |
| 162 |
.HP |
| 163 |
\fB\-\-subread\-length\fR <int> |
| 164 |
.IP |
| 165 |
Length of fragments reads are split into [256] |
| 166 |
.HP |
| 167 |
\fB\-\-subread\-corridor\fR <int> |
| 168 |
.IP |
| 169 |
Length of corridor sub\-reads are aligned with [40] |
| 170 |
.SH AUTHOR |
| 171 |
This manpage was written by Nilesh Patra for the Debian distribution and |
| 172 |
can be used for any other usage of the program. |