Debian Codegraph @

easel/miniapps/esl-alipid.man.in

raw
1 .TH "esl\-alipid" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual"
2
3 .SH NAME
4 esl\-alipid \- calculate pairwise percent identities for all sequence pairs in an MSA
5
6 .SH SYNOPSIS
7 .B esl\-alipid
8 [\fIoptions\fR]
9 .I msafile
10
11
12 .SH DESCRIPTION
13
14 .PP
15 .B esl\-alistat
16 calculates the pairwise percent identity of each sequence pair in
17 in the MSA(s) in
18 .I msafile.
19 For each sequence pair, it outputs a line of
20 .I <seqname1> <seqname2> <%id> <nid> <denomid> <%match> <nmatch> <denommatch>
21 where
22 .I <%id>
23 is the percent identity,
24 .I <nid>
25 is the number of identical aligned pairs,
26 and
27 .I <denomid>
28 is the denominator used for the calculation: the
29 shorter of the two (unaligned) sequence lengths.
30 The %identity is defined as 100*nid/denomid.
31
32 .PP
33 The last three fields are the pairwise percent match calculation, in
34 the pair\-HMM sense of a "match state" that aligns two residues XY
35 (whether identical or different) versus delete \-Y and insert X\- states
36 that have a residue in one sequence and a gap character in the other.
37 That is, the %match is the percentage of the alignment that
38 consists of aligned residues as opposed to insertions or deletions in
39 either sequence. The %match is defined as 100*nmatch/denommatch.
40
41 .PP
42 There are many ways that one could choose a denominator for these
43 percentages. We always define %id using MIN(len1,len2) as the
44 denominator. In multiple sequence alignments, you will often have short
45 sequence fragments which may have very little overlap, or even none at
46 all. Several ways to calculate %identity, such as ignoring columns
47 with gaps (100* n_identities / (n_identities + n_mismatches)) , or
48 dividing by the total alignment length (100 * n_identities / ali_len),
49 are not robust to having overlapping fragments or long indels, because
50 you can get spuriously high or low %id's.
51
52 .PP
53 For both %identity and %match calculations, alignments of a gap
54 character in both sequences, \-\-, aren't counted. Also, if the denominator
55 is zero (which can happen, when two sequence fragments in the same MSA
56 don't overlap each other), the resulting % is defined to be 0.
57
58 .PP
59 If
60 .I msafile
61 is \- (a single dash), alignment input is read from
62 stdin.
63
64 .PP
65 Only canonical residues are counted toward
66 .I <nid>
67 and
68 .I <n>.
69 Degenerate residue codes are not counted.
70
71 .SH OPTIONS
72
73 .TP
74 .B \-h
75 Print brief help; includes version number and summary of
76 all options, including expert options.
77
78 .TP
79 .BI \-\-informat " <s>"
80 Assert that input
81 .I msafile
82 is in alignment format
83 .IR <s> ,
84 bypassing format autodetection.
85 Common choices for
86 .I <s>
87 include:
88 .BR stockholm ,
89 .BR a2m ,
90 .BR afa ,
91 .BR psiblast ,
92 .BR clustal ,
93 .BR phylip .
94 For more information, and for codes for some less common formats,
95 see main documentation.
96 The string
97 .I <s>
98 is case-insensitive (\fBa2m\fR or \fBA2M\fR both work).
99
100 .TP
101 .B \-\-amino
102 Assert that the
103 .I msafile
104 contains protein sequences.
105
106 .TP
107 .B \-\-dna
108 Assert that the
109 .I msafile
110 contains DNA sequences.
111
112 .TP
113 .B \-\-rna
114 Assert that the
115 .I msafile
116 contains RNA sequences.
117
118
119
120 .SH SEE ALSO
121
122 .nf
123 @EASEL_URL@
124 .fi
125
126 .SH COPYRIGHT
127
128 .nf
129 @EASEL_COPYRIGHT@
130 @EASEL_LICENSE@
131 .fi
132
133 .SH AUTHOR
134
135 .nf
136 http://eddylab.org
137 .fi