XPSA(5) | File formats | XPSA(5) |
xpsa - extended psa header
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.
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:
The header must start with a '>' followed by the fields detailed below:
Keywords used by the pfsearch(1) and pfscan(1) programs:
Keywords used by the pfmake(1) and pfw(1) programs:
The 2 headers above describe 2 matches of the motif called
'WD_REP' onto the sequence 'PEX7'. Each of the matches
onto this single sequence is numbered using the the match_nb
keyword. These matches are not individual repeats of a circular motif as
can be seen with the region value of the match_type
keyword.
The first match starts at position 73 of the sequence and ends at position
315. This position is 491 residues away from the end of the input
sequence (seq_end).
The next line following the xpsa(5) header line is the sequence of
the match (it has been truncated here to help readability).
The second match begins at position 540 of the sequence and terminates 5
residues before the end of the input sequence, that is at position
801.
This example illustrates the kind of header obtained when
aligning a circular motif to a sequence. Each match of this motif (which
we will call total match) can be composed of several individual
repeats of the motif. Tools like pfsearch(1) and pfscan(1)
can output each total match followed by all its individual repeats. In
this example we only show one of the indiviual repeats that is part of a
total match between a circular profile and a sequence.
The xpsa(5) header above describes a single repeat of a match
between a circular motif called 'WD_REP' and the sequence
'PEX7'.
This is the first individual repeat of a match of the circular motif, as
identified by the repeat_nb keyword. The other individual repeats
have not been listed in this example.
The total circular motif has at least 2 distinct matches on the
'PEX7' sequence, because this single repeat is part of the second
match as described by the match_parent keyword. The parental
matches have been omitted from this example, they would be numbered
using the match_nb keyword.
The normalized score of this motif exceeds the cut-off level number -1
(level keyword) which is specified in the motif.
This match starts at position 1 of the profile (motif_start) and
position 540 of the sequence, it ends at the end of the motif
(motif_end=-1) and position 582 of the sequence.
The next line following the xpsa(5) header line is the sequence of
the match (it has been truncated here to help readability).
psa(5), pfsearch(1), pfscan(1), pfw(1), pfmake(1), psa2msa(1)
This manual page was originally written by Volker Flegel.
The pftools package was developed by Philipp Bucher.
Any comments or suggestions should be addressed to
<pftools@sib.swiss>.
July 2003 | pftools 2.3 |