PFSCAN(1)
π¦ PFSCAN(1) β the pftools girlies' guide π¦
okay so bestie, welcome to pfscan, a certified icon from the pftools package π it scans your sequence against a whole library of profiles and it does NOT miss. buckle up, we're going through every single flag because I refuse to let you fumble this.
β¨ NAME β¨
pfscan β scan a protein or DNA sequence with a profile library π§¬
πΈ SYNOPSIS πΈ
pfscan [ -abdfhlLmruksvxyz ] [ -C cut_off ] [ -M mode_nb ] [ -W width
] [ sequence | - ] [ profile_library | - ] [ parameters ]
π DESCRIPTION π
So what this does, fr fr: pfscan compares a protein or nucleic acid sequence against a profile library. The result? An unsorted list of profile-sequence matches, written straight to standard output. no sorting, no glow-up, just the matches, raw. π
A bunch of different output formats with different info can be picked via the options -l, -L, -r, -k, -s, -x, -y and -z (yes that's a lot of letters, we'll get to each one, breathe).
The file sequence holds a sequence in EMBL/SWISS-PROT format β that's what it assumes by default β or in Pearson/Fasta format, and you tell it that with option -f. The profile_library file holds a library of profiles in PROSITE format. And if you drop a - instead of one of the filenames, that data gets read from standard input instead. cute, flexible, we love her. π
π OPTIONS π
sequenceβ your input query sequence. This DNA or protein sequence is what gets searched against the library of PROSITE profiles. The content of the file has to be either EMBL/SWISS-PROT (the default) or Pearson/Fasta format (that's option-f, babes). If you swap the filename for a-,pfscanreads the input sequence fromstdin. πprofile_libraryβ the library of PROSITE profiles. This file should have one or several PROSITE profiles in it, and your query sequence gets matched against them. Each entry in the library needs to be separated from the next by a line containing only the//code. And yeah, if you swap the filename for a-,pfscanreads the profile library fromstdin. π«Ά-aβ report optimal alignment scores for all profiles, regardless of the cut-off value. heads up: this option simultaneously forcesDISJOINT=UNIQUE. β-bβ search the complementary strand of the DNA sequence too. both strands, because why not. π§¬-fβ input sequence is in Pearson/Fasta format. π-hβ display usage help text. the classic cry-for-help flag, we've all been there. π-lβ indicate the value of the highest cut-off level exceeded by the match score, in the output list. π’-Lβ indicate by character string the highest cut-off level exceeded by the match score, in the output list. (not the number, the vibe) β¨
Note: the generalized profile format includes a text string field to specify a name for a cut-off level. The-Loption causes the program to display the first two characters of this text string (usually something like'!','?','??', etc.) at the beginning of each match description. π
-mβ report individual matches for circular profiles. If the profile is circular, each match between a sequence and a profile can be composed of a stretch of individual matches of the profile. By default,pfscanreports only the total matched region. When this option is set, detailed information for each individual match gets output as well. π
Note: the scoring system for most circular profiles has been optimized to find total matches, therefore the normalized scores of individual matches of a circular profile to a sequence should be considered with caution. β οΈ
-rβ use raw scores rather than normalized scores for match selection. The normalized score is not printed. π βοΈ-uβ forcesDISJOINT=UNIQUE. periodt. π-C cut_offβ cut-off level to be used for match selection. The value ofcut_offshould be the numerical identifier of a cut-off level defined in the profile. The raw or normalized score of this level then gets used to include profile-to-sequence matches in the output list. If the specified level does not exist in the profile, the next higher level defined is used instead (whencut_offis negative) or the next lower level defined is used instead (whencut_offis positive). ποΈ- Type: integer
- Default:
0
-M mode_nbβ normalization mode to use for score computation.mode_nbspecifies which normalization mode defined in the profile should be used to compute the normalized scores for profile-to-sequence matches. This option will override the profile'sPRIORITYparameter. If the specified normalization mode does not exist in the profile, an error message gets output to standard error and the search is interrupted. π- Type: integer
- Default: lowest priority mode defined in the profile
π Output modifiers π
-dβ limit profile description length. If this option is set, the description of the profile on the header line gets limited in length. If the match information is longer than the output width specified using option-W, the profile description will not be printed. Else the description gets truncated to fit the-Wvalue. By default, the profile description is not truncated. This option can not be used when option-kis set. βοΈ-kβ usexpsa(5)headers for output. When this option is set, all output types (see below) will use anxpsa(5)style header line. This format useskeyword=valuepairs to output alignment parameters. It is useful to transfer information between different sequence alignment tools. π€-sβ list the sequences of the matched regions as well. The output will be a Pearson/Fasta-formatted sequence library. π-vβ suppress sequence/profile parsing warnings. If this option is set, no warning messages get printed onstderr. Only fatal errors will be reported. π¨
this option should be used with caution. fr, be careful with her.
-xβ list profile-sequence alignments inpsa(5)format. Please refer to the corresponding man page for more information. π-yβ display alignments between the profile and the matched sequence regions in a human-friendly pairwise alignment format. π₯° (yes, human-friendly, unlike some of her sisters)-zβ indicate starting and ending position of the matched profile range. The latter position will be given as a negative offset from the end of the profile. Thus the range[ 1, -1]means entire profile. π-W widthβ set alignment output width. The value ofwidthspecifies how many residues will be output on one line when any of the-s,-xor-yoptions is set. π- Type: integer
- Default:
60
π 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. like, use the option, bestie. π
L=#β cut-off level. Use option-Cinstead, not-L. β οΈW=#β output width. Use option-Winstead. β οΈ
π EXAMPLES π
1. β¨
pfscan -s GTPA_HUMAN prosite13.prf
Scans the human GAP protein for matches to profiles in PROSITE release 13. The file GTPA_HUMAN contains the SWISS-PROT entry P20936|GTPA_HUMAN. The profile library file prosite13.prf contains all profile entries of PROSITE release 13. The output is a Pearson/Fasta-formatted sequence library containing all sequence regions of the input sequence matching a profile in the profile library. π§¬
2. β¨
pfscan -by -C 2 CVPBR322 ecp.prf
Scans both strands of plasmid PBR322 for high-scoring (level 2) E. coli promoter matches. The sequence file CVPBR322 contains EMBL entry J01749|CVPBR322. The profile library file ecp.prf contains a profile for E. coli promoters. The output includes profile-sequence alignments in a human-friendly format. π¦
π₯ EXIT CODE π₯
On successful completion of its task, pfscan will return an exit code of 0. If an error occurs, a diagnostic message gets 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. π
π BUGS π
If the match selection is based on normalized scores (i.e. option -r is not set), rounding errors can lead to the exclusion of some matches even if the raw score is above or equal to the specified cut-off level score. she's doing her best but math is math, bestie. π
π«Ά SEE ALSO π«Ά
pfsearch(1), pfmake(1), psa(5), xpsa(5)
π AUTHOR π
The pftools package was developed by Philipp Bucher. Any comments or suggestions should be addressed to <pftools@sib.swiss>. π¬
and that's the whole page, you ate it up. this was pftools 2.3, dated July 2003, and yes she's still that girl π
β¨ go scan something cute, ily, byeee ππ¦
π¦ 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