1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
|
.\"
.\" $Id: psa2msa.1,v 1.2 2003/08/11 12:09:14 vflegel Exp $
.\" Copyright (c) 2003 SIB Swiss Institute of Bioinformatics <pftools@sib.swiss>
.\" Process this file with
.\" groff -man -Tascii <name>
.\" for ascii output or
.\" groff -man -Tps <name>
.\" for postscript output
.\"
.TH PSA2MSA 1 "August 2003" "pftools 2.3" "pftools"
.\" ------------------------------------------------
.\" Name section
.\" ------------------------------------------------
.SH NAME
psa2msa \- reformat PSA file to Pearson/Fasta multiple sequence alignment file
.\" ------------------------------------------------
.\" Synopsis section
.\" ------------------------------------------------
.SH SYNOPSIS
.TP 10
.B psa2msa
[
.B \-dhlpu
] [
.B \-M
.I insert_len
] [
.B \-W
.I width
] [
.I psa_file
|
.B \-
] [
.I parameters
]
.\" ------------------------------------------------
.\" Description section
.\" ------------------------------------------------
.SH DESCRIPTION
.B psa2msa
reformats a
.BR psa (5)
formatted profile-sequence alignment file into a
Pearson/Fasta-formatted multiple sequence alignment file.
The result is written to the standard output.
.RI ' psa_file '
contains alignments of several sequence segments to the same profile
in
.BR psa (5)
format. Such a file is typically generated by the programs
.BR pfsearch (1)
or
.BR pfscan (1)
using option
.BR \-x .
The output can be converted into other formats
.RI ( e.g.
MSF) with the aid of the public domain
program
.B readseq
(available from
.IR ftp://ftp.bio.indiana.edu/molbio/readseq )
or used directly with
.BR pfmake (1)
or
.BR pfw (1).
If
.RB ' \- '
is specified instead of a filename, the
.BR psa (5)
alignment is read from the standard input.
.\" ------------------------------------------------
.\" Options section
.\" ------------------------------------------------
.SH OPTIONS
.\" --- psa_file ---
.TP
.I psa_file
Input multiple sequence alignment.
.br
The content of the file must be in
.BR psa (5)
format.
If the filename is replaced by a
.RB ' \- ',
.B psa2msa
will read the input alignment from
.BR stdin .
.\" --- d ---
.TP
.B \-d
Replace periods
.RB ' . '
by dashes
.RB ' \- '
on output.
.\" --- h ---
.TP
.B \-h
Display usage help text.
.\" --- l ---
.TP
.B \-l
Replace upper case letters by lower case letters on output.
.\" --- p ---
.TP
.B \-p
Replace dashes
.RB ' \- '
by periods
.RB ' . '
on output.
.\" --- u ---
.TP
.B \-u
Replace lower case letters by upper case letters on output.
.\" --- M ---
.TP
.BI \-M\ insert_len
Maximal length of an insertion.
.br
If the real length of an insertion exceeds this value, the excess number
of residues will be deleted from the center of the insertion.
A negative value of
.RI ' insert_len '
means no upper limit for the length of an insertion
.RI ( i.e.
no residues will be deleted from an insertion).
If
.RI ' insert_len '
is zero, all insert positions will be removed.
Setting an insertion length limit helps to keep the resulting alignment
at manageable size.
.br
Type: integer
.br
Default: -1
.RS
.TP
Note:
The meaning of the value
.RI ' 0 '
for this parameter has been changed compared to version 2.2 of the
.B pftools
package.
.RE
.\" --- W ---
.TP
.BI \-W\ width
Set alignment output width.
.br
The value of
.RI ' width '
specifies how many residues will be output on one line.
.br
Type: integer
.br
Default: 60
.\" ------------------------------------------------
.\" Parameters section
.\" ------------------------------------------------
.SH PARAMETERS
.TP
Note:
for backwards compatibility, release 2.3 of the
.B pftools
package will parse the version 2.2 style parameters, but these are
.I deprecated
and the corresponding option (refer to the
.I options
section) should be used instead.
.TP
M=#
Maximal insertion length
.br
Use option
.B \-M
instead.
.TP
W=#
Output width.
.br
Use option
.B \-W
instead.
.\" ------------------------------------------------
.\" Examples section
.\" ------------------------------------------------
.SH EXAMPLES
.TP
(1)
.B pfsearch
\-bx ecp.prf CVPBR322 |
.B psa2msa
\-du |
.B readseq
\-p \-fMSF > ecp.msf
.IP
Generates a multiple sequence alignment of predicted
.I E. coli
promoters on both strands of plasmid pBR322.
The file
.RI ' ecp.prf '
contains a profile for
.I E. coli
promoters.
The file
.RI ' CVPBR322 '
contains
.SM EMBL
entry J01749|CVPBR322.
The result in
.RI ' ecp.msf '
can further be processed by
.SM GCG
programs accepting MSF files as input.
.\" ------------------------------------------------
.\" Exit code section
.\" ------------------------------------------------
.SH EXIT CODE
.LP
On successful completion of its task,
.B psa2msa
will return an exit code of 0. If an error occurs, a diagnostic message will be
output on standard error and the exit code will be different from 0. When conflicting
options where passed to the program but the task could nevertheless be completed, warnings
will be issued on standard error.
.\" ------------------------------------------------
.\" See also section
.\" ------------------------------------------------
.SH "SEE ALSO"
.BR pfscan (1),
.BR pfsearch (1),
.BR pfmake (1),
.BR pfw (1),
.BR psa (5),
.BR xpsa (5)
.\" ------------------------------------------------
.\" Author section
.\" ------------------------------------------------
.SH AUTHOR
The
.B pftools
package was developed by Philipp Bucher.
.br
Any comments or suggestions should be addressed to <pftools@sib.swiss>.
|