Debian Codegraph @

easel/miniapps/esl-construct.man.in

raw
1 .TH "esl\-construct" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual"
2
3 .SH NAME
4 esl\-construct \- describe or create a consensus secondary structure
5
6 .SH SYNOPSIS
7 .B esl\-construct
8 [\fIoptions\fR]
9 .I msafile
10
11 .SH DESCRIPTION
12
13 .B esl\-construct
14 reports information on existing consensus secondary structure annotation
15 of an alignment or derives new consensus secondary structures based on
16 structure annotation for individual aligned sequences.
17
18 .PP
19 The alignment file must contain either individual sequence secondary
20 structure annotation (Stockholm #=GR SS), consensus secondary
21 structure annotation (Stockohlm #=GC SS_cons), or both. All structure
22 annotation must be in WUSS notation (Vienna dot paranetheses notation will be
23 correctly interpreted). At present, the alignment file must be in
24 Stockholm format and contain RNA or DNA sequences.
25
26 .PP
27 By default,
28 .B esl\-construct
29 generates lists the sequences in the alignment that have structure
30 annotation and the number of basepairs in those structures. If the
31 alignment also contains consensus structure annotation, the default output
32 will list how many of the individual basepairs overlap with the
33 consensus basepairs and how many conflict with a consensus basepair.
34
35 .PP
36 For the purposes of this miniapp, a basepair 'conflict' exists between
37 two basepairs in different structures, one between columns i and j and
38 the other between columns k and l, if (i == k and j != l) or (j == l
39 and i != k).
40
41 .PP
42 .B esl\-construct
43 can also be used to derive a new consensus structure based on
44 structure annotation for individual sequences in the alignment by
45 using any of the following options:
46 .BR \-x ,
47 .BR \-r ,
48 .BR \-c ,
49 \fB\-\-indi \fR\fI<s>\fR,
50 \fB\-\-ffreq \fR\fI<x>\fR,
51 .BR \-\-fmin .
52 These are described below. All of these options require the
53 .BI \-o " <f>"
54 option be used as well to specify that a new alignment file
55 .I <f>
56 be created. Differences between the new alignment(s) and the input
57 alignment(s) will be limited to the the consensus secondary structure (#=GC
58 SS_cons) annotation and possibly reference (#=GC RF) annotation.
59
60 .SH OPTIONS
61
62 .TP
63 .B \-h
64 Print brief help; includes version number and summary of
65 all options, including expert options.
66
67 .TP
68 .B \-a
69 List all alignment positions that are involved in at least one
70 conflicting basepair in at least one sequence to the screen, and then
71 exit.
72
73 .TP
74 .B \-v
75 Be verbose; with no other options, list individual sequence basepair
76 conflicts as well as summary statistics.
77
78 .TP
79 .B \-x
80 Compute a new consensus structure as the maximally sized set of
81 basepairs (greatest number of basepairs) chosen from all individual
82 structures that contains 0 conflicts. Output the alignment with the
83 new SS_cons annotation. This option must be used in combination with
84 the
85 .B \-o
86 option.
87
88 .TP
89 .B \-r
90 Remove any consensus basepairs that conflict with >= 1 individual
91 basepair and output the alignment with the new SS_cons annotation.
92 This option must be used in combination with the
93 .B \-o
94 option.
95
96 .TP
97 .B \-c
98 Define a new consensus secondary structure as the individual structure
99 annotation that has the maximum number of consistent basepairs with
100 the existing consensus secondary structure annotation.
101 This option must be used in combination with the
102 .B \-o
103 option.
104
105 .TP
106 .B \-\-rfc
107 With
108 .BR \-c ,
109 set the reference annotation (#=GC RF) as the sequence whose
110 individual structure becomes the consensus structure.
111
112 .TP
113 .BI \-\-indi " <s>"
114 Define a new consensus secondary structure as the individual structure
115 annotation from sequence named
116 .IR <s> .
117 This option must be used in combination with
118 the
119 .B \-o
120 option.
121
122 .TP
123 .B \-\-rfindi
124 With
125 \fB\-\-indi \fR\fI<s>\fR,
126 set the reference annotation (#=GC RF) as the sequence named
127 .BR <s> .
128
129 .TP
130 .BI \-\-ffreq " <x>"
131 Define a new consensus structure as the set of basepairs between
132 columns i:j that are paired in more than
133 .I <x>
134 fraction of the individual sequence structures.
135 This option must be used in combination with
136 the
137 .B \-o
138 option.
139
140 .TP
141 .B \-\-fmin
142 Same as
143 .BI \-\-ffreq " <x>"
144 except find the maximal
145 .I <x>
146 that gives a consistent consensus structure. A consistent structure
147 has each base (alignment position) as a member of at most 1 basepair.
148
149 .TP
150 .BI \-o " <s>",
151 Output the alignment(s) with new consensus structure annotation to file
152 .IR <f> .
153
154 .TP
155 .B \-\-pfam
156 With
157 .BR -o ,
158 specify that the alignment output format be Pfam format, a
159 special type of non-interleaved Stockholm on which each sequence
160 appears on a single line.
161
162 .TP
163 .BI \-l " <f>"
164 Create a new file
165 .I <f>
166 that lists the sequences that have at least one
167 basepair that conflicts with a consensus basepair.
168
169 .TP
170 .BI \-\-lmax " <n>"
171 With
172 .BR \-l ,
173 only list sequences that have more than
174 .I <n>
175 basepairs that conflict with the consensus structure to the list file.
176
177
178 .SH SEE ALSO
179
180 .nf
181 @EASEL_URL@
182 .fi
183
184 .SH COPYRIGHT
185
186 .nf
187 @EASEL_COPYRIGHT@
188 @EASEL_LICENSE@
189 .fi
190
191 .SH AUTHOR
192
193 .nf
194 http://eddylab.org
195 .fi
196