Definition Errors

Error Description
Redefined Namespace Raised when two namespaces have the same keyword.
Redefined Annotation Raised when two annotations have the same keyword.

Syntax and Semantic Errors

Error Description
Naked Name Raised when a namespace:name argument is used without a namespace. For example, a("Amyloid beta") should be qualified with the namespace CHEBI as in a(CHEBI:"Amyloid beta").
Undefined Namespace Raised when a namespace:name argument uses a namespace that was not defined.
Missing Namespace Name Raised when a namespace is defined, and the name in a namespace:name argument is not contained.
Missing Namespace Regex Raised when a namespace is defined by a regular expression, and a namespace:name argument does not match.
Undefined Annotation Raised when a SET {annotation} = "{value}" statement uses an annotation that was not defined.
Missing Annotation Key Raised when trying to UNSET and annotation that has not been SET.
Illegal Annotation Value Raised when an annotation is defined, and the value in a SET {annotation} = "{value}" statement is not contained.
Missing Annotation Regex Raised when an is defined by a regular expression, and a SET {annotation} = "{value}" value does not match.
Citation Too Short Raised when setting a citation, but does not have the minimum fields of SET Citation = {type, reference}.
Citation Too Long Raised when setting a citation, but it has too many fields (more than {type, name, reference, date, authors, comments}.)
Invalid Citation Type Raised when setting a citation uses an invalid type. Valid types are:
  • Book
  • PubMed
  • Journal
  • Online Resource
  • URL
  • DOI
  • Other
Invalid PubMed Identifier Raised when setting a citation with the PubMed type, but the reference is not a valid integer.
Missing Citation Raised when a BEL statement is encountered, but the citation has not been set. All BEL needs provenance!
Missing Support Raised when a BEL statement is encountered, but the evidence/support has not been set. All BEL needs provenance!
Invalid Function Semantic Raised when a namespace:name is used in a BEL term (protein, biological process, etc.) for which it is not valid. For example, a non-coding gene can not be used in a protein tag. Note: the semantics for each namespace:name are defined in the BEL namespace files.

About

BEL Commons is developed and maintained in an academic capacity by Charles Tapley Hoyt and Daniel Domingo-Fernández at the Fraunhofer SCAI Department of Bioinformatics with support from the IMI project, AETIONOMY. It is built on top of PyBEL, an open source project. Please feel free to contact us here to give us feedback or report any issues. Also, see our Publishing Notes and Data Protection information.

If you find BEL Commons useful in your work, please consider citing: Hoyt, C. T., Domingo-Fernández, D., & Hofmann-Apitius, M. (2018). BEL Commons: an environment for exploration and analysis of networks encoded in Biological Expression Language. Database, 2018(3), 1–11.