The following tags are defined in the parsed Blast Stone object:
Informationabouttheprogram
These top-level tags provide information about the version of the BLAST program itself.
Blast_program
The name of the algorithm used to run the analysis. Possible values include:
blastn
blastp
blastx
tblastn
tblastx
fasta3
fastx3
fasty3
tfasta3
tfastx3
tfasty3
Blast_version
This gives the version of the program in whatever form appears on the banner page, e.g.
"2.0a19-WashU".
Blast_program_date
This gives the date at which the program was compiled, if and only if it appears on the banner page.
Informationabouttherun
These top-level tags give information about the particular run, such as the parameters that were used for
the algorithm.
Blast_run_date
This gives the date and time at which the similarity analysis was run, in the format "Fri Jul 6
09:32:36 1998"
Blast_parms
This points to a subrecord containing information about the algorithm's runtime parameters. The
following subtags are used. Others may be added in the future:
Hspmax the value of the -hspmax argument
Expectation the value of E
Matrix the matrix in use, e.g. BLOSUM62
Ctxfactor the value of the -ctxfactor argument
Gapall The value of the -gapall argument
Informationaboutthequerysequenceandsubjectdatabase
Thse top-level tags give information about the query sequence and the database that was searched on.
Blast_query
The identifier for the search sequence, as defined by the FASTA format. This will be the first set
of non-whitespace characters following the ">" character. In other words, the search sequence
"name".
Blast_query_length
The length of the query sequence, in base pairs.
Blast_db
The Unix filesystem path to the subject database.
Blast_db_title
The title of the subject database.
Thesearchresults:theBlast_hitstag.
Each BLAST hit is represented by the tag Blast_hits. There may be zero, one, or many such tags. They
will be presented in reverse sorted order of significance, i.e. most significant hit first.
Each Blast_hits tag is a Stone subrecord containing the following subtags:
Name
The name/identifier of the sequence that was hit.
Length
The total length of the sequence that was hit
Signif
The significance of the hit. If there are multiple HSPs in the hit, this will be the most
significant (smallest) value.
Identity
The percent identity of the hit. If there are multiple HSPs, this will be the one with the highest
percent identity.
Expect
The expectation value for the hit. If there are multiple HSPs, this will be the lowest expectation
value in the set.
Hsps
One or more sub-sub-tags, pointing to a nested record containing information about each high-scoring
segment pair (HSP). See the next section for details.
TheHsprecords:theHspstag
Each Blast_hit tag will have at least one, and possibly several Hsps tags, each one corresponding to a
high-scoring segment pair (HSP). These records contain detailed information about the hit, including the
alignments. Tags are as follows:
Signif
The significance (P value) of this HSP.
Bits
The number of bits of significance.
Expect
Expectation value for this HSP.
Identity
Percent identity.
Positives
Percent positive matches.
Score
The Smith-Waterman alignment score.
Orientation
The word "plus" or "minus". This tag is only present for nucleotide searches, when the reverse
complement match may be present.
Strand
Depending on algorithm used, indicates complementarity of match and possibly the reading frame. This
is copied out of the blast report. Possibilities include:
"Plus / Minus" "Plus / Plus" -- blastn algorithm
"+1 / -2" "+2 / -2" -- blastx, tblastx
Query_start
Position at which the HSP starts in the query sequence (1-based indexing).
Query_end
Position at which the HSP stops in the query sequence.
Subject_start
Position at which the HSP starts in the subject (target) sequence.
Subject_end
Position at which the HSP stops in the subject (target) sequence.
Query, Subject, Alignment
These three tags contain strings which, together, create the gapped alignment of the query sequence
with the subject sequence.
For example, to print the alignment of the first HSP of the first match, you might say:
$hsp = $blast->Blast_hits->Hsps;
print join("\n",$hsp->Query,$hsp->Alignment,$hsp->Subject),"\n";
See the bottom of this manual page for an example BLAST run.