The BoaG Programming Guide - Domain-Specific Types
Custom domain-specific types for BoaG are described in this section. Note that
when a type is shown for an attribute, the type might contain a question mark
("?"). This indicates that field may or may not be defined. When accessing
these fields, be sure to first check if the given attr
exists for
a given object o
: if (def(o.attr))
Sequence | ||
Attribute | Type | Description |
---|---|---|
annotation | array of Annotation | Array of Annotations |
cluster | array of Cluster | Array of Clusters |
seqid | string | Primary Key ID of the protein Sequence |
Annotation | ||
Attribute | Type | Description |
---|---|---|
defline | string | Definition line from multiple databases that contains protein functions. |
keyID | string | Protein Key ID from different databases |
tax_id | string? | Taxonomic IDs from NCBI database |
tax_name | string? | Taxonomic name |
Cluster | ||
Attribute | Type | Description |
---|---|---|
cid | string | Cluster ID |
length | int? | Length of the cluster |
match | int? | Percentage match in sequence similarity |
rep_start | int? | Starting location of the representation sequence |
rep_stop | int? | Stopping point in the representation sequence |
representative | bool | Representative or member of the cluster? |
seq_start | int? | Sequence starting point with respect to the representative sequence in the cluster |
seq_stop | int? | Stopping point with respect to the representative sequence |
similarity | int | Similarity level,i.e. 95%,90%,...,65% |