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
|
.\"
.\" $Id: pfw.1,v 1.1 2003/05/12 11:50:03 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 PFW 1 "May 2003" "pftools 2.3" "pftools"
.\" ------------------------------------------------
.\" Name section
.\" ------------------------------------------------
.SH NAME
pfw \- weight sequences of a multiple sequence alignment
.\" ------------------------------------------------
.\" Synopsis section
.\" ------------------------------------------------
.SH SYNOPSIS
.TP 10
.B pfw
[
.B \-hm
] [
.B \-N
.I shuffles
] [
.B \-R
.I seed
] [
.B \-W
.I weight
] [
.B \-X
.I gap_excision
] [
.I ms_file
|
.B \-
] [
.I parameters
]
.\" ------------------------------------------------
.\" Description section
.\" ------------------------------------------------
.SH DESCRIPTION
.B pfw
computes new weights for individual sequences in a multiple sequence alignment
using the method of Sibbald and Argos (1990).
The file containing the multiple sequence alignment
.RI (' ms_file ')
must be either in MSF format as generated by
.SM GCG
programs or by
.B readseq
(checksums are ignored) or in MSA format as
produced by
.BR psa2msa (1).
If
.RB ' \- '
is specified instead of a filename, the multiple sequence alignment is read
from the standard input.
.B pfw
writes a new multiple sequence alignment with modified weights in either MSF or
MSA format to the standard output.
.\" ------------------------------------------------
.\" Options section
.\" ------------------------------------------------
.SH OPTIONS
.\" --- ms_file ---
.TP
.I ms_file
Input multiple sequence alignment file.
.br
This file contains a multiple sequence alignment in either MSF (default)
or MSA format. If the format is MSA,
.B pfw
will include the new weight of each sequence in the
.SM FASTA
header using the
.BR xpsa (5)
keyword
.IR weight .
It will thus replace any existing
.IR weight = value
pair in the header line.
If the filename is replaced by a
.RB ' \- ',
.B pfw
will read the multiple alignment from
.BR stdin .
.\" --- h ---
.TP
.B \-h
Display usage help text.
.\" --- m ---
.TP
.B \-m
Input multiple sequence alignment is in MSA format.
.\" --- N ---
.TP
.BI \-N\ shuffles
Number of shuffles per sequence to be performed.
.br
Note that an average relative precision of
.I r
percent is achieved by approximately
.RI (100/ r )-squared
shuffles.
.br
Type: integer
.br
Default: 100 (10% precision)
.\" --- R ---
.TP
.BI \-R\ seed
Seed for the random number generator.
.br
This must be a negative integer
(zero or positive integers will be reset to negative integers).
.br
Type: integer
.br
Default: -123456789
.\" --- W ---
.TP
.BI \-W\ weight
Total weight.
.br
The initially computed weights will be multiplied by a constant
factor such that the sum of all weights equals this value.
.br
Default: 1
.\" --- X ---
.TP
.BI \-X\ gap_excision
Gap excision threshold.
.br
This is the minimal fraction of non-gap characters
a column of the multiple sequence alignment must contain
in order to be considered for weighting.
.br
Default: 0.5
.\" ------------------------------------------------
.\" 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
N=#
Shuffles per sequence.
.br
Use option
.B \-N
instead.
.TP
R=#
Random number seed.
.br
Use option
.B \-R
instead.
.TP
W=#
Total weight.
.br
Use option
.B \-W
instead.
.TP
X=#
Gap excision threshold.
.br
Use option
.B \-X
instead.
.\" ------------------------------------------------
.\" Exit code section
.\" ------------------------------------------------
.SH EXIT CODE
.LP
On successful completion of its task,
.B pfw
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.
.\" ------------------------------------------------
.\" References section
.\" ------------------------------------------------
.SH REFERENCES
.LP
Sibbald PR & Argos P. (1990).
.I Weighting aligned protein or nucleic
.I acid sequences to correct for
.I unequal representation.
J. Mol. Biol.
.BR 216 :813-818.
.\" ------------------------------------------------
.\" See also section
.\" ------------------------------------------------
.SH "SEE ALSO"
.BR psa2msa (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>.
|