Class
BlastMatchFieldA "meta" datastructure that contains information about members of BlastMatches
A "meta" datastructure that contains information about members of BlastMatches
Defined in | seqan/blast.h |
---|---|
Signature |
template <typename TVoidSpec = void> struct BlastMatchField;
|
Template Parameters
TVoidSpec |
An extra spec to prevent global inclusion of statics members (you can safely ignore this) |
---|
Member Variable Overview
-
static_constexpr_const_std::array<char_const*,45> BlastMatchField::columnLabels[]
An array of CStrings representing the column label of each possible field; for the legacyFormat, use legacyColumnLabels instead. -
static_constexpr_std::array<Enum_const,12> BlastMatchField::defaults
An std::array of BlastMatchField::Enum indicating the fields that are default -
static_constexpr_const_std::array<char_const*,45> BlastMatchField::descriptions[]
An array of CStrings representing the human-readable descriptions of each field -
static_constexpr_const_std::array<bool,45> BlastMatchField::implemented[]
An array of bools revealing whether the Blast I/O module supports printing this field -
static_constexpr_char_const_*_const BlastMatchField::legacyColumnLabels
A single CString representing the column labels of the legacyFormat. -
static_constexpr_const_std::array<char_const*,45> BlastMatchField::optionLabels[]
An array of CStrings representing the command line parameter name of each field
Detailed Description
This data structure conveniently gives access to all possible fields used in BLAST-compatabile tabular output formats. BlastMatchField::Enum is needed to specify a custom field composition for a BlastIOContext.
The member variables offer the correct labels for the tabular formats' I/O and strings to interact with the user on the command line.
Please note that for the legacyFormat (legacyFormat) specifying or reading custom fields is not supported and the columnsLabels will always be printed as legacyColumnLabels.
Table overview
# | Enum | optionLabels | columnLabels | descriptions | implemented |
---|---|---|---|---|---|
0 | STD | std | query id, subject id, % identity, alignment length, mismatches, gap opens, q. start, q. end, s. start, s. end, evalue, bit score | Default 12 columns (Query Seq-id, Subject Seq-id, Percentage of identical matches, Alignment length, Number of mismatches, Number of gap openings, Start of alignment in query, End of alignment in query, Start of alignment in subject, End of alignment in subject, Expect value, Bit score) | ☑ |
1 | Q_SEQ_ID | qseqid | query id | Query Seq-id | ☑ |
2 | Q_GI | qgi | query gi | Query GI | ☐ |
3 | Q_ACC | qacc | query acc. | Query accesion | ☐ |
4 | Q_ACCVER | qaccver | query acc.ver | Query accesion.version | ☐ |
5 | Q_LEN | qlen | query length | Query sequence length | ☑ |
6 | S_SEQ_ID | sseqid | subject id | Subject Seq-id | ☑ |
7 | S_ALL_SEQ_ID | sallseqid | subject ids | All subject Seq-id(s), separated by a ';' | ☐ |
8 | S_GI | sgi | subject gi | Subject GI | ☐ |
9 | S_ALL_GI | sallgi | subject gis | All subject GIs | ☐ |
10 | S_ACC | sacc | subject acc. | Subject accession | ☐ |
11 | S_ACCVER | saccver | subject acc.ver | Subject accession.version | ☐ |
12 | S_ALLACC | sallacc | subject accs. | All subject accessions | ☐ |
13 | S_LEN | slen | subject length | Subject sequence length | ☑ |
14 | Q_START | qstart | q. start | Start of alignment in query | ☑ |
15 | Q_END | qend | q. end | End of alignment in query | ☑ |
16 | S_START | sstart | s. start | Start of alignment in subject | ☑ |
17 | S_END | send | s. end | End of alignment in subject | ☑ |
18 | Q_SEQ | qseq | query seq | Aligned part of query sequence | ☐ |
19 | S_SEQ | sseq | subject seq | Aligned part of subject sequence | ☐ |
20 | E_VALUE | evalue | evalue | Expect value | ☑ |
21 | BIT_SCORE | bitscore | bit score | Bit score | ☑ |
22 | SCORE | score | score | Raw score | ☑ |
23 | LENGTH | length | alignment length | Alignment length | ☑ |
24 | P_IDENT | pident | % identity | Percentage of identical matches | ☑ |
25 | N_IDENT | nident | identical | Number of identical matches | ☑ |
26 | MISMATCH | mismatch | mismatches | Number of mismatches | ☑ |
27 | POSITIVE | positive | positives | Number of positive-scoring matches | ☑ |
28 | GAP_OPEN | gapopen | gap opens | Number of gap openings | ☑ |
29 | GAPS | gaps | gaps | Total number of gaps | ☑ |
30 | P_POS | ppos | % positives | Percentage of positive-scoring matches | ☑ |
31 | FRAMES | frames | query/sbjct frames | Query and subject frames separated by a '/' | ☑ |
32 | Q_FRAME | qframe | query frame | Query frame | ☑ |
33 | S_FRAME | sframe | sbjct frame | Subject frame | ☑ |
34 | BTOP | btop | BTOP | Blast traceback operations (BTOP) | ☐ |
35 | S_TAX_IDS | staxids | subject tax ids | unique Subject Taxonomy ID(s), separated by a ';' (in numerical order) | ☐ |
36 | S_SCI_NAMES | sscinames | subject sci names | unique Subject Scientific Name(s), separated by a ';' | ☐ |
37 | S_COM_NAMES | scomnames | subject com names | unique Subject Common Name(s), separated by a ';' | ☐ |
38 | S_BLAST_NAMES | sblastnames | subject blast names | unique Subject Blast Name(s), separated by a ';' (in alphabetical order) | ☐ |
39 | S_S_KINGDOMS | sskingdoms | subject super kingdoms | unique Subject Super Kingdom(s), separated by a ';' (in alphabetical order) | ☐ |
40 | S_TITLE | stitle | subject title | Subject Title | ☐ |
41 | S_ALL_TITLES | salltitles | subject titles | All Subject Title(s), separated by a '<>' | ☐ |
42 | S_STRAND | sstrand | subject strand | Subject Strand | ☐ |
43 | Q_COV_S | qcovs | % subject coverage | Query Coverage Per Subject | ☐ |
45 | Q_COV_HSP | qcovhsp | % hsp coverage | Query Coverage Per HSP | ☐ |
More fields will likely be implemented in the future.
Member Variables Detail
static_constexpr_const_std::array<char_const*,45> BlastMatchField::columnLabels[]
An array of CStrings representing the column label of each possible field; for the
legacyFormat, use legacyColumnLabels instead.
static_constexpr_std::array<Enum_const,12> BlastMatchField::defaults
An std::array of BlastMatchField::Enum indicating the fields that are default
static constexpr std::array<Enum const, 12> defaults
{
{
Enum::Q_SEQ_ID,
Enum::S_SEQ_ID,
Enum::P_IDENT,
Enum::LENGTH,
Enum::MISMATCH,
Enum::GAP_OPEN,
Enum::Q_START,
Enum::Q_END,
Enum::S_START,
Enum::S_END,
Enum::E_VALUE,
Enum::BIT_SCORE
}
};
static_constexpr_const_std::array<char_const*,45> BlastMatchField::descriptions[]
An array of CStrings representing the human-readable descriptions of each field
static_constexpr_const_std::array<bool,45> BlastMatchField::implemented[]
An array of bools revealing whether the Blast I/O module supports printing this field
static_constexpr_char_const_*_const BlastMatchField::legacyColumnLabels
A single CString representing the column labels of the legacyFormat.
static_constexpr_const_std::array<char_const*,45> BlastMatchField::optionLabels[]
An array of CStrings representing the command line parameter name of each field