OpenBEL / bel.rb

Process BEL (Biological Expression Language) with ruby.
Apache License 2.0
8 stars 6 forks source link

Option to preserve keywords with the bel_upgrade executable #43

Open abargnesi opened 9 years ago

abargnesi commented 9 years ago

The bel_upgrade will replace namespace keywords, but not annotation keywords. This is inconsistent and doesn't provide user control.

By default bel_upgrade should replace keywords as defined by the --changelog option. The user can provide a --preserve-annotation-keywords and --preserve-namespace-keywords to maintain keywords in the BEL document.

ncatlett commented 9 years ago

Note that the current handling of the namespace and annotation keywords differs in part due to how they are used. The annotation keywords are (in part) noting the type of annotation (Species, Disease, Cell, Cell Line, etc.) that for namespace values is captured with the BEL function (protein, pathology, biological process, etc.). Ultimately, we want to associate both annotation types (e.g., Disease) and prefixes/vocabulary references (e.g. DO/Disease Ontology) with an Annotation.