File: gtop.1

package info (click to toggle)
pftools 3.2.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 92,208 kB
  • sloc: ansic: 17,779; fortran: 12,000; perl: 2,956; sh: 232; makefile: 29; f90: 3
file content (261 lines) | stat: -rw-r--r-- 5,537 bytes parent folder | download | duplicates (3)
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
.\"
.\" $Id: gtop.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 GTOP 1 "April 2003" "pftools 2.3" "pftools"
.\" ------------------------------------------------
.\" Name section
.\" ------------------------------------------------
.SH NAME
gtop \- convert a profile in 
.SM GCG
format into
.SM PROSITE
format  
.\" ------------------------------------------------
.\" Synopsis section
.\" ------------------------------------------------
.SH SYNOPSIS
.TP 10
.B gtop
[
.B \-ahls
] [
.B \-E
.I gap_extend
] [
.B \-F
.I rescale
] [
.B \-G
.I gap_open
] [
.B \-O
.I offset
]
.I gcg_profile
|
.B \-
[
.I parameters
]
.\" ------------------------------------------------
.\" Description section
.\" ------------------------------------------------
.SH DESCRIPTION
.B gtop
converts a profile generated by the
.SM GCG
program 
.BR ProfileMake ,
or by a
.SM GCG
compatible profile construction program,
into 
.SM PROSITE
format, and optionally
rescales the profile. 
The result is written to the standard output. 
On input, 
.B gtop
divides all weights of the profile by 100, as
.SM GCG
programs do.
On output, profile scores are multiplied by the rescaling factor
.I F
and rounded to the nearest integer. 
If symmetric gap weighting mode is chosen, the gap opening weights 
are divided 
by 2 and assigned to the 
.IR MI , \ MD , \ IM ,
and
.I DM
transition scores.
If asymmetric gap weighting mode is chosen, the gap opening weights
are left unchanged and assigned to the
.I MI
and
.I MD
transition scores only.
If no argument is specified, the program attempts to read the
.SM GCG
formatted profile from the standard input.
.\" ------------------------------------------------
.\" Options section
.\" ------------------------------------------------
.SH OPTIONS
.\" --- gcg_profile ---
.TP
.I gcg_profile
Input
.SM GCG
profile.
If the filename is replaced by a
.RB ' \- ',
.B gtop
will read the input profile from
.BR stdin .
.\" --- a ---
.TP
.B \-a
Apply asymmetric gap weighting mode (see the
.I description
section).
.\" --- h ---
.TP
.B \-h
Display usage help text.
.\" --- l ---
.TP
.B \-l
Remove output line length limit. Individual lines of the output profile
can exceed a length of 132 characters, removing the need to wrap them over several lines. 
.\" --- s ---
.TP
.B \-s
Apply symmetric gap weighting mode (default) (see the
.I description
section).
.\" --- E ---
.TP
.BI \-E\  gap_extend
Gap extension penalty.
.br
Default: 0.05
.\" --- F ---
.TP
.BI \-F\  rescale
Score rescaling factor.
.br
Default: 100
.\" --- G ---
.TP
.BI \-G\  gap_open
Gap opening penalty.
.br
Default: 4.5
.\" --- O ---
.TP
.BI \-O\  offset
Output score offset. This value is added to all profile match scores
after multiplication by the rescaling factor
.IR F .
.br
Default: 0
.\" ------------------------------------------------
.\" 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
E=#
Gap extension penalty.
.br
Use option
.B \-E
instead.
.TP
F=#
Output score rescaling factor.
.br
Use option
.B \-F
instead.
.TP
G=#
Gap opening penalty.
.br
Use option
.B \-G
instead.
.TP
O=#
Output score offset.
.br
Use option
.B \-O
instead.
.\" ------------------------------------------------
.\" Examples section
.\" ------------------------------------------------
.SH EXAMPLES
.TP
(1)
.B gtop
-G 1.0 -E 1.0 -F 50 sh3.gpr | 
.B pfsearch
-far - sh3.seq | 
.B sort
-nr
.IP
First converts the
.SM GCG
profile
.RI ' sh3.gpr '
into
.SM PROSITE
format,
then searches the protein library
.RI ' sh3.seq '
with the reformatted profile 
to generate a sorted list of optimal alignment scores.
The
.BR pfsearch (1)
option
.B \-r
causes alignment scores to be expressed in raw score units. 
.RI ' sh3.seq '
contains 20 SH3 domain-containing protein sequences from
.SM SWISS-PROT
release 32.
.\" ------------------------------------------------
.\" Exit code section
.\" ------------------------------------------------
.SH EXIT CODE
.LP
On successful completion of its task,
.B gtop
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.
.\" ------------------------------------------------
.\" Bugs section
.\" ------------------------------------------------
.SH BUGS
.B gtop
defines 
.I SCORE=0; N_SCORE=0;
for the mandatory cut-off level zero. These parameters should be changed 
to more reasonable values using a text editor, prior to profile search
operations.
.\" ------------------------------------------------
.\" See also section
.\" ------------------------------------------------
.SH "SEE ALSO"
.BR pfsearch (1),
.BR pfscan (1),
.BR pfmake (1),
.BR sort (1)
.\" ------------------------------------------------
.\" 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>.