PFSCALE(1)
β¨ PFSCALE(1) β¨
okay bestie, gather round, because we're talking about pfscale from the pftools manual, and she is that girl π
. Short version: she fits the parameters of an extreme-value distribution to a profile score list. Longer version below, and yes, every single flag is coming with us π«Ά
πΈ NAME πΈ
pfscale β fit parameters of an extreme-value distribution to a profile score list π
π SYNOPSIS π
pfscale [ -hl ] [ -L log_base ] [ -M mode_nb ] [ -N db_size ] [ -P
upper_limit ] [ -Q lower_limit ] [ score_list | - ] [ profile
] [ parameters ]
π DESCRIPTION π
So here's the vibe: pfscale fits the two parameters of an extreme-value distribution to a sorted score distribution that you got by searching a sequence database with a profile. The file score_list is a sorted list of profile match scores generated by pfsearch. And if you pass - instead of a filename, bestie, the score list gets read from standard input. The result? Written to standard output. Periodt. β¨
If you hand over the original profile as the second argument, then the normalization function with the lowest mode number or the lowest priority number specified within the profile gets updated, such as to produce -Log10 per-residue E-values. But if that second argument is omitted, the output is a header line containing the normalization parameters followed by a modified score list, showing score rank, original raw scores, log-cumulative frequencies and corresponding normalized scores next to each other. Iconic layout, no notes. π
π Heads up: this program implements the significance estimation procedure for profile match scores described in Hofmann & Bucher (1995). It has been used for the calculation of the normalization parameters of all profiles in the PROSITE database. Like, all of them. Main character energy fr fr.
β¨ OPTIONS β¨
score_listβ Input score list. The file has to contain a sorted list of scores. The first field of each line is treated as being a score, and all the other fields on that same line are just ignored, we don't see them, they're not in our lane π. The different fields of each line should be delimited by whitespaces. And if the filename gets replaced by a-,pfscalewill read the score list fromstdin.profileβ Optional profile file. If you specify a filename, the profile will be parsed and either the lowest priority mode or the mode number specified with option-Mwill be scaled. All cut-off levels which use the specified mode number will also be updated. she's thorough like that π-hβ Display usage help text. simple. clean. iconic.-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. Let her stretch out, she's been in a box all day π-L log_baseβ Logarithmic base of the parameters of the estimated extreme-value distribution. The parameters reported bypfscaleare expressed as logarithms and thus can be inserted directly into a linear normalization function defined in a generalized profile.- Default:
10
- Default:
-M mode_nbβ Mode number to scale. This defines which mode number (and implicitly which cut-off level) of the input PROSITE profile should be scaled. It overrides the default behaviour of scaling only the normalization mode with the lowest priority (or lowest mode number). All cut-off levels defined in the profile as using this mode number (via theMODEkeyword) will be updated as well. so if you want a specific mode to be the chosen one, this is your moment β-N db_sizeβ Size of the database from which the input score list was derived. The searched database is typically a shuffled version of a real protein or nucleotide sequence database.- Default:
14147368(size of SWISS-PROT release 30 and shuffled derivatives of it).
- Default:
-P upper_limitβ Upper threshold of the probability range to which the extreme-value distribution will be fitted. For instance: ifN=10'000'000andP=0.0001then profile match scores below rank1000in the sorted input list (corresponding to occurrence probabilities> 0.0001) will be ignored.- Default:
0.0001
- Default:
-Q lower_limitβ Lower threshold of the probability range to which the extreme-value distribution will be fitted. For instance: ifN=10'000'000andQ=0.000001then profile match scores above rank10in the sorted input list (corresponding to occurrence probabilities< 0.000001) will be ignored.- Default:
0.000001
- Default:
π¦ PARAMETERS π¦
β οΈ Note: for backwards compatibility, release 2.3 of the pftools package 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. bestie please stop using these, I'm begging π
L=#β Logarithmic base. Use option-Linstead.M=#β Mode number. Use option-Minstead.N=#β Database size. Use option-Ninstead.P=#β Upper probability threshold. Use option-Pinstead.Q=#β Lower probability threshold. Use option-Qinstead.
π EXAMPLES π
- Let's cook π:
pfsearch -fr -C 200 sh3.prf shuffle20.seq | sort -nr | pfscale -P
0.0001 -Q 0.000001 -
this derives score-normalization parameters for the SH3 domain profile in file sh3.prf. The file shuffle20.seq contains a window-shuffled derivative of SWISS-PROT release 30 in Pearson/Fasta format (window-size 20). Note that the implicit default of N corresponds to the size of this database and thus needs not to be specified on the command line. The cut-off value 200 for the pfsearch(1) option -C will produce about 2000 matches completely covering the range defined by the command line parameters -P and -Q of pfscale. A suitable cut-off value has to be guessed in advance by computing a few optimal alignment scores for random sequences. yes you have to guess, no I don't make the rules π
π EXIT CODE π
On successful completion of its task, pfscale 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 π. And when conflicting options were passed to the program but the task could nevertheless be completed, warnings will be issued on standard error. she'll do it, but she will be talking about it π
π§ NOTES π§
- The current version of
pfscaledoes not yet support thexpsa(5)output format produced bypfscan(1)orpfsearch(1). The score list should therefore be generated without thepfscan(1)andpfsearch(1)option-k. so basically: no-k. none. not today π«
π REFERENCES π
Hofmann K & Bucher P. (1995). The FHA-domain: a nuclear signalling domain found in protein kinases and transcription factors. Trends Biochem. Sci. 20:47-349.
β SEE ALSO β
pfsearch(1), pfscan(1), xpsa(5)
iykyk π
π AUTHOR π
The pftools package was developed by Philipp Bucher. Any comments or suggestions should be addressed to <pftools@sib.swiss>. slide into the inbox, she reads everything π«Ά
okay that's the whole page bestie, you ate that. this was the pftools 2.3 manual, dated August 2003, and if you ever need her again just run man pfscale. π
β¨πΈ
π¦ where this page comes from
- debian bookworm: pftools 3.2.12-1 Β· GPL-3.0-only
- debian trixie: pftools 3.2.12-1 Β· GPL-3.0-only
- ubuntu jammy: pftools 3.2.11-2 Β· GPL-3.0-only
- ubuntu noble: pftools 3.2.12-1 Β· GPL-3.0-only
- ubuntu resolute: pftools 3.2.12-1 Β· GPL-3.0-only
- ubuntu stonking: pftools 3.2.12-3ubuntu1 Β· GPL-3.0-only
- Copyright (c) 2003 SIB Swiss Institute of Bioinformatics <pftools@sib.swiss>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms