| 1 |
.TH "esl\-afetch" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
esl\-afetch \- retrieve alignments from a multi-MSA database |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
|
| 8 |
.nf |
| 9 |
\fBesl\-afetch\fR [\fIoptions\fR] \fImsafile key\fR |
| 10 |
(single MSA retrieval) |
| 11 |
|
| 12 |
\fBesl\-afetch \-f\fR [\fIoptions\fR] \fImsafile keyfile\fR |
| 13 |
(multiple MSA retrieval, from a file of keys) |
| 14 |
|
| 15 |
\fBesl\-afetch \-\-index \fR\fImsafile\fR |
| 16 |
(index an MSA file for retrieval) |
| 17 |
|
| 18 |
.SH DESCRIPTION |
| 19 |
|
| 20 |
.B esl\-afetch |
| 21 |
retrieves the alignment named |
| 22 |
.I key |
| 23 |
from an alignment database in file |
| 24 |
.I msafile. |
| 25 |
The |
| 26 |
.I msafile |
| 27 |
is a "multiple multiple alignment" file in Stockholm (e.g. native |
| 28 |
Pfam or Rfam) format. |
| 29 |
The |
| 30 |
.I key |
| 31 |
is either the name (ID) of the alignment, or its accession |
| 32 |
number (AC). |
| 33 |
|
| 34 |
.PP |
| 35 |
Alternatively, |
| 36 |
.B esl\-afetch \-f |
| 37 |
provides the ability to fetch many alignments at once. |
| 38 |
The |
| 39 |
.B \-f |
| 40 |
option has it interpret the second argument as a |
| 41 |
.IR keyfile , |
| 42 |
a file consisting of one name or accession per line. |
| 43 |
|
| 44 |
.PP |
| 45 |
The |
| 46 |
.I msafile |
| 47 |
should first be SSI indexed with |
| 48 |
.B esl\-afetch \-\-index |
| 49 |
for efficient retrieval. An SSI index is |
| 50 |
not required, but without one alignment retrieval may |
| 51 |
be painfully slow. |
| 52 |
|
| 53 |
.SH OPTIONS |
| 54 |
|
| 55 |
.TP |
| 56 |
.B \-h |
| 57 |
Print brief help; includes version number and summary of |
| 58 |
all options, including expert options. |
| 59 |
|
| 60 |
.TP |
| 61 |
.B \-f |
| 62 |
Interpret the second argument as a |
| 63 |
.I keyfile |
| 64 |
instead of as just one |
| 65 |
.IR key . |
| 66 |
The |
| 67 |
.I keyfile |
| 68 |
contains one name or accession per line. |
| 69 |
This option doesn't work with the |
| 70 |
.B \-\-index |
| 71 |
option. |
| 72 |
|
| 73 |
|
| 74 |
.TP |
| 75 |
.BI \-o " <f>" |
| 76 |
Output retrieved alignments to a file |
| 77 |
.I <f> |
| 78 |
instead of to stdout. |
| 79 |
|
| 80 |
.TP |
| 81 |
.BI \-O |
| 82 |
Output retrieved alignment to a file named |
| 83 |
.IR key . |
| 84 |
This is a convenience for saving some typing: |
| 85 |
instead of |
| 86 |
.nf |
| 87 |
\fB% esl\-afetch \-o RRM_1 msafile RRM_1\fR |
| 88 |
.fi |
| 89 |
you can just type |
| 90 |
.nf |
| 91 |
\fB% esl\-afetch \-O msafile RRM_1\fR |
| 92 |
.fi |
| 93 |
The |
| 94 |
.B \-O |
| 95 |
option only works if you're retrieving a |
| 96 |
single alignment; it is incompatible with |
| 97 |
.B \-f. |
| 98 |
|
| 99 |
.TP |
| 100 |
.B \-\-index |
| 101 |
Instead of retrieving a |
| 102 |
.I key, |
| 103 |
the special command |
| 104 |
.B esl\-afetch \-\-index |
| 105 |
.I msafile |
| 106 |
produces an SSI index of the names and accessions |
| 107 |
of the alignments in |
| 108 |
the |
| 109 |
.I msafile. |
| 110 |
Indexing should be done once on the |
| 111 |
.I msafile |
| 112 |
to prepare it for all future fetches. |
| 113 |
|
| 114 |
|
| 115 |
.SH SEE ALSO |
| 116 |
|
| 117 |
.nf |
| 118 |
@EASEL_URL@ |
| 119 |
.fi |
| 120 |
|
| 121 |
.SH COPYRIGHT |
| 122 |
|
| 123 |
.nf |
| 124 |
@EASEL_COPYRIGHT@ |
| 125 |
@EASEL_LICENSE@ |
| 126 |
.fi |
| 127 |
|
| 128 |
.SH AUTHOR |
| 129 |
|
| 130 |
.nf |
| 131 |
http://eddylab.org |
| 132 |
.fi |
| 133 |
|