1- .TH minimap2 1 "17 October 2017" "minimap2-2.2-dirty (r518 )" "Bioinformatics tools"
1+ .TH minimap2 1 "22 October 2017" "minimap2-2.2-dirty (r531 )" "Bioinformatics tools"
22.SH NAME
33.PP
44minimap2 - mapping and alignment between collections of DNA sequences
@@ -126,7 +126,7 @@ Stop chain enlongation if there are no minimizers in
126126[10000].
127127.TP
128128.BI -r \ INT
129- Bandwidth used in chaining and DP-based alignment [1000 ]. This option
129+ Bandwidth used in chaining and DP-based alignment [500 ]. This option
130130approximately controls the maximum gap size.
131131.TP
132132.BI -n \ INT
@@ -148,7 +148,7 @@ diagonal minimizer hits will also be suppressed.
148148.TP
149149.BI -p \ FLOAT
150150Minimal secondary-to-primary score ratio to output secondary mappings [0.8].
151- Between two chains overlaping over half of the shorter chain (controled by
151+ Between two chains overlaping over half of the shorter chain (controlled by
152152.BR --mask-level ),
153153the chain with a lower score is secondary to the chain with a higher score.
154154If the ratio of the scores is below
@@ -163,10 +163,16 @@ secondary alignments [5]. This option has no effect when
163163is applied.
164164.TP
165165.BI -G \ NUM
166- Maximal intron length in the splice mode [200k]. This option also changes the
167- bandwidth to
166+ Maximum gap on the reference (effective with
167+ .BR -xsplice / --splice ).
168+ This option also changes the chaining and alignment band width to
168169.IR NUM .
169- Increasing this option slows down spliced alignment.
170+ Increasing this option slows down spliced alignment. [200k]
171+ .TP
172+ .BI -F \ NUM
173+ Maximum fragment length (aka insert size; effective with
174+ .BR -xsr / --frag)
175+ [800]
170176.TP
171177.BI --max-chain-skip \ INT
172178A heuristics that stops chaining early [50]. Minimap2 uses dynamic programming
@@ -175,6 +181,23 @@ option makes minimap2 exits the inner loop if it repeatedly sees seeds already
175181on chains. Set
176182.I INT
177183to a large number to switch off this heurstics.
184+ .TP
185+ .B --no-long-join
186+ Disable the long gap patching heuristic. When this option is applied, the
187+ maximum alignment gap is mostly controlled by
188+ .BR -r .
189+ .TP
190+ .B --splice
191+ Enable the splice alignment mode.
192+ .TP
193+ .B --sr
194+ Enable short-read alignment heuristics. In the short-read mode, minimap2
195+ applies a second round of chaining with a higher minimizer occurrence threshold
196+ if no good chain is found. In addition, minimap2 attempts to patch gaps between
197+ seeds with ungapped alignment.
198+ .TP
199+ .BR --frag [= no | yes ]
200+ Whether to enable the fragment mode [no]
178201.SS Alignment options
179202.TP 10
180203.BI -A \ INT
@@ -194,6 +217,7 @@ Gap extension penalty [2,1]. A gap of length
194217.I k
195218costs
196219.RI min{ O1 + k * E1 , O2 + k * E2 }.
220+ In the splice mode, the second gap penalties are not used.
197221.TP
198222.BI -z \ INT
199223Break an alignment if the running score drops too quickly along the diagonal of
@@ -217,6 +241,9 @@ no attempt to match GT-AG [n]
217241.TP
218242.BI --cost-non-gt-ag \ INT
219243Cost of non-canonical splicing sites [0].
244+ .TP
245+ .BI --end-bonus \ INT
246+ Score bonus when alignment extends to the end of the query sequence [10].
220247.SS Input/output options
221248.TP 10
222249.B -a
@@ -226,9 +253,15 @@ by default.
226253.B -Q
227254Ignore base quality in the input file.
228255.TP
256+ .B -L
257+ Write CIGAR with >65535 operators at the CG tag. Older tools are unable to
258+ convert alignments with >65535 CIGAR ops to BAM. This option makes minimap2 SAM
259+ compatible with older tools. Newer tools recognizes this tag and reconstruct
260+ the real CIGAR in memory.
261+ .TP
229262.BI -R \ STR
230263SAM read group line in a format like
231- .B @RG\\\\t ID:foo\\\\t SM:bar
264+ .RB @RG\\\\t ID:foo\\\\t SM:bar
232265[].
233266.TP
234267.B -c
@@ -249,6 +282,11 @@ is given,
249282.I short
250283is assumed. [none]
251284.TP
285+ .BI --seed \ INT
286+ Integer seed for randomizing equally best hits. Minimap2 hashes
287+ .I INT
288+ and read name when choosing between equally best hits. [11]
289+ .TP
252290.BI -t \ INT
253291Number of threads [3]. Minimap2 uses at most three threads when indexing target
254292sequences, and uses up to
@@ -271,6 +309,9 @@ K/M/G/k/m/g suffix is accepted. A large
271309helps load balancing in the multi-threading mode, at the cost of increased
272310memory.
273311.TP
312+ .BR --secondary [= yes | no ]
313+ Whether to output secondary alignments [yes]
314+ .TP
274315.B --version
275316Print version number to stdout
276317.SS Preset options
@@ -343,9 +384,9 @@ tag ignores introns to demote hits to pseudogenes.
343384.B sr
344385Short single-end reads without splicing
345386.RB ( -k21
346- .B -w11 -A2 -B8 -O12,32 -E2,1 -r50 -p.5 -N20 -f1000,5000 -n2 -m20 -s40 -g200
347- .B -2K50m --frag
348- .BR --sr ).
387+ .B -w11 --sr --frag - A2 -B8 -O12,32 -E2,1 -r50 -p.5 -N20 -f1000,5000 -n2 -m20
388+ .B -s40 -g200 -2K50m
389+ .BR --secondary=no ).
349390.RE
350391.SS Miscellaneous options
351392.TP 10
@@ -358,7 +399,7 @@ multi-threading mode.
358399.B --print-qname
359400Print query names to stderr, mostly to see which query is crashing minimap2.
360401.TP
361- .B --print-seed
402+ .B --print-seeds
362403Print seed positions to stderr, for debugging only.
363404.SH OUTPUT FORMAT
364405.PP
0 commit comments