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
AttributeTypeDescription
annotationarray of AnnotationArray of Annotations
clusterarray of ClusterArray of Clusters
seqidstringPrimary Key ID of the protein Sequence
Annotation
AttributeTypeDescription
deflinestring Definition line from multiple databases that contains protein functions.
keyIDstringProtein Key ID from different databases
tax_idstring?Taxonomic IDs from NCBI database
tax_namestring?Taxonomic name
Cluster
AttributeTypeDescription
cidstringCluster ID
lengthint?Length of the cluster
matchint?Percentage match in sequence similarity
rep_startint?Starting location of the representation sequence
rep_stopint?Stopping point in the representation sequence
representativeboolRepresentative or member of the cluster?
seq_startint?Sequence starting point with respect to the representative sequence in the cluster
seq_stopint?Stopping point with respect to the representative sequence
similarityintSimilarity level,i.e. 95%,90%,...,65%