pfgtop1
Convert a profile in gcg format into prosite format
Overview
gtop converts a profile generated by the GCG program ProfileMake, or by a GCG compatible profile construction program, into PROSITE format, and optionally rescales the profile. The result is written to the standard output. On input, gtop divides all weights of the profile by 100, as GCG programs do. On output, profile scores are multiplied by the rescaling factor 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 MI, MD, IM, and DM transition scores. If asymmetric gap weighting mode is chosen, the gap opening weights are left unchanged and assigned to the MI and MD transition scores only. If no argument is specified, the program attempts to read the GCG formatted profile from the standard input.
Options
- gcg_profile
-
Input GCG profile. If the filename is replaced by a '
-',gtopwill read the input profile fromstdin.
-
-a -
Apply asymmetric gap weighting mode (see the description section).
-
-h -
Display usage help text.
-
-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 -
Apply symmetric gap weighting mode (default) (see the description section).
-
-E gap_extend -
Gap extension penalty.
Default: 0.05
-
-F rescale -
Score rescaling factor.
Default: 100
-
-G gap_open -
Gap opening penalty.
Default: 4.5
-
-O offset -
Output score offset. This value is added to all profile match scores after multiplication by the rescaling factor F.
Default: 0
Parameters
- Note:
-
for backwards compatibility, release 2.3 of the
pftoolspackage will parse the version 2.2 style parameters, but these are deprecated and the corresponding option (refer to the options section) should be used instead.
- E=#
-
Gap extension penalty.
Use option-Einstead.
- F=#
-
Output score rescaling factor.
Use option-Finstead.
- G=#
-
Gap opening penalty.
Use option-Ginstead.
- O=#
-
Output score offset.
Use option-Oinstead.
Examples
- (1)
-
gtop-G 1.0 -E 1.0 -F 50 sh3.gpr |pfsearch-far - sh3.seq |sort-nr
-
First converts the GCG profile 'sh3.gpr' into PROSITE format, then searches the protein library 'sh3.seq' with the reformatted profile to generate a sorted list of optimal alignment scores. The pfsearch(1) option
-rcauses alignment scores to be expressed in raw score units. 'sh3.seq' contains 20 SH3 domain-containing protein sequences from SWISS-PROT release 32.
Exit code
On successful completion of its task, 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.
History
- Debian 13 (Trixie) to Debian 11 (Bullseye): the text shown here
- Debian 10 (Buster)
-E since Debian 11 (Bullseye);
-F since Debian 11 (Bullseye);
-G since Debian 11 (Bullseye);
-O since Debian 11 (Bullseye);
-h since Debian 11 (Bullseye);
-l since Debian 11 (Bullseye).