Debian Codegraph @

hmmer/easel/miniapps/esl-translate.man.in

raw
1 .TH "esl\-translate" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual"
2
3 .SH NAME
4 esl\-translate \- translate DNA sequence in six frames into individual ORFs
5
6 .SH SYNOPSIS
7 .B esl\-translate
8 [\fIoptions\fR]
9 .I seqfile
10
11
12 .SH DESCRIPTION
13
14 .PP
15 Given a
16 .I seqfile
17 containing DNA or RNA sequences,
18 .B esl\-translate
19 outputs a six-frame translation of them as individual open reading
20 frames in FASTA format.
21
22 .PP
23 By default, only open reading frames greater than 20aa are reported.
24 This minimum ORF length can be changed with the
25 .B \-l
26 option.
27
28 .PP
29 By default, no specific initiation codon is required, and any amino acid can start an open reading frame.
30 This is so
31 .B esl\-translate
32 may be used on sequence fragments, eukaryotic genes with introns, or other
33 cases where we
34 do not want to assume that ORFs are complete coding regions.
35 This behavior can be changed. With the
36 .B \-m
37 option, ORFs start with an initiator AUG Met. With the
38 .B \-M
39 option, ORFs start with any of the initiation codons allowed by the
40 genetic code. For example, the "standard" code (NCBI transl_table 1)
41 allows AUG, CUG, and UUG as initiators. When
42 .B \-m
43 or
44 .B \-M
45 are used, an initiator is always translated to Met (even if the initiator
46 is something like UUG or CUG that doesn't encode Met as an elongator).
47
48 .PP
49 If
50 .I seqfile
51 is \- (a single dash), input is read from the stdin pipe. This
52 (combined
53 with the output being a standard FASTA file) allows
54 .B esl\-translate
55 to be used in command line incantations.
56 If
57 .I seqfile
58 ends in .gz, it is assumed to be a gzip-compressed file, and
59 Easel will try to read it as a stream from
60 \fBgunzip \-c\fR.
61
62
63
64 .SH OUTPUT FORMAT
65
66 .PP
67 The output FASTA name/description line contains information about the
68 source and coordinates of each ORF. Each ORF is named
69 .B orf1,
70 etc., with numbering starting from 1, in order of their start position
71 on the top strand followed by the bottom strand. The rest of the
72 FASTA name/desc line contains 4 additional fields, followed by the
73 description of the source sequence:
74
75 .TP
76 \fBsource\fR=\fI<s>\fR
77 .I <s>
78 is the name of the source DNA/RNA sequence.
79
80 .TP
81 \fBcoords\fR=\fIstart\fR..\fIend\fR
82 Coords, 1..L, for the translated ORF in a source DNA sequence of
83 length L. If start is greater than end, the ORF is on the bottom
84 (reverse complement) strand. The start is the first nucleotide of the
85 first codon; the end is the last nucleotide of the last codon. The
86 stop codon is not included in the coordinates (unlike in CDS
87 annotation in GenBank, for example.)
88
89 .TP
90 \fBlength\fR=\fI<n>\fR
91 Length of the ORF in amino acids.
92
93 .TP
94 \fBframe\fR=\fI<n>\fR
95 Which frame the ORF is in. Frames 1..3 are the top strand; 4..6 are the
96 bottom strand. Frame 1 starts at nucleotide 1. Frame 4 starts at
97 nucleotide L.
98
99
100
101 .SH ALTERNATIVE GENETIC CODES
102
103 .PP
104 By default, the "standard" genetic code is used (NCBI transl_table 1).
105 Any NCBI genetic code transl_table can be selected with the
106 .B \-c
107 option, as follows:
108
109 .TP
110 .B 1
111 Standard
112 .TP
113 .B 2
114 Vertebrate mitochondrial
115 .TP
116 .B 3
117 Yeast mitochondrial
118 .TP
119 .B 4
120 Mold, protozoan, coelenterate mitochondrial; Mycoplasma/Spiroplasma
121 .TP
122 .B 5
123 Invertebrate mitochondrial
124 .TP
125 .B 6
126 Ciliate, dasycladacean, Hexamita nuclear
127 .TP
128 .B 9
129 Echinoderm and flatworm mitochondrial
130 .TP
131 .B 10
132 Euplotid nuclear
133 .TP
134 .B 11
135 Bacterial, archaeal; and plant plastid
136 .TP
137 .B 12
138 Alternative yeast
139 .TP
140 .B 13
141 Ascidian mitochondrial
142 .TP
143 .B 14
144 Alternative flatworm mitochondrial
145 .TP
146 .B 16
147 Chlorophycean mitochondrial
148 .TP
149 .B 21
150 Trematode mitochondrial
151 .TP
152 .B 22
153 Scenedesmus obliquus mitochondrial
154 .TP
155 .B 23
156 Thraustochytrium mitochondrial
157 .TP
158 .B 24
159 Pterobranchia mitochondrial
160 .TP
161 .B 25
162 Candidate Division SR1 and Gracilibacteria
163
164
165 .PP
166 As of this writing, more information about the genetic codes in the
167 NCBI translation tables is at
168 .I http://www.ncbi.nlm.nih.gov/Taxonomy/
169 at a link titled
170 .I Genetic codes.
171
172 .SH IUPAC DEGENERACY CODES IN DNA
173
174 .PP
175 DNA sequences may contain IUPAC degeneracy codes, such as N, R, Y,
176 etc. If all codons consistent with a degenerate codon translate to the
177 same amino acid (or to a stop), that translation is done; otherwise,
178 the codon is translated as X (even if one or more compatible codons
179 are stops). For example, in the standard code, UAR translates to *
180 (stop), GGN translates to G (glycine), NNN translates to X, and UGR
181 translates to X (it could be either a UGA stop or a UGG Trp).
182
183 .PP
184 Degenerate initiation codons are handled essentially the same. If all
185 codons consistent with the degenerate codon are legal initiators, then
186 the codon is allowed to initiate a new ORF. Stop codons are never
187 a legal initiator (not only with
188 .B \-m
189 or
190 .B \-M
191 but also with the default of allowing any amino acid to initiate),
192 so degenerate codons consistent with a stop cannot be initiators.
193 For example, NNN cannot initiate an ORF, nor can UGR -- even
194 though they translate to X. This means that we don't translate
195 long stretches of N's as long ORFs of X's, which is probably a
196 feature, given the prevalence of artificial runs of N's in genome
197 sequence assemblies.
198
199 .PP
200 Degenerate DNA codons are not translated to degenerate amino acids
201 other than X, even when that is possible. For example, SAR and MUH
202 are decoded as X, not Z (Q|E) and J (I|L). The extra complexity
203 needed for a degenerate to degenerate translation doesn't seem worthwhile.
204
205
206 .SH OPTIONS
207
208 .TP
209 .B \-h
210 Print brief help. Includes version number and summary of all options.
211 Also includes a list of the available
212 NCBI transl_tables and their numerical codes, for the
213 .B \-c
214 option.
215
216 .TP
217 .BI \-c " <id>"
218 Choose alternative genetic code
219 .I <id>
220 where
221 .I <id>
222 is the numerical code of one of the NCBI transl_tables.
223
224 .TP
225 .BI \-l " <n>"
226 Set the minimum reported ORF length to
227 .I <n>
228 aa.
229
230 .TP
231 .B \-m
232 Require ORFs to start with an initiator codon AUG (Met).
233
234 .TP
235 .B \-M
236 Require ORFs to start with an initiator codon, as specified by the
237 allowed initiator codons in the NCBI transl_table. In the default
238 Standard code, AUG, CUG, and UUG are allowed as initiators. An
239 initiation codon is always translated as Met, even if it does not
240 normally encode Met as an elongator.
241
242 .TP
243 .B \-W
244 Use a memory-efficient windowed sequence reader.
245 The default is to read entire DNA sequences into memory, which
246 may become memory limited for some very large eukaryotic chromosomes.
247 The windowed reader cannot
248 reverse complement a nonrewindable input stream, so
249 either
250 .I seqfile
251 must be a file,
252 or you must use
253 .I \-\-watson
254 to limit translation to the top strand.
255
256
257 .TP
258 .BI \-\-informat " <s>"
259 Assert that input
260 .I seqfile
261 is in format
262 .IR <s> ,
263 bypassing format autodetection.
264 Common choices for
265 .I <s>
266 include:
267 .BR fasta ,
268 .BR embl ,
269 .BR genbank.
270 Alignment formats also work;
271 common choices include:
272 .BR stockholm ,
273 .BR a2m ,
274 .BR afa ,
275 .BR psiblast ,
276 .BR clustal ,
277 .BR phylip .
278 For more information, and for codes for some less common formats,
279 see main documentation.
280 The string
281 .I <s>
282 is case-insensitive (\fBfasta\fR or \fBFASTA\fR both work).
283
284
285 .TP
286 .B \-\-watson
287 Only translate the top strand.
288
289 .TP
290 .B \-\-crick
291 Only translate the bottom strand.
292
293
294
295
296
297 .SH SEE ALSO
298
299 .nf
300 @EASEL_URL@
301 .fi
302
303 .SH COPYRIGHT
304
305 .nf
306 @EASEL_COPYRIGHT@
307 @EASEL_LICENSE@
308 .fi
309
310 .SH AUTHOR
311
312 .nf
313 http://eddylab.org
314 .fi