source: branches/stable/GDE/MAFFT/mafft-7.055-with-extensions/core/mafft.1

Last change on this file was 10371, checked in by aboeckma, 11 years ago

updated mafft version. Added extensions (no svn ignore, yet)

File size: 14.4 KB
Line 
1.\"     Title: MAFFT
2.\"    Author: Kazutaka Katoh <kazutaka.katoh@aist.go.jp>
3.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
4.\"      Date: 2007-08-14
5.\"    Manual: Mafft Manual
6.\"    Source: mafft 6.240
7.\"
8.TH "MAFFT" "1" "2007\-06\-09" "mafft 6.240" "Mafft Manual"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "THIS MANUAL IS FOR V6.2XX (2007)"
14Recent versions (v6.8xx; 2010 Nov.) have more features than those described below.
15See also the tips page at
16http://mafft.cbrc.jp/alignment/software/tips0.html
17.SH "NAME"
18.RS 0
19.sp
20mafft \- Multiple alignment program for amino acid or nucleotide sequences
21.RE
22.SH "SYNOPSIS"
23.RS 0
24.HP 6
25\fBmafft\fR [\fBoptions\fR] \fIinput\fR [>\ \fIoutput\fR]
26.HP 6
27\fBlinsi\fR \fIinput\fR [>\ \fIoutput\fR]
28.HP 6
29\fBginsi\fR \fIinput\fR [>\ \fIoutput\fR]
30.HP 6
31\fBeinsi\fR \fIinput\fR [>\ \fIoutput\fR]
32.HP 7
33\fBfftnsi\fR \fIinput\fR [>\ \fIoutput\fR]
34.HP 6
35\fBfftns\fR \fIinput\fR [>\ \fIoutput\fR]
36.HP 5
37\fBnwns\fR \fIinput\fR [>\ \fIoutput\fR]
38.HP 6
39\fBnwnsi\fR \fIinput\fR [>\ \fIoutput\fR]
40.HP 14
41\fBmafft\-profile\fR \fIgroup1\fR \fIgroup2\fR [>\ \fIoutput\fR]
42.HP
43.sp
44\fIinput\fR, \fIgroup1\fR and \fIgroup2\fR must be in FASTA format.
45.RE
46.SH "DESCRIPTION"
47.RS 0
48\fBMAFFT\fR is a multiple sequence alignment program for unix\-like operating systems. It offers a range of multiple alignment methods.
49.SS "Accuracy\-oriented methods:"
50.sp
51.RS 4
52\h'-04'\(bu\h'+03'L\-INS\-i (probably most accurate; recommended for <200 sequences; iterative refinement method incorporating local pairwise alignment information):
53.HP 6
54\fBmafft\fR \fB\-\-localpair\fR \fB\-\-maxiterate\fR\ \fI1000\fR \fIinput\fR [>\ \fIoutput\fR]
55.HP 6
56\fBlinsi\fR \fIinput\fR [>\ \fIoutput\fR]
57.RE
58.sp
59.RS 4
60\h'-04'\(bu\h'+03'G\-INS\-i (suitable for sequences of similar lengths; recommended for <200 sequences; iterative refinement method incorporating global pairwise alignment information):
61.HP 6
62\fBmafft\fR \fB\-\-globalpair\fR \fB\-\-maxiterate\fR\ \fI1000\fR \fIinput\fR [>\ \fIoutput\fR]
63.HP 6
64\fBginsi\fR \fIinput\fR [>\ \fIoutput\fR]
65.RE
66.sp
67.RS 4
68\h'-04'\(bu\h'+03'E\-INS\-i (suitable for sequences containing large unalignable regions; recommended for <200 sequences):
69.HP 6
70\fBmafft\fR \fB\-\-ep\fR\ \fI0\fR \fB\-\-genafpair\fR \fB\-\-maxiterate\fR\ \fI1000\fR \fIinput\fR [>\ \fIoutput\fR]
71.HP 6
72\fBeinsi\fR \fIinput\fR [>\ \fIoutput\fR]
73.br
74
75For E\-INS\-i, the
76\fB\-\-ep\fR
77\fI0\fR
78option is recommended to allow large gaps.
79.RE
80.SS "Speed\-oriented methods:"
81.sp
82.RS 4
83\h'-04'\(bu\h'+03'FFT\-NS\-i (iterative refinement method; two cycles only):
84.HP 6
85\fBmafft\fR \fB\-\-retree\fR\ \fI2\fR \fB\-\-maxiterate\fR\ \fI2\fR \fIinput\fR [>\ \fIoutput\fR]
86.HP 7
87\fBfftnsi\fR \fIinput\fR [>\ \fIoutput\fR]
88.RE
89.sp
90.RS 4
91\h'-04'\(bu\h'+03'FFT\-NS\-i (iterative refinement method; max. 1000 iterations):
92.HP 6
93\fBmafft\fR \fB\-\-retree\fR\ \fI2\fR \fB\-\-maxiterate\fR\ \fI1000\fR \fIinput\fR [>\ \fIoutput\fR]
94.RE
95.sp
96.RS 4
97\h'-04'\(bu\h'+03'FFT\-NS\-2 (fast; progressive method):
98.HP 6
99\fBmafft\fR \fB\-\-retree\fR\ \fI2\fR \fB\-\-maxiterate\fR\ \fI0\fR \fIinput\fR [>\ \fIoutput\fR]
100.HP 6
101\fBfftns\fR \fIinput\fR [>\ \fIoutput\fR]
102.RE
103.sp
104.RS 4
105\h'-04'\(bu\h'+03'FFT\-NS\-1 (very fast; recommended for >2000 sequences; progressive method with a rough guide tree):
106.HP 6
107\fBmafft\fR \fB\-\-retree\fR\ \fI1\fR \fB\-\-maxiterate\fR\ \fI0\fR \fIinput\fR [>\ \fIoutput\fR]
108.RE
109.sp
110.RS 4
111\h'-04'\(bu\h'+03'NW\-NS\-i (iterative refinement method without FFT approximation; two cycles only):
112.HP 6
113\fBmafft\fR \fB\-\-retree\fR\ \fI2\fR \fB\-\-maxiterate\fR\ \fI2\fR \fB\-\-nofft\fR\ \fIinput\fR [>\ \fIoutput\fR]
114.HP 7
115\fBnwnsi\fR \fIinput\fR [>\ \fIoutput\fR]
116.RE
117.sp
118.RS 4
119\h'-04'\(bu\h'+03'NW\-NS\-2 (fast; progressive method without the FFT approximation):
120.HP 6
121\fBmafft\fR \fB\-\-retree\fR\ \fI2\fR \fB\-\-maxiterate\fR\ \fI0\fR \fB\-\-nofft\fR\ \fIinput\fR [>\ \fIoutput\fR]
122.HP 6
123\fBnwns\fR \fIinput\fR [>\ \fIoutput\fR]
124.RE
125.sp
126.RS 4
127\h'-04'\(bu\h'+03'NW\-NS\-PartTree\-1 (recommended for ~10,000 to ~50,000 sequences; progressive method with the PartTree algorithm):
128.HP 6
129\fBmafft\fR \fB\-\-retree\fR\ \fI1\fR \fB\-\-maxiterate\fR\ \fI0\fR \fB\-\-nofft\fR\ \fB\-\-parttree\fR \fIinput\fR [>\ \fIoutput\fR]
130.RE
131.SS "Group\-to\-group alignments"
132.HP 6
133.RS 4
134\fBmafft\-profile\fR \fIgroup1\fR \fIgroup2\fR [>\ \fIoutput\fR]
135.sp
136or:
137.sp
138\fBmafft\fR \fB\-\-maxiterate\fR\ \fI1000\fR \fB\-\-seed\fR\ \fIgroup1\fR \fB\-\-seed\fR\ \fIgroup2\fR /dev/null [>\ \fIoutput\fR]
139.RE
140.RE
141.RE
142.SH "OPTIONS"
143.SS "Algorithm"
144.RS 0
145.PP
146\fB\-\-auto\fR
147.RS 4
148Automatically selects an appropriate strategy from L\-INS\-i, FFT\-NS\-i and FFT\-NS\-2, according to data
149size.  Default: off (always FFT\-NS\-2)
150.RE
151.PP
152\fB\-\-6merpair\fR
153.RS 4
154Distance is calculated based on the number of shared 6mers.  Default: on
155.RE
156.PP
157\fB\-\-globalpair\fR
158.RS 4
159All pairwise alignments are computed with the Needleman\-Wunsch
160algorithm.  More accurate but slower
161than \-\-6merpair.  Suitable for a set of
162globally alignable sequences.  Applicable to
163up to ~200 sequences.  A combination with \-\-maxiterate 1000 is recommended (G\-INS\-i).  Default: off (6mer distance is used)
164.RE
165.PP
166\fB\-\-localpair\fR
167.RS 4
168All pairwise alignments are computed with the Smith\-Waterman
169algorithm.  More accurate but slower
170than \-\-6merpair.  Suitable for a set of
171locally alignable sequences.  Applicable to
172up to ~200 sequences.  A combination with \-\-maxiterate 1000 is recommended (L\-INS\-i).  Default: off (6mer distance is used)
173.RE
174.PP
175\fB\-\-genafpair\fR
176.RS 4
177All pairwise alignments are computed with a local
178algorithm with the generalized affine gap cost
179(Altschul 1998).  More accurate but slower
180than \-\-6merpair.  Suitable when large internal gaps
181are expected.  Applicable to
182up to ~200 sequences.  A combination with \-\-maxiterate 1000 is recommended (E\-INS\-i).  Default: off (6mer distance is used)
183.RE
184.\".PP
185.\"\fB\-\-fastswpair\fR
186.\".RS 4
187.\"Distance is calculated based on a FASTA alignment.
188.\"FASTA is required.  Default: off (6mer distance is used)
189.\".RE
190.PP
191\fB\-\-fastapair\fR
192.RS 4
193All pairwise alignments are computed with FASTA (Pearson and Lipman 1988).
194FASTA is required.  Default: off (6mer distance is used)
195.RE
196.\".PP
197.\"\fB\-\-blastpair\fR
198.\".RS 4
199.\"Distance is calculated based on a BLAST alignment.  BLAST is
200.\"required.  Default: off (6mer distance is used)
201.\".RE
202.PP
203\fB\-\-weighti\fR \fInumber\fR
204.RS 4
205Weighting factor for the consistency term calculated from pairwise alignments.  Valid when
206either of \-\-globalpair, \-\-localpair,  \-\-genafpair, \-\-fastapair or
207\-\-blastpair is selected.  Default: 2.7
208.RE
209.PP
210\fB\-\-retree\fR \fInumber\fR
211.RS 4
212Guide tree is built \fInumber\fR times in the
213progressive stage.  Valid with 6mer distance.  Default: 2
214.RE
215.PP
216\fB\-\-maxiterate\fR \fInumber\fR
217.RS 4
218\fInumber\fR cycles of iterative refinement are performed.  Default: 0
219.RE
220.PP
221\fB\-\-fft\fR
222.RS 4
223Use FFT approximation in group\-to\-group alignment.  Default: on
224.RE
225.PP
226\fB\-\-nofft\fR
227.RS 4
228Do not use FFT approximation in group\-to\-group alignment.  Default: off
229.RE
230.PP
231\fB\-\-noscore\fR
232.RS 4
233Alignment score is not checked in the iterative refinement stage.  Default: off (score is checked)
234.RE
235.PP
236\fB\-\-memsave\fR
237.RS 4
238Use the Myers\-Miller (1988) algorithm.  Default: automatically turned on when the alignment length exceeds 10,000 (aa/nt).
239.RE
240.PP
241\fB\-\-parttree\fR
242.RS 4
243Use a fast tree\-building method (PartTree, Katoh and Toh 2007) with
244the 6mer distance.  Recommended for a large number (> ~10,000)
245of sequences are input.  Default: off
246.RE
247.PP
248\fB\-\-dpparttree\fR
249.RS 4
250The PartTree algorithm is used with distances based on DP.  Slightly
251more accurate and slower than \-\-parttree.  Recommended for a large
252number (> ~10,000) of sequences are input.   Default: off
253.RE
254.PP
255\fB\-\-fastaparttree\fR
256.RS 4
257The PartTree algorithm is used with distances based on FASTA.  Slightly more accurate and slower than \-\-parttree.  Recommended for a large number (> ~10,000) of sequences are input.  FASTA is required.  Default: off
258.RE
259.PP
260\fB\-\-partsize\fR \fInumber\fR
261.RS 4
262The number of partitions in the PartTree algorithm.  Default: 50
263.RE
264.PP
265\fB\-\-groupsize\fR \fInumber\fR
266.RS 4
267Do not make alignment larger than \fInumber\fR sequences. Valid only with the \-\-*parttree options.  Default: the number of input sequences
268.RE
269.RE
270.SS "Parameter"
271.RS 0
272.PP
273\fB\-\-op\fR \fInumber\fR
274.RS 4
275Gap opening penalty at group\-to\-group alignment.  Default: 1.53
276.RE
277.PP
278\fB\-\-ep\fR \fInumber\fR
279.RS 4
280Offset value, which works like gap extension penalty, for
281group\-to\-group alignment.  Default: 0.123
282.RE
283.PP
284\fB\-\-lop\fR \fInumber\fR
285.RS 4
286Gap opening penalty at local pairwise
287alignment.  Valid when
288the \-\-localpair or \-\-genafpair option is selected.  Default: \-2.00
289.RE
290.PP
291\fB\-\-lep\fR \fInumber\fR
292.RS 4
293Offset value at local pairwise alignment.  Valid when
294the \-\-localpair or \-\-genafpair option is selected.  Default: 0.1
295.RE
296.PP
297\fB\-\-lexp\fR \fInumber\fR
298.RS 4
299Gap extension penalty at local pairwise alignment.  Valid when
300the \-\-localpair or \-\-genafpair option is selected.  Default: \-0.1
301.RE
302.PP
303\fB\-\-LOP\fR \fInumber\fR
304.RS 4
305Gap opening penalty to skip the alignment.  Valid when the
306\-\-genafpair option is selected.   Default: \-6.00
307.RE
308.PP
309\fB\-\-LEXP\fR \fInumber\fR
310.RS 4
311Gap extension penalty to skip the alignment.  Valid when the
312\-\-genafpair option is selected.   Default: 0.00
313.RE
314.PP
315\fB\-\-bl\fR \fInumber\fR
316.RS 4
317BLOSUM \fInumber\fR matrix (Henikoff and Henikoff 1992) is used.  \fInumber\fR=30, 45, 62 or 80.  Default: 62
318.RE
319.PP
320\fB\-\-jtt\fR \fInumber\fR
321.RS 4
322JTT PAM \fInumber\fR (Jones et al. 1992) matrix is used.  \fInumber\fR>0.  Default: BLOSUM62
323.RE
324.PP
325\fB\-\-tm\fR \fInumber\fR
326.RS 4
327Transmembrane PAM \fInumber\fR (Jones et al. 1994) matrix is used.  \fInumber\fR>0.  Default: BLOSUM62
328.RE
329.PP
330\fB\-\-aamatrix\fR \fImatrixfile\fR
331.RS 4
332Use a user\-defined AA scoring matrix.  The format of \fImatrixfile\fR is
333the same to that of BLAST.  Ignored when nucleotide sequences are input.   Default: BLOSUM62
334.RE
335.PP
336\fB\-\-fmodel\fR
337.RS 4
338Incorporate the AA/nuc composition information into
339the scoring matrix.  Default: off
340.RE
341.RE
342.SS "Output"
343.RS 0
344.PP
345\fB\-\-clustalout\fR
346.RS 4
347Output format: clustal format.  Default: off (fasta format)
348.RE
349.PP
350\fB\-\-inputorder\fR
351.RS 4
352Output order: same as input.  Default: on
353.RE
354.PP
355\fB\-\-reorder\fR
356.RS 4
357Output order: aligned.  Default: off (inputorder)
358.RE
359.PP
360\fB\-\-treeout\fR
361.RS 4
362Guide tree is output to the \fIinput\fR.tree file.  Default: off
363.RE
364.PP
365\fB\-\-quiet\fR
366.RS 4
367Do not report progress.  Default: off
368.RE
369.RE
370.SS "Input"
371.RS 0
372.PP
373\fB\-\-nuc\fR
374.RS 4
375Assume the sequences are nucleotide.  Default: auto
376.RE
377.PP
378\fB\-\-amino\fR
379.RS 4
380Assume the sequences are amino acid.  Default: auto
381.RE
382.PP
383\fB\-\-seed\fR \fIalignment1\fR [\fB--seed\fR \fIalignment2\fR \fB--seed\fR \fIalignment3\fR ...]
384.RS 4
385Seed alignments given in \fIalignment_n\fR (fasta format) are aligned with
386sequences in \fIinput\fR.  The alignment within every seed is preserved.
387.RE
388.RE
389.SH "FILES"
390.RS 0
391.PP
392Mafft stores the input sequences and other files in a temporary directory, which by default is located in
393\fI/tmp\fR.
394.RE
395.SH "ENVIONMENT"
396.RS 0
397.PP
398\fBMAFFT_BINARIES\fR
399.RS 4
400Indicates the location of the binary files used by mafft. By default, they are searched in
401\fI/usr/local/lib/mafft\fR, but on Debian systems, they are searched in
402\fI/usr/lib/mafft\fR.
403.RE
404.PP
405\fBFASTA_4_MAFFT\fR
406.RS 4
407This variable can be set to indicate to mafft the location to the fasta34 program if it is not in the PATH.
408.RE
409.RE
410.SH "SEE ALSO"
411.RS 0
412.PP
413
414\fBmafft\-homologs\fR(1)
415.RE
416.SH "REFERENCES"
417.RS 0
418.SS "In English"
419.sp
420.RS 4
421\h'-04'\(bu\h'+03'Katoh and Toh (Bioinformatics 23:372\-374, 2007) PartTree: an algorithm to build an approximate tree from a large number of unaligned sequences (describes the PartTree algorithm).
422.RE
423.sp
424.RS 4
425\h'-04'\(bu\h'+03'Katoh, Kuma, Toh and Miyata (Nucleic Acids Res. 33:511\-518, 2005) MAFFT version 5: improvement in accuracy of multiple sequence alignment (describes [ancestral versions of] the G\-INS\-i, L\-INS\-i and E\-INS\-i strategies)
426.RE
427.sp
428.RS 4
429\h'-04'\(bu\h'+03'Katoh, Misawa, Kuma and Miyata (Nucleic Acids Res. 30:3059\-3066, 2002) MAFFT: a novel method for rapid multiple sequence alignment based on fast Fourier transform (describes the FFT\-NS\-1, FFT\-NS\-2 and FFT\-NS\-i strategies)
430.RE
431.SS "In Japanese"
432.sp
433.RS 4
434\h'-04'\(bu\h'+03'Katoh and Misawa (Seibutsubutsuri 46:312\-317, 2006) Multiple Sequence Alignments: the Next Generation
435.RE
436.sp
437.RS 4
438\h'-04'\(bu\h'+03'Katoh and Kuma (Kagaku to Seibutsu 44:102\-108, 2006) Jissen\-teki Multiple Alignment
439.RE
440.RE
441.SH "AUTHORS"
442.RS 0
443.PP
444\fBKazutaka Katoh\fR <\&kazutaka.katoh_at_aist.go.jp\&>
445.sp -1n
446.IP "" 4
447Wrote Mafft.
448.PP
449\fBCharles Plessy\fR <\&charles\-debian\-nospam_at_plessy.org\&>
450.sp -1n
451.IP "" 4
452Wrote this manpage in DocBook XML for the Debian distribution, using Mafft's homepage as a template.
453.RE
454.SH "COPYRIGHT"
455.RS 0
456Copyright \(co 2002\-2007 Kazutaka Katoh (mafft)
457.br
458Copyright \(co 2007 Charles Plessy (this manpage)
459.br
460.PP
461Mafft and its manpage are offered under the following conditions:
462.PP
463Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
464.sp
465.RS 4
466\h'-04' 1.\h'+02'Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
467.RE
468.sp
469.RS 4
470\h'-04' 2.\h'+02'Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
471.RE
472.sp
473.RS 4
474\h'-04' 3.\h'+02'The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
475.RE
476.PP
477THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
478.br
479.RE
Note: See TracBrowser for help on using the repository browser.