| 1 |
.TH "esl\-alirev" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
esl\-alirev \- reverse complement a multiple alignment |
| 5 |
|
| 6 |
|
| 7 |
.SH SYNOPSIS |
| 8 |
.B esl\-alirev |
| 9 |
[\fIoptions\fR] |
| 10 |
.I msafile |
| 11 |
|
| 12 |
|
| 13 |
.SH DESCRIPTION |
| 14 |
|
| 15 |
.PP |
| 16 |
.B esl\-alirev |
| 17 |
reads the multiple alignment in |
| 18 |
.I msafile |
| 19 |
and outputs its reverse complement to stdout. |
| 20 |
|
| 21 |
.PP |
| 22 |
An example of where you might need to do this is when you've |
| 23 |
downloaded a chunk of multiway genomic alignment from one of the |
| 24 |
genome browsers, but your RNA of interest is on the opposite strand. |
| 25 |
|
| 26 |
.PP |
| 27 |
Any per-column and per-residue annotation lines are reversed as well, |
| 28 |
including Stockholm format and old SELEX format annotations. |
| 29 |
Annotations that Easel recognizes as secondary structure annotation (a |
| 30 |
consensus structure line, individual secondary structure lines) will |
| 31 |
be "reverse complemented" to preserve proper bracketing orders: for |
| 32 |
example, ...<<<...>>> is reverse complemented to <<<...>>>..., not |
| 33 |
simply reversed to >>>...<<<..., which would be wrong. |
| 34 |
|
| 35 |
.PP |
| 36 |
If |
| 37 |
.I msafile |
| 38 |
is \- (a single dash), alignment input is read from stdin. |
| 39 |
|
| 40 |
|
| 41 |
.PP |
| 42 |
By default the output alignment is written in the same format as the |
| 43 |
input alignment. See the |
| 44 |
.B \-\-outformat |
| 45 |
option to use a different output format. |
| 46 |
|
| 47 |
.PP |
| 48 |
Because the alignment is parsed into Easel's digital internal |
| 49 |
representation, the output alignment may differ in certain details |
| 50 |
from the original alignment; these details should be inconsequential |
| 51 |
but may catch your eye. One is that if you have a reference annotation |
| 52 |
line, Easel's output will put consensus residues in upper case, |
| 53 |
nonconsensus (inserted) residues in lower case. Another is that the |
| 54 |
headers for some formats, such as Clustal format, are written with an |
| 55 |
arbitrary version number - so you may find yourself revcomping an |
| 56 |
alignment in "MUSCLE (3.7) multiple sequence alignment" format and it |
| 57 |
could come out claiming to be a "CLUSTAL 2.1 multiple sequence |
| 58 |
alignment", just because Easel writes all of its Clustal format |
| 59 |
alignment files with that header. |
| 60 |
|
| 61 |
.PP |
| 62 |
The |
| 63 |
.I msafile |
| 64 |
must contain nucleic acid sequences (DNA or RNA). |
| 65 |
The alphabet will be autodetected by default. |
| 66 |
See the |
| 67 |
.B \-\-dna |
| 68 |
or |
| 69 |
.B \-\-rna |
| 70 |
options to assert an alphabet. |
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
.SH OPTIONS |
| 75 |
|
| 76 |
.TP |
| 77 |
.B \-h |
| 78 |
Print brief help; includes version number and summary of |
| 79 |
all options, including expert options. |
| 80 |
|
| 81 |
.TP |
| 82 |
.BI \-\-informat " <s>" |
| 83 |
Assert that input |
| 84 |
.I msafile |
| 85 |
is in alignment format |
| 86 |
.IR <s> , |
| 87 |
bypassing format autodetection. |
| 88 |
Common choices for |
| 89 |
.I <s> |
| 90 |
include: |
| 91 |
.BR stockholm , |
| 92 |
.BR a2m , |
| 93 |
.BR afa , |
| 94 |
.BR psiblast , |
| 95 |
.BR clustal , |
| 96 |
.BR phylip . |
| 97 |
For more information, and for codes for some less common formats, |
| 98 |
see main documentation. |
| 99 |
The string |
| 100 |
.I <s> |
| 101 |
is case-insensitive (\fBa2m\fR or \fBA2M\fR both work). |
| 102 |
|
| 103 |
.TP |
| 104 |
.BI \-\-outformat " <s>" |
| 105 |
Write the output alignment in alignment format |
| 106 |
.IR <s> . |
| 107 |
Common choices for |
| 108 |
.I <s> |
| 109 |
include: |
| 110 |
.BR stockholm , |
| 111 |
.BR a2m , |
| 112 |
.BR afa , |
| 113 |
.BR psiblast , |
| 114 |
.BR clustal , |
| 115 |
.BR phylip . |
| 116 |
The string |
| 117 |
.I <s> |
| 118 |
is case-insensitive (\fBa2m\fR or \fBA2M\fR both work). |
| 119 |
Default is to use same format as the input |
| 120 |
.IR msafile . |
| 121 |
|
| 122 |
.TP |
| 123 |
.B \-\-dna |
| 124 |
Assert that the |
| 125 |
.I msafile |
| 126 |
contains DNA sequences. |
| 127 |
|
| 128 |
.TP |
| 129 |
.B \-\-rna |
| 130 |
Assert that the |
| 131 |
.I msafile |
| 132 |
contains RNA sequences. |
| 133 |
|
| 134 |
|
| 135 |
.SH SEE ALSO |
| 136 |
|
| 137 |
.nf |
| 138 |
@EASEL_URL@ |
| 139 |
.fi |
| 140 |
|
| 141 |
.SH COPYRIGHT |
| 142 |
|
| 143 |
.nf |
| 144 |
@EASEL_COPYRIGHT@ |
| 145 |
@EASEL_LICENSE@ |
| 146 |
.fi |
| 147 |
|
| 148 |
.SH AUTHOR |
| 149 |
|
| 150 |
.nf |
| 151 |
http://eddylab.org |
| 152 |
.fi |
| 153 |
|