NAME
xpsa - extended psa headerDESCRIPTION
xpsa is an extension of the psa(5) file format used by the pftools package to describe and store biological sequences. xpsa uses keyword=value pairs in the header to include information about the sequence or the alignment between the sequence and a PROSITE profile (or any other kind of motif). The syntax is therefore easily extensible. In this man-page, we focus on the keywords defined and used by the pftools package. In the following text we will use the more general term 'motif' when in fact our discussion refers specifically to PROSITE profiles. Nevertheless the keywords defined here can be used by any kind of sequence analysis tool to store and transfer information. None of the defined keywords are mandatory and analysis tools have often a length limit imposed on the header line. In order to keep the header line reasonably short and user readable, these tools can easily remove individual keyword=value pairs which are not important to the specific task at hand.SYNTAX
The general syntax of the xpsa header is given below. For examples please refer to the corresponding examples section. The biological sequence itself starts on the next line following the header and may extend over several lines. If several sequences are contained in the same file, each must be preceded by a header line. Syntax of the header line:
>seq_id/seq_pos
{ [ keyword=value | free_text ] }
- seq_id
- typically the accession number and identifier of the sequence. This text field should not contain any spaces.
- Note:
- If the input sequences have a well defined accession number
and identifier (as is the case with SWISS-PROT entries)
pfsearch(1) and pfscan(1) will use as seq_id the
accession number separated by a '|' from the identifier.
- seq_pos
- this field describes the sequence coordinates where a motif
matches. The positions are generally given as
start_pos-end_pos pairs.
- keyword=value
- is an optional list of defined keyword=value
pairs. Each pair should be separated from the next or from free text by
whitespaces.
- Note:
- the pftools do not currently produce quote enclosed values.
- free_text
- typically this is a description of the sequence. It should not contain any of the defined keyword=value pairs.
Keywords
Keywords used by the pfsearch(1) and pfscan(1) programs:- level
- the highest cut-off level (as a value) exceeded by the
alignment.
- level_tag
- the highest cut-off level (as a character string) exceeded
by the alignment.
- Note:
- pfsearch(1) and pfscan(1) only report the first 2 characters of the level text string.
- match_nb
- if the motif matches several times on the same sequence,
each alignment is numbered incrementally.
- match_parent
- for each single match of a circular motif, this key references the number of the parental total match of the circular motif.
- Note:
- if a circular motif matches only once on a given sequence, pfsearch(1) and pfscan(1) do not report this key.
- match_type
- identifies the type of match. Either region for a complete match of a motif to a sequence, or repeat for a single repeat of a circular motif.
- motif
- the name and/or identifier of the motif.
- motif_start
- the motif position where the alignment begins.
- motif_end
- negative offset from the end of the alignment to the end of the motif.
- norm_score
- the normalized score of the alignment.
- raw_score
- the raw score of the alignment.
- repeat_nb
- if the motif is circular, each individual repeat is numbered incrementally with this keyword.
- seq_end
- negative offset from the end of the alignment to the end of
the sequence.
- strand
- the sequence strand on which the motif matches, when the search includes the reverse complement of a DNA sequence. The value is either s for the sens or r for the reverse strand.
- weight
- the weight of a given sequence in a multiple alignment.
EXAMPLES
- (1)
- >O00628|PEX7/73-315 motif=PS50294|WD_REP
raw_score=1336 match_nb=1 match_type=region
seq_end=-491
- (2)
- >O00628|PEX7/540-582 motif=PS50294|WD_REP
norm_score=7.437 raw_score=180 match_parent=2
repeat_nb=1 match_type=repeat level=-1
seq_end=-224 motif_start=1 motif_end=-1
SEE ALSO
psa(5), pfsearch(1), pfscan(1), pfw(1), pfmake(1), psa2msa(1)AUTHOR
This manual page was originally written by Volker Flegel.July 2003 | pftools 2.3 |